Changeset 138f0c in git
- Timestamp:
- Nov 15, 1999, 1:53:28 PM (24 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- d9909c94593c093ae99a6b1884d5343aba29fbb3
- Parents:
- 8f0190b06443e3b86ce8a435044847907447e7a9
- Location:
- Singular
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r8f0190 r138f0c 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* … … 1801 1714 1802 1715 1803 for ac_hdr in malloc.h sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h sys/stat.h fcntl.h sys/param.h pwd.h asm/sigcontext.h 1716 for ac_hdr in malloc.h sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h sys/stat.h fcntl.h sys/param.h pwd.h asm/sigcontext.h pwd.h 1804 1717 do 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" … … 2755 2663 fi 2756 2664 2757 for ac_func in gettimeofday atexit bcopy getcwd getwd vsnprintf sbrk readlink sleep usleep valloc getpagesize setenv 2665 for ac_func in gettimeofday atexit bcopy getcwd getwd vsnprintf sbrk readlink sleep usleep valloc getpagesize setenv getpwnam 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 … … 3680 3587 if test "$with_readline" != no; then 3681 3588 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3682 echo "configure:3 683: checking for tgetent in -lncurses" >&53589 echo "configure:3590: checking for tgetent in -lncurses" >&5 3683 3590 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3684 3591 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3688 3595 LIBS="-lncurses $LIBS" 3689 3596 cat > conftest.$ac_ext <<EOF 3690 #line 3 691"configure"3597 #line 3598 "configure" 3691 3598 #include "confdefs.h" 3692 3599 /* Override any gcc2 internal prototype to avoid an error. */ … … 3699 3606 ; return 0; } 3700 3607 EOF 3701 if { (eval echo configure:3 702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3608 if { (eval echo configure:3609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3702 3609 rm -rf conftest* 3703 3610 eval "ac_cv_lib_$ac_lib_var=yes" … … 3726 3633 \ 3727 3634 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3728 echo "configure:3 729: checking for tgetent in -lcurses" >&53635 echo "configure:3636: checking for tgetent in -lcurses" >&5 3729 3636 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3730 3637 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3734 3641 LIBS="-lcurses $LIBS" 3735 3642 cat > conftest.$ac_ext <<EOF 3736 #line 3 737"configure"3643 #line 3644 "configure" 3737 3644 #include "confdefs.h" 3738 3645 /* Override any gcc2 internal prototype to avoid an error. */ … … 3745 3652 ; return 0; } 3746 3653 EOF 3747 if { (eval echo configure:3 748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3654 if { (eval echo configure:3655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3748 3655 rm -rf conftest* 3749 3656 eval "ac_cv_lib_$ac_lib_var=yes" … … 3772 3679 \ 3773 3680 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3774 echo "configure:3 775: checking for tgetent in -ltermcap" >&53681 echo "configure:3682: checking for tgetent in -ltermcap" >&5 3775 3682 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3776 3683 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3780 3687 LIBS="-ltermcap $LIBS" 3781 3688 cat > conftest.$ac_ext <<EOF 3782 #line 3 783"configure"3689 #line 3690 "configure" 3783 3690 #include "confdefs.h" 3784 3691 /* Override any gcc2 internal prototype to avoid an error. */ … … 3791 3698 ; return 0; } 3792 3699 EOF 3793 if { (eval echo configure:37 94: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3700 if { (eval echo configure:3701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3794 3701 rm -rf conftest* 3795 3702 eval "ac_cv_lib_$ac_lib_var=yes" … … 3823 3730 3824 3731 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3825 echo "configure:3 826: checking for rl_abort in -lreadline" >&53732 echo "configure:3733: checking for rl_abort in -lreadline" >&5 3826 3733 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3827 3734 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3831 3738 LIBS="-lreadline $LIBS" 3832 3739 cat > conftest.$ac_ext <<EOF 3833 #line 3 834"configure"3740 #line 3741 "configure" 3834 3741 #include "confdefs.h" 3835 3742 /* Override any gcc2 internal prototype to avoid an error. */ … … 3842 3749 ; return 0; } 3843 3750 EOF 3844 if { (eval echo configure:3 845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3751 if { (eval echo configure:3752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3845 3752 rm -rf conftest* 3846 3753 eval "ac_cv_lib_$ac_lib_var=yes" … … 3873 3780 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3874 3781 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3875 echo "configure:3 876: checking for $ac_hdr" >&53782 echo "configure:3783: checking for $ac_hdr" >&5 3876 3783 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3877 3784 echo $ac_n "(cached) $ac_c" 1>&6 3878 3785 else 3879 3786 cat > conftest.$ac_ext <<EOF 3880 #line 3 881"configure"3787 #line 3788 "configure" 3881 3788 #include "confdefs.h" 3882 3789 #include <$ac_hdr> 3883 3790 EOF 3884 3791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3885 { (eval echo configure:3 886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3886 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`3792 { (eval echo configure:3793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3793 ac_err=`grep -v '^ *+' conftest.out` 3887 3794 if test -z "$ac_err"; then 3888 3795 rm -rf conftest* … … 3912 3819 test "$ac_cv_header_readline_readline_h" = yes; then 3913 3820 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 3914 echo "configure:3 915: checking whether readline.h is ok" >&53821 echo "configure:3822: checking whether readline.h is ok" >&5 3915 3822 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 3916 3823 echo $ac_n "(cached) $ac_c" 1>&6 3917 3824 else 3918 3825 cat > conftest.$ac_ext <<EOF 3919 #line 3 920"configure"3826 #line 3827 "configure" 3920 3827 #include "confdefs.h" 3921 3828 #include<unistd.h> … … 3942 3849 ; return 0; } 3943 3850 EOF 3944 if { (eval echo configure:3 945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3851 if { (eval echo configure:3852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3945 3852 rm -rf conftest* 3946 3853 ac_cv_header_readline_readline_h_ok="yes" … … 3958 3865 #not ok -- try once more with explicitly declaring everything 3959 3866 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 3960 echo "configure:3 961: checking whether or not we nevertheless can use readline" >&53867 echo "configure:3868: checking whether or not we nevertheless can use readline" >&5 3961 3868 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 3962 3869 echo $ac_n "(cached) $ac_c" 1>&6 3963 3870 else 3964 3871 cat > conftest.$ac_ext <<EOF 3965 #line 3 966"configure"3872 #line 3873 "configure" 3966 3873 #include "confdefs.h" 3967 3874 #include <stdio.h> … … 3993 3900 ; return 0; } 3994 3901 EOF 3995 if { (eval echo configure:39 96: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3902 if { (eval echo configure:3903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3996 3903 rm -rf conftest* 3997 3904 ac_cv_have_readline="yes" … … 4039 3946 # gmp, smallgmp, MP, MPT, factory, libfac 4040 3947 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 4041 echo "configure: 4042: checking for mpq_init in -lgmp" >&53948 echo "configure:3949: checking for mpq_init in -lgmp" >&5 4042 3949 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 4043 3950 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4047 3954 LIBS="-lgmp $LIBS" 4048 3955 cat > conftest.$ac_ext <<EOF 4049 #line 4050"configure"3956 #line 3957 "configure" 4050 3957 #include "confdefs.h" 4051 3958 /* Override any gcc2 internal prototype to avoid an error. */ … … 4058 3965 ; return 0; } 4059 3966 EOF 4060 if { (eval echo configure: 4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3967 if { (eval echo configure:3968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4061 3968 rm -rf conftest* 4062 3969 eval "ac_cv_lib_$ac_lib_var=yes" … … 4089 3996 fi 4090 3997 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 4091 echo "configure: 4092: checking for mpz_init in -lsmallgmp" >&53998 echo "configure:3999: checking for mpz_init in -lsmallgmp" >&5 4092 3999 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 4093 4000 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4097 4004 LIBS="-lsmallgmp $LIBS" 4098 4005 cat > conftest.$ac_ext <<EOF 4099 #line 4 100"configure"4006 #line 4007 "configure" 4100 4007 #include "confdefs.h" 4101 4008 /* Override any gcc2 internal prototype to avoid an error. */ … … 4108 4015 ; return 0; } 4109 4016 EOF 4110 if { (eval echo configure:4 111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4017 if { (eval echo configure:4018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4111 4018 rm -rf conftest* 4112 4019 eval "ac_cv_lib_$ac_lib_var=yes" … … 4136 4043 4137 4044 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4138 echo "configure:4 139: checking for IMP_PutGmpInt in -lMP" >&54045 echo "configure:4046: checking for IMP_PutGmpInt in -lMP" >&5 4139 4046 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4140 4047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4144 4051 LIBS="-lMP $LIBS" 4145 4052 cat > conftest.$ac_ext <<EOF 4146 #line 4 147"configure"4053 #line 4054 "configure" 4147 4054 #include "confdefs.h" 4148 4055 /* Override any gcc2 internal prototype to avoid an error. */ … … 4155 4062 ; return 0; } 4156 4063 EOF 4157 if { (eval echo configure:4 158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4064 if { (eval echo configure:4065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4158 4065 rm -rf conftest* 4159 4066 eval "ac_cv_lib_$ac_lib_var=yes" … … 4183 4090 4184 4091 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4185 echo "configure:4 186: checking for MPT_GetTree in -lMPT" >&54092 echo "configure:4093: checking for MPT_GetTree in -lMPT" >&5 4186 4093 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4187 4094 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4191 4098 LIBS="-lMPT $LIBS" 4192 4099 cat > conftest.$ac_ext <<EOF 4193 #line 41 94"configure"4100 #line 4101 "configure" 4194 4101 #include "confdefs.h" 4195 4102 /* Override any gcc2 internal prototype to avoid an error. */ … … 4202 4109 ; return 0; } 4203 4110 EOF 4204 if { (eval echo configure:4 205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4111 if { (eval echo configure:4112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4205 4112 rm -rf conftest* 4206 4113 eval "ac_cv_lib_$ac_lib_var=yes" … … 4230 4137 4231 4138 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4232 echo "configure:4 233: checking for atof in -lsingcf" >&54139 echo "configure:4140: checking for atof in -lsingcf" >&5 4233 4140 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4234 4141 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4238 4145 LIBS="-lsingcf $LIBS" 4239 4146 cat > conftest.$ac_ext <<EOF 4240 #line 4 241"configure"4147 #line 4148 "configure" 4241 4148 #include "confdefs.h" 4242 4149 /* Override any gcc2 internal prototype to avoid an error. */ … … 4249 4156 ; return 0; } 4250 4157 EOF 4251 if { (eval echo configure:4 252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4158 if { (eval echo configure:4159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4252 4159 rm -rf conftest* 4253 4160 eval "ac_cv_lib_$ac_lib_var=yes" … … 4277 4184 4278 4185 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4279 echo "configure:4 280: checking for atof in -lsingfac" >&54186 echo "configure:4187: checking for atof in -lsingfac" >&5 4280 4187 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4281 4188 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4285 4192 LIBS="-lsingfac $LIBS" 4286 4193 cat > conftest.$ac_ext <<EOF 4287 #line 4 288"configure"4194 #line 4195 "configure" 4288 4195 #include "confdefs.h" 4289 4196 /* Override any gcc2 internal prototype to avoid an error. */ … … 4296 4203 ; return 0; } 4297 4204 EOF 4298 if { (eval echo configure:42 99: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4205 if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4299 4206 rm -rf conftest* 4300 4207 eval "ac_cv_lib_$ac_lib_var=yes" … … 4328 4235 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4329 4236 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4330 echo "configure:4 331: checking for $ac_hdr" >&54237 echo "configure:4238: checking for $ac_hdr" >&5 4331 4238 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4332 4239 echo $ac_n "(cached) $ac_c" 1>&6 4333 4240 else 4334 4241 cat > conftest.$ac_ext <<EOF 4335 #line 4 336"configure"4242 #line 4243 "configure" 4336 4243 #include "confdefs.h" 4337 4244 #include <$ac_hdr> 4338 4245 EOF 4339 4246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4340 { (eval echo configure:4 341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`4247 { (eval echo configure:4248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4248 ac_err=`grep -v '^ *+' conftest.out` 4342 4249 if test -z "$ac_err"; then 4343 4250 rm -rf conftest* … … 4395 4302 # evaluate results 4396 4303 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4397 echo "configure:43 98: checking which apint package to use" >&54304 echo "configure:4305: checking which apint package to use" >&5 4398 4305 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 4399 4306 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 4439 4346 if test "$with_dl" != no; then 4440 4347 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 4441 echo "configure:4 442: checking for dlopen in -ldl" >&54348 echo "configure:4349: checking for dlopen in -ldl" >&5 4442 4349 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 4443 4350 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4447 4354 LIBS="-ldl $LIBS" 4448 4355 cat > conftest.$ac_ext <<EOF 4449 #line 4 450"configure"4356 #line 4357 "configure" 4450 4357 #include "confdefs.h" 4451 4358 /* Override any gcc2 internal prototype to avoid an error. */ … … 4458 4365 ; return 0; } 4459 4366 EOF 4460 if { (eval echo configure:4 461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4367 if { (eval echo configure:4368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4461 4368 rm -rf conftest* 4462 4369 eval "ac_cv_lib_$ac_lib_var=yes" … … 4496 4403 fi 4497 4404 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4498 echo "configure:44 99: checking for shl_load in -ldld" >&54405 echo "configure:4406: checking for shl_load in -ldld" >&5 4499 4406 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4500 4407 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4504 4411 LIBS="-ldld $LIBS" 4505 4412 cat > conftest.$ac_ext <<EOF 4506 #line 4 507"configure"4413 #line 4414 "configure" 4507 4414 #include "confdefs.h" 4508 4415 /* Override any gcc2 internal prototype to avoid an error. */ … … 4515 4422 ; return 0; } 4516 4423 EOF 4517 if { (eval echo configure:4 518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4424 if { (eval echo configure:4425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4518 4425 rm -rf conftest* 4519 4426 eval "ac_cv_lib_$ac_lib_var=yes" … … 4555 4462 4556 4463 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4557 echo "configure:4 558: checking whether to have MP" >&54464 echo "configure:4465: checking whether to have MP" >&5 4558 4465 if test "${with_MP}" != yes && test "${with_MP}" != no; then 4559 4466 if (test "${will_have_gmp}" = yes) && \ … … 4586 4493 4587 4494 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4588 echo "configure:4 589: checking whether to have factory" >&54495 echo "configure:4496: checking whether to have factory" >&5 4589 4496 if test "${with_factory}" != yes && test "${with_factory}" != no; then 4590 4497 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 4617 4524 4618 4525 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 4619 echo "configure:4 620: checking whether to have libfac" >&54526 echo "configure:4527: checking whether to have libfac" >&5 4620 4527 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 4621 4528 if (test "${will_have_factory}" = yes) && \ … … 4649 4556 4650 4557 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 4651 echo "configure:4 652: checking whether to have dbm links" >&54558 echo "configure:4559: checking whether to have dbm links" >&5 4652 4559 if test "$with_dbm" != no; then 4653 4560 cat >> confdefs.h <<\EOF … … 4661 4568 4662 4569 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 4663 echo "configure:4 664: checking whether to have namespaces" >&54570 echo "configure:4571: checking whether to have namespaces" >&5 4664 4571 if test "$with_namespaces" != yes; then 4665 4572 echo "$ac_t""no" 1>&6 … … 4673 4580 4674 4581 echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6 4675 echo "configure:4 676: checking whether to have dynamic loading" >&54582 echo "configure:4583: checking whether to have dynamic loading" >&5 4676 4583 if test "$with_dl" != yes; then 4677 4584 echo "$ac_t""no" 1>&6 … … 4686 4593 HPUX-9) 4687 4594 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4688 echo "configure:4 689: checking for shl_load in -ldld" >&54595 echo "configure:4596: checking for shl_load in -ldld" >&5 4689 4596 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4690 4597 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4694 4601 LIBS="-ldld $LIBS" 4695 4602 cat > conftest.$ac_ext <<EOF 4696 #line 46 97"configure"4603 #line 4604 "configure" 4697 4604 #include "confdefs.h" 4698 4605 /* Override any gcc2 internal prototype to avoid an error. */ … … 4705 4612 ; return 0; } 4706 4613 EOF 4707 if { (eval echo configure:4 708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4614 if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4708 4615 rm -rf conftest* 4709 4616 eval "ac_cv_lib_$ac_lib_var=yes" … … 4737 4644 HPUX-10) 4738 4645 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4739 echo "configure:4 740: checking for shl_load in -ldld" >&54646 echo "configure:4647: checking for shl_load in -ldld" >&5 4740 4647 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4741 4648 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4745 4652 LIBS="-ldld $LIBS" 4746 4653 cat > conftest.$ac_ext <<EOF 4747 #line 4 748"configure"4654 #line 4655 "configure" 4748 4655 #include "confdefs.h" 4749 4656 /* Override any gcc2 internal prototype to avoid an error. */ … … 4756 4663 ; return 0; } 4757 4664 EOF 4758 if { (eval echo configure:4 759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4665 if { (eval echo configure:4666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4759 4666 rm -rf conftest* 4760 4667 eval "ac_cv_lib_$ac_lib_var=yes" … … 4795 4702 4796 4703 echo $ac_n "checking whether to use mtrack""... $ac_c" 1>&6 4797 echo "configure:47 98: checking whether to use mtrack" >&54704 echo "configure:4705: checking whether to use mtrack" >&5 4798 4705 if test "$with_mtrack" = yes && test "$ac_cv_singuname" = ix86-Linux; then 4799 4706 echo "$ac_t""yes" 1>&6 … … 4809 4716 4810 4717 echo $ac_n "checking which exponent type to use""... $ac_c" 1>&6 4811 echo "configure:4 812: checking which exponent type to use" >&54718 echo "configure:4719: checking which exponent type to use" >&5 4812 4719 if test "$with_exp_type" = "char"; then 4813 4720 echo "$ac_t""char" 1>&6 … … 4865 4772 # and sets the high bit in the cache file unless we assign to the vars. 4866 4773 (set) 2>&1 | 4867 case `(ac_space=' '; set | grep ac_space) 2>&1` in4774 case `(ac_space=' '; set) 2>&1` in 4868 4775 *ac_space=\ *) 4869 4776 # `set' does not quote correctly, so add quotes (double-quote substitution … … 4932 4839 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 4933 4840 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 4934 echo "$CONFIG_STATUS generated by autoconf version 2.1 3"4841 echo "$CONFIG_STATUS generated by autoconf version 2.12" 4935 4842 exit 0 ;; 4936 4843 -help | --help | --hel | --he | --h) … … 4951 4858 $ac_vpsub 4952 4859 $extrasub 4953 s%@SHELL@%$SHELL%g4954 4860 s%@CFLAGS@%$CFLAGS%g 4955 4861 s%@CPPFLAGS@%$CPPFLAGS%g 4956 4862 s%@CXXFLAGS@%$CXXFLAGS%g 4957 s%@FFLAGS@%$FFLAGS%g4958 4863 s%@DEFS@%$DEFS%g 4959 4864 s%@LDFLAGS@%$LDFLAGS%g -
Singular/configure.in
r8f0190 r138f0c 243 243 AC_MSG_ERROR(Can not compile without limits.h unistd.h)) 244 244 245 AC_CHECK_HEADERS(malloc.h sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h sys/stat.h fcntl.h sys/param.h pwd.h asm/sigcontext.h )245 AC_CHECK_HEADERS(malloc.h sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h sys/stat.h fcntl.h sys/param.h pwd.h asm/sigcontext.h pwd.h) 246 246 247 247 # typedefs, structures … … 258 258 AC_TYPE_SIGNAL 259 259 AC_FUNC_VPRINTF 260 AC_CHECK_FUNCS(gettimeofday atexit bcopy getcwd getwd vsnprintf sbrk readlink sleep usleep valloc getpagesize setenv )260 AC_CHECK_FUNCS(gettimeofday atexit bcopy getcwd getwd vsnprintf sbrk readlink sleep usleep valloc getpagesize setenv getpwnam) 261 261 262 262 dnl llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll -
Singular/febase.cc
r8f0190 r138f0c 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: febase.cc,v 1.8 3 1999-09-21 14:44:58 obachman Exp $ */4 /* $Id: febase.cc,v 1.84 1999-11-15 12:53:28 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: i/o system … … 18 18 #ifdef NeXT 19 19 #include <sys/file.h> 20 #endif 21 22 #ifdef HAVE_PWD_H 23 #include "pwd.h" 20 24 #endif 21 25 … … 102 106 if (path[0]=='~') 103 107 { 104 char* home = getenv("HOME"); 105 if (home != NULL) 106 { 107 strcpy(longpath, home); 108 strcat(longpath, &(path[1])); 109 path = longpath; 110 } 108 if (path[1] == DIR_SEP) 109 { 110 char* home = getenv("HOME"); 111 if (home != NULL) 112 { 113 strcpy(longpath, home); 114 strcat(longpath, &(path[1])); 115 path = longpath; 116 } 117 } 118 #if defined(HAVE_PWD_H) && defined(HAVE_GETPWNAM) 119 else 120 { 121 char* dir_sep; 122 struct passwd *pw_entry; 123 strcpy (longpath, path); 124 dir_sep = strchr(longpath, DIR_SEP); 125 *dir_sep = '\0'; 126 pw_entry = getpwnam(&longpath[1]); 127 if (pw_entry != NULL) 128 { 129 strcpy(longpath, pw_entry->pw_dir); 130 dir_sep = strchr(path, DIR_SEP); 131 strcat(longpath, dir_sep); 132 path = longpath; 133 } 134 } 135 #endif 111 136 } 112 137 FILE * f=NULL; -
Singular/mod2.h.in
r8f0190 r138f0c 5 5 * DO NOT EDIT! 6 6 * 7 * Version: $Id: mod2.h.in,v 1.7 3 1999-10-22 16:31:22obachman Exp $7 * Version: $Id: mod2.h.in,v 1.74 1999-11-15 12:53:27 obachman Exp $ 8 8 *******************************************************************/ 9 9 #ifndef MOD2_H … … 61 61 /* Define if you have unistd.h */ 62 62 #undef HAVE_UNISTD_H 63 /* define if you have malloc.h n*/63 /* define if you have malloc.h */ 64 64 #undef HAVE_MALLOC_H 65 /* define if you have pwd.h*/ 66 #undef HAVE_PWD_H 65 67 /* Define if you have alloca */ 66 68 #undef HAVE_ALLOCA … … 96 98 /* Define if you have setenv */ 97 99 #undef HAVE_SETENV 100 /* Define if you have petpwnam */ 101 #undef HAVE_GETPWNAM 98 102 /* Define sizeof(char) */ 99 103 #define SIZEOF_CHAR 1
Note: See TracChangeset
for help on using the changeset viewer.