Changeset 0e002d in git
- Timestamp:
- Nov 19, 1999, 5:42:43 PM (24 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 14886285e83e0dc2a6c001743a4256960d770b5d
- Parents:
- 571625f3655da7276034893dfe074bab4dfa7900
- Location:
- Singular
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r571625 r0e002d 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.1 24 # Generated automatically using autoconf version 2.13 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} 86 87 # Maximum number of lines to put in a shell here document. 87 88 ac_max_here_lines=12 … … 367 368 368 369 -version | --version | --versio | --versi | --vers) 369 echo "configure generated by autoconf version 2.1 2"370 echo "configure generated by autoconf version 2.13" 370 371 exit 0 ;; 371 372 … … 537 538 ac_cpp='$CPP $CPPFLAGS' 538 539 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 539 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'540 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 540 541 cross_compiling=$ac_cv_prog_cc_cross 541 542 543 ac_exeext= 544 ac_objext=o 542 545 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 543 546 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 557 560 558 561 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 559 echo "configure:56 0: checking uname for singular" >&5562 echo "configure:563: checking uname for singular" >&5 560 563 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 561 564 echo $ac_n "(cached) $ac_c" 1>&6 … … 645 648 set dummy gcc; ac_word=$2 646 649 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 647 echo "configure:6 48: checking for $ac_word" >&5650 echo "configure:651: checking for $ac_word" >&5 648 651 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 649 652 echo $ac_n "(cached) $ac_c" 1>&6 … … 652 655 ac_cv_prog_CC="$CC" # Let the user override the test. 653 656 else 654 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 655 for ac_dir in $PATH; do 657 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 658 ac_dummy="$PATH" 659 for ac_dir in $ac_dummy; do 656 660 test -z "$ac_dir" && ac_dir=. 657 661 if test -f $ac_dir/$ac_word; then … … 674 678 set dummy cc; ac_word=$2 675 679 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 676 echo "configure:6 77: checking for $ac_word" >&5680 echo "configure:681: checking for $ac_word" >&5 677 681 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 678 682 echo $ac_n "(cached) $ac_c" 1>&6 … … 681 685 ac_cv_prog_CC="$CC" # Let the user override the test. 682 686 else 683 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" ${IFS}:"687 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 684 688 ac_prog_rejected=no 685 for ac_dir in $PATH; do 689 ac_dummy="$PATH" 690 for ac_dir in $ac_dummy; do 686 691 test -z "$ac_dir" && ac_dir=. 687 692 if test -f $ac_dir/$ac_word; then … … 718 723 fi 719 724 725 if test -z "$CC"; then 726 case "`uname -s`" in 727 *win32* | *WIN32*) 728 # Extract the first word of "cl", so it can be a program name with args. 729 set dummy cl; ac_word=$2 730 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 731 echo "configure:732: checking for $ac_word" >&5 732 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 733 echo $ac_n "(cached) $ac_c" 1>&6 734 else 735 if test -n "$CC"; then 736 ac_cv_prog_CC="$CC" # Let the user override the test. 737 else 738 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 739 ac_dummy="$PATH" 740 for ac_dir in $ac_dummy; do 741 test -z "$ac_dir" && ac_dir=. 742 if test -f $ac_dir/$ac_word; then 743 ac_cv_prog_CC="cl" 744 break 745 fi 746 done 747 IFS="$ac_save_ifs" 748 fi 749 fi 750 CC="$ac_cv_prog_CC" 751 if test -n "$CC"; then 752 echo "$ac_t""$CC" 1>&6 753 else 754 echo "$ac_t""no" 1>&6 755 fi 756 ;; 757 esac 758 fi 720 759 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 721 760 fi 722 761 723 762 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 724 echo "configure:7 25: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5763 echo "configure:764: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 725 764 726 765 ac_ext=c … … 728 767 ac_cpp='$CPP $CPPFLAGS' 729 768 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 730 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'769 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 731 770 cross_compiling=$ac_cv_prog_cc_cross 732 771 733 cat > conftest.$ac_ext <<EOF 734 #line 735 "configure" 735 #include "confdefs.h" 772 cat > conftest.$ac_ext << EOF 773 774 #line 775 "configure" 775 #include "confdefs.h" 776 736 777 main(){return(0);} 737 778 EOF 738 if { (eval echo configure:7 39: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then779 if { (eval echo configure:780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 739 780 ac_cv_prog_cc_works=yes 740 781 # If we can't run a trivial program, we are probably using a cross compiler. … … 750 791 fi 751 792 rm -fr conftest* 793 ac_ext=c 794 # 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_cross 752 799 753 800 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 … … 756 803 fi 757 804 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 758 echo "configure: 759: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5805 echo "configure:806: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 759 806 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 760 807 cross_compiling=$ac_cv_prog_cc_cross 761 808 762 809 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 763 echo "configure: 764: checking whether we are using GNU C" >&5810 echo "configure:811: checking whether we are using GNU C" >&5 764 811 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 765 812 echo $ac_n "(cached) $ac_c" 1>&6 … … 770 817 #endif 771 818 EOF 772 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; then819 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; then 773 820 ac_cv_prog_gcc=yes 774 821 else … … 781 828 if test $ac_cv_prog_gcc = yes; then 782 829 GCC=yes 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 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 788 839 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 789 840 echo $ac_n "(cached) $ac_c" 1>&6 … … 800 851 801 852 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 802 if test "$ac_test_CFLAGS" = set; then 803 CFLAGS="$ac_save_CFLAGS" 804 elif test $ac_cv_prog_cc_g = yes; then 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 805 857 CFLAGS="-g -O2" 806 858 else 859 CFLAGS="-g" 860 fi 861 else 862 if test "$GCC" = yes; then 807 863 CFLAGS="-O2" 864 else 865 CFLAGS= 808 866 fi 809 else810 GCC=811 test "${CFLAGS+set}" = set || CFLAGS="-g"812 867 fi 813 868 814 869 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 815 echo "configure:8 16: checking how to run the C preprocessor" >&5870 echo "configure:871: checking how to run the C preprocessor" >&5 816 871 # On Suns, sometimes $CPP names a directory. 817 872 if test -n "$CPP" && test -d "$CPP"; then … … 828 883 # not just through cpp. 829 884 cat > conftest.$ac_ext <<EOF 830 #line 8 31"configure"885 #line 886 "configure" 831 886 #include "confdefs.h" 832 887 #include <assert.h> … … 834 889 EOF 835 890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 836 { (eval echo configure:8 37: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }837 ac_err=`grep -v '^ *+' conftest.out `891 { (eval echo configure:892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 838 893 if test -z "$ac_err"; then 839 894 : … … 845 900 CPP="${CC-cc} -E -traditional-cpp" 846 901 cat > conftest.$ac_ext <<EOF 847 #line 848"configure"902 #line 903 "configure" 848 903 #include "confdefs.h" 849 904 #include <assert.h> … … 851 906 EOF 852 907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 853 { (eval echo configure: 854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }854 ac_err=`grep -v '^ *+' 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}\$"` 855 910 if test -z "$ac_err"; then 856 911 : … … 860 915 cat conftest.$ac_ext >&5 861 916 rm -rf conftest* 917 CPP="${CC-cc} -nologo -E" 918 cat > conftest.$ac_ext <<EOF 919 #line 920 "configure" 920 #include "confdefs.h" 921 #include <assert.h> 922 Syntax Error 923 EOF 924 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"; then 928 : 929 else 930 echo "$ac_err" >&5 931 echo "configure: failed program was:" >&5 932 cat conftest.$ac_ext >&5 933 rm -rf conftest* 862 934 CPP=/lib/cpp 863 935 fi … … 865 937 fi 866 938 rm -f conftest* 939 fi 940 rm -f conftest* 867 941 ac_cv_prog_CPP="$CPP" 868 942 fi … … 873 947 echo "$ac_t""$CPP" 1>&6 874 948 875 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ 949 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl 876 950 do 877 951 # Extract the first word of "$ac_prog", so it can be a program name with args. 878 952 set dummy $ac_prog; ac_word=$2 879 953 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 880 echo "configure: 881: checking for $ac_word" >&5954 echo "configure:955: checking for $ac_word" >&5 881 955 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 882 956 echo $ac_n "(cached) $ac_c" 1>&6 … … 885 959 ac_cv_prog_CXX="$CXX" # Let the user override the test. 886 960 else 887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 888 for ac_dir in $PATH; do 961 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 962 ac_dummy="$PATH" 963 for ac_dir in $ac_dummy; do 889 964 test -z "$ac_dir" && ac_dir=. 890 965 if test -f $ac_dir/$ac_word; then … … 909 984 910 985 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 911 echo "configure:9 12: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5986 echo "configure:987: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 912 987 913 988 ac_ext=C … … 915 990 ac_cpp='$CXXCPP $CPPFLAGS' 916 991 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 917 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'992 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 918 993 cross_compiling=$ac_cv_prog_cxx_cross 919 994 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 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 926 1003 ac_cv_prog_cxx_works=yes 927 1004 # If we can't run a trivial program, we are probably using a cross compiler. … … 941 1018 ac_cpp='$CPP $CPPFLAGS' 942 1019 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 943 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'1020 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 944 1021 cross_compiling=$ac_cv_prog_cc_cross 945 1022 … … 949 1026 fi 950 1027 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 951 echo "configure: 952: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&51028 echo "configure:1029: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 952 1029 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 953 1030 cross_compiling=$ac_cv_prog_cxx_cross 954 1031 955 1032 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 956 echo "configure: 957: checking whether we are using GNU C++" >&51033 echo "configure:1034: checking whether we are using GNU C++" >&5 957 1034 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 958 1035 echo $ac_n "(cached) $ac_c" 1>&6 … … 963 1040 #endif 964 1041 EOF 965 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; then1042 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; then 966 1043 ac_cv_prog_gxx=yes 967 1044 else … … 974 1051 if test $ac_cv_prog_gxx = yes; then 975 1052 GXX=yes 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 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 981 1062 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 982 1063 echo $ac_n "(cached) $ac_c" 1>&6 … … 993 1074 994 1075 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 995 if test "$ac_test_CXXFLAGS" = set; then 996 CXXFLAGS="$ac_save_CXXFLAGS" 997 elif test $ac_cv_prog_cxx_g = yes; then 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 998 1080 CXXFLAGS="-g -O2" 999 1081 else 1082 CXXFLAGS="-g" 1083 fi 1084 else 1085 if test "$GXX" = yes; then 1000 1086 CXXFLAGS="-O2" 1087 else 1088 CXXFLAGS= 1001 1089 fi 1002 else1003 GXX=1004 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"1005 1090 fi 1006 1091 1007 1092 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1008 echo "configure:10 09: checking for AIX" >&51093 echo "configure:1094: checking for AIX" >&5 1009 1094 cat > conftest.$ac_ext <<EOF 1010 #line 10 11"configure"1095 #line 1096 "configure" 1011 1096 #include "confdefs.h" 1012 1097 #ifdef _AIX … … 1038 1123 # check whether the compiler accepts -pipe 1039 1124 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1040 echo "configure:1 041: checking whether compiler accepts -pipe" >&51125 echo "configure:1126: checking whether compiler accepts -pipe" >&5 1041 1126 temp_cflags=${CFLAGS} 1042 1127 CFLAGS="${CFLAGS} -pipe" … … 1045 1130 else 1046 1131 cat > conftest.$ac_ext <<EOF 1047 #line 1 048"configure"1132 #line 1133 "configure" 1048 1133 #include "confdefs.h" 1049 1134 … … 1052 1137 ; return 0; } 1053 1138 EOF 1054 if { (eval echo configure:1 055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1139 if { (eval echo configure:1140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1055 1140 rm -rf conftest* 1056 1141 ac_cv_cxx_have_pipe=yes … … 1076 1161 # Customize CFLAGS 1077 1162 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1078 echo "configure:1 079: checking whether _AIX is defined" >&51163 echo "configure:1164: checking whether _AIX is defined" >&5 1079 1164 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1080 1165 echo $ac_n "(cached) $ac_c" 1>&6 1081 1166 else 1082 1167 cat > conftest.$ac_ext <<EOF 1083 #line 1 084"configure"1168 #line 1169 "configure" 1084 1169 #include "confdefs.h" 1085 1170 #ifdef _AIX … … 1132 1217 1133 1218 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1134 echo "configure:1 135: checking whether ${MAKE-make} sets \${MAKE}" >&51219 echo "configure:1220: checking whether ${MAKE-make} sets \${MAKE}" >&5 1135 1220 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1136 1221 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1205 1290 if test "${with_lex+set}" != set; then 1206 1291 echo $ac_n "checking for flex""... $ac_c" 1>&6 1207 echo "configure:12 08: checking for flex" >&51292 echo "configure:1293: checking for flex" >&5 1208 1293 if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then 1209 1294 echo $ac_n "(cached) $ac_c" 1>&6 … … 1236 1321 set dummy $ac_prog; ac_word=$2 1237 1322 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1238 echo "configure:1 239: checking for $ac_word" >&51323 echo "configure:1324: checking for $ac_word" >&5 1239 1324 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 1240 1325 echo $ac_n "(cached) $ac_c" 1>&6 … … 1243 1328 ac_cv_prog_LEX="$LEX" # Let the user override the test. 1244 1329 else 1245 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1246 for ac_dir in $PATH; do 1330 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1331 ac_dummy="$PATH" 1332 for ac_dir in $ac_dummy; do 1247 1333 test -z "$ac_dir" && ac_dir=. 1248 1334 if test -f $ac_dir/$ac_word; then … … 1275 1361 set dummy $ac_prog; ac_word=$2 1276 1362 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1277 echo "configure:1 278: checking for $ac_word" >&51363 echo "configure:1364: checking for $ac_word" >&5 1278 1364 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1279 1365 echo $ac_n "(cached) $ac_c" 1>&6 … … 1282 1368 ac_cv_prog_BISON="$BISON" # Let the user override the test. 1283 1369 else 1284 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1285 for ac_dir in $PATH; do 1370 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1371 ac_dummy="$PATH" 1372 for ac_dir in $ac_dummy; do 1286 1373 test -z "$ac_dir" && ac_dir=. 1287 1374 if test -f $ac_dir/$ac_word; then … … 1309 1396 # ln -s 1310 1397 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1311 echo "configure:13 12: checking whether ln -s works" >&51398 echo "configure:1399: checking whether ln -s works" >&5 1312 1399 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1313 1400 echo $ac_n "(cached) $ac_c" 1>&6 … … 1332 1419 # lib checks 1333 1420 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1334 echo "configure:1 335: checking for atof in -lm" >&51421 echo "configure:1422: checking for atof in -lm" >&5 1335 1422 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1336 1423 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1340 1427 LIBS="-lm $LIBS" 1341 1428 cat > conftest.$ac_ext <<EOF 1342 #line 1 343"configure"1429 #line 1430 "configure" 1343 1430 #include "confdefs.h" 1344 1431 /* Override any gcc2 internal prototype to avoid an error. */ … … 1351 1438 ; return 0; } 1352 1439 EOF 1353 if { (eval echo configure:1 354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1440 if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1354 1441 rm -rf conftest* 1355 1442 eval "ac_cv_lib_$ac_lib_var=yes" … … 1379 1466 1380 1467 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1381 echo "configure:1 382: checking for socket in -lbsd" >&51468 echo "configure:1469: checking for socket in -lbsd" >&5 1382 1469 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1383 1470 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1387 1474 LIBS="-lbsd $LIBS" 1388 1475 cat > conftest.$ac_ext <<EOF 1389 #line 1 390"configure"1476 #line 1477 "configure" 1390 1477 #include "confdefs.h" 1391 1478 /* Override any gcc2 internal prototype to avoid an error. */ … … 1398 1485 ; return 0; } 1399 1486 EOF 1400 if { (eval echo configure:14 01: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1487 if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1401 1488 rm -rf conftest* 1402 1489 eval "ac_cv_lib_$ac_lib_var=yes" … … 1426 1513 1427 1514 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1428 echo "configure:1 429: checking for listen in -lsocket" >&51515 echo "configure:1516: checking for listen in -lsocket" >&5 1429 1516 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1430 1517 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1434 1521 LIBS="-lsocket $LIBS" 1435 1522 cat > conftest.$ac_ext <<EOF 1436 #line 1 437"configure"1523 #line 1524 "configure" 1437 1524 #include "confdefs.h" 1438 1525 /* Override any gcc2 internal prototype to avoid an error. */ … … 1445 1532 ; return 0; } 1446 1533 EOF 1447 if { (eval echo configure:1 448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1534 if { (eval echo configure:1535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1448 1535 rm -rf conftest* 1449 1536 eval "ac_cv_lib_$ac_lib_var=yes" … … 1473 1560 1474 1561 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1475 echo "configure:1 476: checking for gethostbyname in -lnsl" >&51562 echo "configure:1563: checking for gethostbyname in -lnsl" >&5 1476 1563 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1477 1564 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1481 1568 LIBS="-lnsl $LIBS" 1482 1569 cat > conftest.$ac_ext <<EOF 1483 #line 1 484"configure"1570 #line 1571 "configure" 1484 1571 #include "confdefs.h" 1485 1572 /* Override any gcc2 internal prototype to avoid an error. */ … … 1492 1579 ; return 0; } 1493 1580 EOF 1494 if { (eval echo configure:1 495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1581 if { (eval echo configure:1582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1495 1582 rm -rf conftest* 1496 1583 eval "ac_cv_lib_$ac_lib_var=yes" … … 1520 1607 1521 1608 echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6 1522 echo "configure:1 523: checking for index in -lucb" >&51609 echo "configure:1610: checking for index in -lucb" >&5 1523 1610 ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'` 1524 1611 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1528 1615 LIBS="-lucb $LIBS" 1529 1616 cat > conftest.$ac_ext <<EOF 1530 #line 1 531"configure"1617 #line 1618 "configure" 1531 1618 #include "confdefs.h" 1532 1619 /* Override any gcc2 internal prototype to avoid an error. */ … … 1539 1626 ; return 0; } 1540 1627 EOF 1541 if { (eval echo configure:1 542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1628 if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1542 1629 rm -rf conftest* 1543 1630 eval "ac_cv_lib_$ac_lib_var=yes" … … 1569 1656 # heder file checks 1570 1657 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1571 echo "configure:1 572: checking for ANSI C header files" >&51658 echo "configure:1659: checking for ANSI C header files" >&5 1572 1659 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1573 1660 echo $ac_n "(cached) $ac_c" 1>&6 1574 1661 else 1575 1662 cat > conftest.$ac_ext <<EOF 1576 #line 1 577"configure"1663 #line 1664 "configure" 1577 1664 #include "confdefs.h" 1578 1665 #include <stdlib.h> … … 1582 1669 EOF 1583 1670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1584 { (eval echo configure:1 585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1585 ac_err=`grep -v '^ *+' conftest.out `1671 { (eval echo configure:1672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1586 1673 if test -z "$ac_err"; then 1587 1674 rm -rf conftest* … … 1599 1686 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1600 1687 cat > conftest.$ac_ext <<EOF 1601 #line 16 02"configure"1688 #line 1689 "configure" 1602 1689 #include "confdefs.h" 1603 1690 #include <string.h> … … 1617 1704 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1618 1705 cat > conftest.$ac_ext <<EOF 1619 #line 1 620"configure"1706 #line 1707 "configure" 1620 1707 #include "confdefs.h" 1621 1708 #include <stdlib.h> … … 1638 1725 else 1639 1726 cat > conftest.$ac_ext <<EOF 1640 #line 1 641"configure"1727 #line 1728 "configure" 1641 1728 #include "confdefs.h" 1642 1729 #include <ctype.h> … … 1649 1736 1650 1737 EOF 1651 if { (eval echo configure:1 652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null1738 if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1652 1739 then 1653 1740 : … … 1676 1763 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1677 1764 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1678 echo "configure:1 679: checking for $ac_hdr" >&51765 echo "configure:1766: checking for $ac_hdr" >&5 1679 1766 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1680 1767 echo $ac_n "(cached) $ac_c" 1>&6 1681 1768 else 1682 1769 cat > conftest.$ac_ext <<EOF 1683 #line 1 684"configure"1770 #line 1771 "configure" 1684 1771 #include "confdefs.h" 1685 1772 #include <$ac_hdr> 1686 1773 EOF 1687 1774 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1688 { (eval echo configure:1 689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1689 ac_err=`grep -v '^ *+' conftest.out `1775 { (eval echo configure:1776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1776 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1690 1777 if test -z "$ac_err"; then 1691 1778 rm -rf conftest* … … 1718 1805 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1719 1806 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1720 echo "configure:1 721: checking for $ac_hdr" >&51807 echo "configure:1808: checking for $ac_hdr" >&5 1721 1808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1722 1809 echo $ac_n "(cached) $ac_c" 1>&6 1723 1810 else 1724 1811 cat > conftest.$ac_ext <<EOF 1725 #line 1 726"configure"1812 #line 1813 "configure" 1726 1813 #include "confdefs.h" 1727 1814 #include <$ac_hdr> 1728 1815 EOF 1729 1816 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1730 { (eval echo configure:1 731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1731 ac_err=`grep -v '^ *+' conftest.out `1817 { (eval echo configure:1818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1818 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1732 1819 if test -z "$ac_err"; then 1733 1820 rm -rf conftest* … … 1757 1844 # typedefs, structures 1758 1845 echo $ac_n "checking for working const""... $ac_c" 1>&6 1759 echo "configure:1 760: checking for working const" >&51846 echo "configure:1847: checking for working const" >&5 1760 1847 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1761 1848 echo $ac_n "(cached) $ac_c" 1>&6 1762 1849 else 1763 1850 cat > conftest.$ac_ext <<EOF 1764 #line 1 765"configure"1851 #line 1852 "configure" 1765 1852 #include "confdefs.h" 1766 1853 … … 1811 1898 ; return 0; } 1812 1899 EOF 1813 if { (eval echo configure:1 814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1900 if { (eval echo configure:1901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1814 1901 rm -rf conftest* 1815 1902 ac_cv_c_const=yes … … 1832 1919 1833 1920 echo $ac_n "checking for inline""... $ac_c" 1>&6 1834 echo "configure:1 835: checking for inline" >&51921 echo "configure:1922: checking for inline" >&5 1835 1922 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1836 1923 echo $ac_n "(cached) $ac_c" 1>&6 … … 1839 1926 for ac_kw in inline __inline__ __inline; do 1840 1927 cat > conftest.$ac_ext <<EOF 1841 #line 1 842"configure"1928 #line 1929 "configure" 1842 1929 #include "confdefs.h" 1843 1930 … … 1846 1933 ; return 0; } 1847 1934 EOF 1848 if { (eval echo configure:1 849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1935 if { (eval echo configure:1936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1849 1936 rm -rf conftest* 1850 1937 ac_cv_c_inline=$ac_kw; break … … 1872 1959 1873 1960 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1874 echo "configure:1 875: checking for size_t" >&51961 echo "configure:1962: checking for size_t" >&5 1875 1962 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1876 1963 echo $ac_n "(cached) $ac_c" 1>&6 1877 1964 else 1878 1965 cat > conftest.$ac_ext <<EOF 1879 #line 1 880"configure"1966 #line 1967 "configure" 1880 1967 #include "confdefs.h" 1881 1968 #include <sys/types.h> … … 1886 1973 EOF 1887 1974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1888 egrep " size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then1975 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 1889 1976 rm -rf conftest* 1890 1977 ac_cv_type_size_t=yes … … 1905 1992 1906 1993 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1907 echo "configure:19 08: checking whether time.h and sys/time.h may both be included" >&51994 echo "configure:1995: checking whether time.h and sys/time.h may both be included" >&5 1908 1995 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1909 1996 echo $ac_n "(cached) $ac_c" 1>&6 1910 1997 else 1911 1998 cat > conftest.$ac_ext <<EOF 1912 #line 1913"configure"1999 #line 2000 "configure" 1913 2000 #include "confdefs.h" 1914 2001 #include <sys/types.h> … … 1919 2006 ; return 0; } 1920 2007 EOF 1921 if { (eval echo configure: 1922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2008 if { (eval echo configure:2009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1922 2009 rm -rf conftest* 1923 2010 ac_cv_header_time=yes … … 1940 2027 1941 2028 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 1942 echo "configure: 1943: checking whether struct tm is in sys/time.h or time.h" >&52029 echo "configure:2030: checking whether struct tm is in sys/time.h or time.h" >&5 1943 2030 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 1944 2031 echo $ac_n "(cached) $ac_c" 1>&6 1945 2032 else 1946 2033 cat > conftest.$ac_ext <<EOF 1947 #line 1948"configure"2034 #line 2035 "configure" 1948 2035 #include "confdefs.h" 1949 2036 #include <sys/types.h> … … 1953 2040 ; return 0; } 1954 2041 EOF 1955 if { (eval echo configure: 1956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2042 if { (eval echo configure:2043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1956 2043 rm -rf conftest* 1957 2044 ac_cv_struct_tm=time.h … … 1978 2065 # for constant arguments. Useless! 1979 2066 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 1980 echo "configure: 1981: checking for working alloca.h" >&52067 echo "configure:2068: checking for working alloca.h" >&5 1981 2068 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 1982 2069 echo $ac_n "(cached) $ac_c" 1>&6 1983 2070 else 1984 2071 cat > conftest.$ac_ext <<EOF 1985 #line 1986"configure"2072 #line 2073 "configure" 1986 2073 #include "confdefs.h" 1987 2074 #include <alloca.h> … … 1990 2077 ; return 0; } 1991 2078 EOF 1992 if { (eval echo configure: 1993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2079 if { (eval echo configure:2080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1993 2080 rm -rf conftest* 1994 2081 ac_cv_header_alloca_h=yes … … 2011 2098 2012 2099 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2013 echo "configure:2 014: checking for alloca" >&52100 echo "configure:2101: checking for alloca" >&5 2014 2101 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2015 2102 echo $ac_n "(cached) $ac_c" 1>&6 2016 2103 else 2017 2104 cat > conftest.$ac_ext <<EOF 2018 #line 2 019"configure"2105 #line 2106 "configure" 2019 2106 #include "confdefs.h" 2020 2107 … … 2022 2109 # define alloca __builtin_alloca 2023 2110 #else 2024 # if HAVE_ALLOCA_H 2025 # include <alloca.h> 2111 # ifdef _MSC_VER 2112 # include <malloc.h> 2113 # define alloca _alloca 2026 2114 # else 2027 # ifdef _AIX 2115 # if HAVE_ALLOCA_H 2116 # include <alloca.h> 2117 # else 2118 # ifdef _AIX 2028 2119 #pragma alloca 2029 # else2030 # ifndef alloca /* predefined by HP cc +Olibcalls */2120 # else 2121 # ifndef alloca /* predefined by HP cc +Olibcalls */ 2031 2122 char *alloca (); 2123 # endif 2032 2124 # endif 2033 2125 # endif … … 2039 2131 ; return 0; } 2040 2132 EOF 2041 if { (eval echo configure:2 042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2133 if { (eval echo configure:2134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2042 2134 rm -rf conftest* 2043 2135 ac_cv_func_alloca_works=yes … … 2064 2156 # contain a buggy version. If you still want to use their alloca, 2065 2157 # use ar to extract alloca.o from them instead of compiling alloca.c. 2066 ALLOCA=alloca. o2158 ALLOCA=alloca.${ac_objext} 2067 2159 cat >> confdefs.h <<\EOF 2068 2160 #define C_ALLOCA 1 … … 2071 2163 2072 2164 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2073 echo "configure:2 074: checking whether alloca needs Cray hooks" >&52165 echo "configure:2166: checking whether alloca needs Cray hooks" >&5 2074 2166 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2075 2167 echo $ac_n "(cached) $ac_c" 1>&6 2076 2168 else 2077 2169 cat > conftest.$ac_ext <<EOF 2078 #line 2 079"configure"2170 #line 2171 "configure" 2079 2171 #include "confdefs.h" 2080 2172 #if defined(CRAY) && ! defined(CRAY2) … … 2101 2193 for ac_func in _getb67 GETB67 getb67; do 2102 2194 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2103 echo "configure:21 04: checking for $ac_func" >&52195 echo "configure:2196: checking for $ac_func" >&5 2104 2196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2105 2197 echo $ac_n "(cached) $ac_c" 1>&6 2106 2198 else 2107 2199 cat > conftest.$ac_ext <<EOF 2108 #line 2 109"configure"2200 #line 2201 "configure" 2109 2201 #include "confdefs.h" 2110 2202 /* System header to define __stub macros and hopefully few prototypes, … … 2129 2221 ; return 0; } 2130 2222 EOF 2131 if { (eval echo configure:2 132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2223 if { (eval echo configure:2224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2132 2224 rm -rf conftest* 2133 2225 eval "ac_cv_func_$ac_func=yes" … … 2156 2248 2157 2249 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2158 echo "configure:2 159: checking stack direction for C alloca" >&52250 echo "configure:2251: checking stack direction for C alloca" >&5 2159 2251 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2160 2252 echo $ac_n "(cached) $ac_c" 1>&6 … … 2164 2256 else 2165 2257 cat > conftest.$ac_ext <<EOF 2166 #line 2 167"configure"2258 #line 2259 "configure" 2167 2259 #include "confdefs.h" 2168 2260 find_stack_direction () … … 2183 2275 } 2184 2276 EOF 2185 if { (eval echo configure:2 186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null2277 if { (eval echo configure:2278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2186 2278 then 2187 2279 ac_cv_c_stack_direction=1 … … 2206 2298 if test $ac_cv_prog_gcc = yes; then 2207 2299 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2208 echo "configure:2 209: checking whether ${CC-cc} needs -traditional" >&52300 echo "configure:2301: checking whether ${CC-cc} needs -traditional" >&5 2209 2301 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2210 2302 echo $ac_n "(cached) $ac_c" 1>&6 … … 2212 2304 ac_pattern="Autoconf.*'x'" 2213 2305 cat > conftest.$ac_ext <<EOF 2214 #line 2 215"configure"2306 #line 2307 "configure" 2215 2307 #include "confdefs.h" 2216 2308 #include <sgtty.h> … … 2230 2322 if test $ac_cv_prog_gcc_traditional = no; then 2231 2323 cat > conftest.$ac_ext <<EOF 2232 #line 2 233"configure"2324 #line 2325 "configure" 2233 2325 #include "confdefs.h" 2234 2326 #include <termio.h> … … 2255 2347 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2256 2348 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2257 echo "configure:2 258: checking for $ac_hdr" >&52349 echo "configure:2350: checking for $ac_hdr" >&5 2258 2350 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2259 2351 echo $ac_n "(cached) $ac_c" 1>&6 2260 2352 else 2261 2353 cat > conftest.$ac_ext <<EOF 2262 #line 2 263"configure"2354 #line 2355 "configure" 2263 2355 #include "confdefs.h" 2264 2356 #include <$ac_hdr> 2265 2357 EOF 2266 2358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2267 { (eval echo configure:2 268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2268 ac_err=`grep -v '^ *+' conftest.out `2359 { (eval echo configure:2360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2269 2361 if test -z "$ac_err"; then 2270 2362 rm -rf conftest* … … 2294 2386 do 2295 2387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2296 echo "configure:2 297: checking for $ac_func" >&52388 echo "configure:2389: checking for $ac_func" >&5 2297 2389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2298 2390 echo $ac_n "(cached) $ac_c" 1>&6 2299 2391 else 2300 2392 cat > conftest.$ac_ext <<EOF 2301 #line 23 02"configure"2393 #line 2394 "configure" 2302 2394 #include "confdefs.h" 2303 2395 /* System header to define __stub macros and hopefully few prototypes, … … 2322 2414 ; return 0; } 2323 2415 EOF 2324 if { (eval echo configure:2 325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2416 if { (eval echo configure:2417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2325 2417 rm -rf conftest* 2326 2418 eval "ac_cv_func_$ac_func=yes" … … 2347 2439 2348 2440 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2349 echo "configure:2 350: checking for working mmap" >&52441 echo "configure:2442: checking for working mmap" >&5 2350 2442 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2351 2443 echo $ac_n "(cached) $ac_c" 1>&6 … … 2355 2447 else 2356 2448 cat > conftest.$ac_ext <<EOF 2357 #line 2 358"configure"2449 #line 2450 "configure" 2358 2450 #include "confdefs.h" 2359 2451 … … 2495 2587 2496 2588 EOF 2497 if { (eval echo configure:2 498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null2589 if { (eval echo configure:2590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2498 2590 then 2499 2591 ac_cv_func_mmap_fixed_mapped=yes … … 2518 2610 2519 2611 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2520 echo "configure:2 521: checking return type of signal handlers" >&52612 echo "configure:2613: checking return type of signal handlers" >&5 2521 2613 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2522 2614 echo $ac_n "(cached) $ac_c" 1>&6 2523 2615 else 2524 2616 cat > conftest.$ac_ext <<EOF 2525 #line 2 526"configure"2617 #line 2618 "configure" 2526 2618 #include "confdefs.h" 2527 2619 #include <sys/types.h> … … 2540 2632 ; return 0; } 2541 2633 EOF 2542 if { (eval echo configure:2 543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2634 if { (eval echo configure:2635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2543 2635 rm -rf conftest* 2544 2636 ac_cv_type_signal=void … … 2559 2651 2560 2652 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2561 echo "configure:2 562: checking for vprintf" >&52653 echo "configure:2654: checking for vprintf" >&5 2562 2654 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2563 2655 echo $ac_n "(cached) $ac_c" 1>&6 2564 2656 else 2565 2657 cat > conftest.$ac_ext <<EOF 2566 #line 2 567"configure"2658 #line 2659 "configure" 2567 2659 #include "confdefs.h" 2568 2660 /* System header to define __stub macros and hopefully few prototypes, … … 2587 2679 ; return 0; } 2588 2680 EOF 2589 if { (eval echo configure:2 590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2681 if { (eval echo configure:2682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2590 2682 rm -rf conftest* 2591 2683 eval "ac_cv_func_vprintf=yes" … … 2611 2703 if test "$ac_cv_func_vprintf" != yes; then 2612 2704 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2613 echo "configure:2 614: checking for _doprnt" >&52705 echo "configure:2706: checking for _doprnt" >&5 2614 2706 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2615 2707 echo $ac_n "(cached) $ac_c" 1>&6 2616 2708 else 2617 2709 cat > conftest.$ac_ext <<EOF 2618 #line 2 619"configure"2710 #line 2711 "configure" 2619 2711 #include "confdefs.h" 2620 2712 /* System header to define __stub macros and hopefully few prototypes, … … 2639 2731 ; return 0; } 2640 2732 EOF 2641 if { (eval echo configure:2 642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2733 if { (eval echo configure:2734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2642 2734 rm -rf conftest* 2643 2735 eval "ac_cv_func__doprnt=yes" … … 2666 2758 do 2667 2759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2668 echo "configure:2 669: checking for $ac_func" >&52760 echo "configure:2761: checking for $ac_func" >&5 2669 2761 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2670 2762 echo $ac_n "(cached) $ac_c" 1>&6 2671 2763 else 2672 2764 cat > conftest.$ac_ext <<EOF 2673 #line 2 674"configure"2765 #line 2766 "configure" 2674 2766 #include "confdefs.h" 2675 2767 /* System header to define __stub macros and hopefully few prototypes, … … 2694 2786 ; return 0; } 2695 2787 EOF 2696 if { (eval echo configure:2 697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2788 if { (eval echo configure:2789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2697 2789 rm -rf conftest* 2698 2790 eval "ac_cv_func_$ac_func=yes" … … 2722 2814 # arithmetic shifts 2723 2815 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 2724 echo "configure:2 725: checking whether your machine has correct arithmetic shifts" >&52816 echo "configure:2817: checking whether your machine has correct arithmetic shifts" >&5 2725 2817 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 2726 2818 echo $ac_n "(cached) $ac_c" 1>&6 … … 2735 2827 else 2736 2828 cat > conftest.$ac_ext <<EOF 2737 #line 2 738"configure"2829 #line 2830 "configure" 2738 2830 #include "confdefs.h" 2739 2831 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2740 2832 EOF 2741 if { (eval echo configure:2 742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null2833 if { (eval echo configure:2834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2742 2834 then 2743 2835 ac_cv_shift=yes … … 2764 2856 # check for a peculiar constructor initialization 2765 2857 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 2766 echo "configure:2 767: checking whether explicit C++ constructor calls are allowed" >&52858 echo "configure:2859: checking whether explicit C++ constructor calls are allowed" >&5 2767 2859 2768 2860 ac_ext=C … … 2770 2862 ac_cpp='$CXXCPP $CPPFLAGS' 2771 2863 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2772 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'2864 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2773 2865 cross_compiling=$ac_cv_prog_cxx_cross 2774 2866 … … 2777 2869 else 2778 2870 cat > conftest.$ac_ext <<EOF 2779 #line 2 780"configure"2871 #line 2872 "configure" 2780 2872 #include "confdefs.h" 2781 2873 … … 2795 2887 ; return 0; } 2796 2888 EOF 2797 if { (eval echo configure:2 798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2889 if { (eval echo configure:2890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2798 2890 rm -rf conftest* 2799 2891 ac_cv_explicit_const=yes … … 2811 2903 ac_cpp='$CPP $CPPFLAGS' 2812 2904 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2813 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'2905 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2814 2906 cross_compiling=$ac_cv_prog_cc_cross 2815 2907 … … 2824 2916 # sprintf returns number of printed chars 2825 2917 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 2826 echo "configure:2 827: checking whether vsprintf returns number of printed chars" >&52918 echo "configure:2919: checking whether vsprintf returns number of printed chars" >&5 2827 2919 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 2828 2920 echo $ac_n "(cached) $ac_c" 1>&6 … … 2832 2924 else 2833 2925 cat > conftest.$ac_ext <<EOF 2834 #line 2 835"configure"2926 #line 2927 "configure" 2835 2927 #include "confdefs.h" 2836 2928 #include <stdio.h> 2837 2929 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 2838 2930 EOF 2839 if { (eval echo configure:2 840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null2931 if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2840 2932 then 2841 2933 ac_cv_returns_n_of_chars=yes … … 2863 2955 # determine ALIGN_8 2864 2956 echo $ac_n "checking size of char""... $ac_c" 1>&6 2865 echo "configure:2 866: checking size of char" >&52957 echo "configure:2958: checking size of char" >&5 2866 2958 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 2867 2959 echo $ac_n "(cached) $ac_c" 1>&6 … … 2871 2963 else 2872 2964 cat > conftest.$ac_ext <<EOF 2873 #line 2 874"configure"2965 #line 2966 "configure" 2874 2966 #include "confdefs.h" 2875 2967 #include <stdio.h> … … 2882 2974 } 2883 2975 EOF 2884 if { (eval echo configure:2 885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null2976 if { (eval echo configure:2977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2885 2977 then 2886 2978 ac_cv_sizeof_char=`cat conftestval` … … 2902 2994 2903 2995 echo $ac_n "checking size of short""... $ac_c" 1>&6 2904 echo "configure:29 05: checking size of short" >&52996 echo "configure:2997: checking size of short" >&5 2905 2997 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 2906 2998 echo $ac_n "(cached) $ac_c" 1>&6 … … 2910 3002 else 2911 3003 cat > conftest.$ac_ext <<EOF 2912 #line 2913"configure"3004 #line 3005 "configure" 2913 3005 #include "confdefs.h" 2914 3006 #include <stdio.h> … … 2921 3013 } 2922 3014 EOF 2923 if { (eval echo configure: 2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3015 if { (eval echo configure:3016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2924 3016 then 2925 3017 ac_cv_sizeof_short=`cat conftestval` … … 2941 3033 2942 3034 echo $ac_n "checking size of int""... $ac_c" 1>&6 2943 echo "configure: 2944: checking size of int" >&53035 echo "configure:3036: checking size of int" >&5 2944 3036 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 2945 3037 echo $ac_n "(cached) $ac_c" 1>&6 … … 2949 3041 else 2950 3042 cat > conftest.$ac_ext <<EOF 2951 #line 2952"configure"3043 #line 3044 "configure" 2952 3044 #include "confdefs.h" 2953 3045 #include <stdio.h> … … 2960 3052 } 2961 3053 EOF 2962 if { (eval echo configure: 2963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3054 if { (eval echo configure:3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2963 3055 then 2964 3056 ac_cv_sizeof_int=`cat conftestval` … … 2980 3072 2981 3073 echo $ac_n "checking size of long""... $ac_c" 1>&6 2982 echo "configure: 2983: checking size of long" >&53074 echo "configure:3075: checking size of long" >&5 2983 3075 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 2984 3076 echo $ac_n "(cached) $ac_c" 1>&6 … … 2988 3080 else 2989 3081 cat > conftest.$ac_ext <<EOF 2990 #line 2991"configure"3082 #line 3083 "configure" 2991 3083 #include "confdefs.h" 2992 3084 #include <stdio.h> … … 2999 3091 } 3000 3092 EOF 3001 if { (eval echo configure:30 02: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3093 if { (eval echo configure:3094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3002 3094 then 3003 3095 ac_cv_sizeof_long=`cat conftestval` … … 3019 3111 3020 3112 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3021 echo "configure:3 022: checking size of void*" >&53113 echo "configure:3114: checking size of void*" >&5 3022 3114 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3023 3115 echo $ac_n "(cached) $ac_c" 1>&6 … … 3027 3119 else 3028 3120 cat > conftest.$ac_ext <<EOF 3029 #line 3 030"configure"3121 #line 3122 "configure" 3030 3122 #include "confdefs.h" 3031 3123 #include <stdio.h> … … 3038 3130 } 3039 3131 EOF 3040 if { (eval echo configure:3 041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3132 if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3041 3133 then 3042 3134 ac_cv_sizeof_voidp=`cat conftestval` … … 3058 3150 3059 3151 echo $ac_n "checking size of double""... $ac_c" 1>&6 3060 echo "configure:3 061: checking size of double" >&53152 echo "configure:3153: checking size of double" >&5 3061 3153 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3062 3154 echo $ac_n "(cached) $ac_c" 1>&6 … … 3066 3158 else 3067 3159 cat > conftest.$ac_ext <<EOF 3068 #line 3 069"configure"3160 #line 3161 "configure" 3069 3161 #include "confdefs.h" 3070 3162 #include <stdio.h> … … 3077 3169 } 3078 3170 EOF 3079 if { (eval echo configure:3 080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3171 if { (eval echo configure:3172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3080 3172 then 3081 3173 ac_cv_sizeof_double=`cat conftestval` … … 3097 3189 3098 3190 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3099 echo "configure:31 00: checking whether byte ordering is bigendian" >&53191 echo "configure:3192: checking whether byte ordering is bigendian" >&5 3100 3192 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3101 3193 echo $ac_n "(cached) $ac_c" 1>&6 … … 3104 3196 # See if sys/param.h defines the BYTE_ORDER macro. 3105 3197 cat > conftest.$ac_ext <<EOF 3106 #line 31 07"configure"3198 #line 3199 "configure" 3107 3199 #include "confdefs.h" 3108 3200 #include <sys/types.h> … … 3115 3207 ; return 0; } 3116 3208 EOF 3117 if { (eval echo configure:3 118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3209 if { (eval echo configure:3210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3118 3210 rm -rf conftest* 3119 3211 # It does; now see whether it defined to BIG_ENDIAN or not. 3120 3212 cat > conftest.$ac_ext <<EOF 3121 #line 3 122"configure"3213 #line 3214 "configure" 3122 3214 #include "confdefs.h" 3123 3215 #include <sys/types.h> … … 3130 3222 ; return 0; } 3131 3223 EOF 3132 if { (eval echo configure:3 133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3224 if { (eval echo configure:3225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3133 3225 rm -rf conftest* 3134 3226 ac_cv_c_bigendian=yes … … 3150 3242 else 3151 3243 cat > conftest.$ac_ext <<EOF 3152 #line 3 153"configure"3244 #line 3245 "configure" 3153 3245 #include "confdefs.h" 3154 3246 main () { … … 3163 3255 } 3164 3256 EOF 3165 if { (eval echo configure:3 166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3257 if { (eval echo configure:3258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3166 3258 then 3167 3259 ac_cv_c_bigendian=no … … 3200 3292 3201 3293 echo $ac_n "checking size of system page""... $ac_c" 1>&6 3202 echo "configure:32 03: checking size of system page" >&53294 echo "configure:3295: checking size of system page" >&5 3203 3295 if eval "test \"`echo '$''{'ac_cv_pagesize'+set}'`\" = set"; then 3204 3296 echo $ac_n "(cached) $ac_c" 1>&6 … … 3208 3300 else 3209 3301 cat > conftest.$ac_ext <<EOF 3210 #line 3 211"configure"3302 #line 3303 "configure" 3211 3303 #include "confdefs.h" 3212 3304 #include <stdio.h> … … 3222 3314 } 3223 3315 EOF 3224 if { (eval echo configure:3 225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3316 if { (eval echo configure:3317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3225 3317 then 3226 3318 ac_cv_pagesize=`cat conftestval` … … 3246 3338 3247 3339 echo $ac_n "checking for page aligned valloc""... $ac_c" 1>&6 3248 echo "configure:3 249: checking for page aligned valloc" >&53340 echo "configure:3341: checking for page aligned valloc" >&5 3249 3341 if eval "test \"`echo '$''{'ac_cv_have_page_alignment'+set}'`\" = set"; then 3250 3342 echo $ac_n "(cached) $ac_c" 1>&6 … … 3292 3384 else 3293 3385 cat > conftest.$ac_ext <<EOF 3294 #line 3 295"configure"3386 #line 3387 "configure" 3295 3387 #include "confdefs.h" 3296 3388 … … 3299 3391 3300 3392 EOF 3301 if { (eval echo configure:33 02: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3393 if { (eval echo configure:3394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3302 3394 then 3303 3395 ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat conftestval` … … 3316 3408 else 3317 3409 cat > conftest.$ac_ext <<EOF 3318 #line 3 319"configure"3410 #line 3411 "configure" 3319 3411 #include "confdefs.h" 3320 3412 … … 3323 3415 3324 3416 EOF 3325 if { (eval echo configure:3 326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3417 if { (eval echo configure:3418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3326 3418 then 3327 3419 ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat conftestval` … … 3343 3435 else 3344 3436 cat > conftest.$ac_ext <<EOF 3345 #line 3 346"configure"3437 #line 3438 "configure" 3346 3438 #include "confdefs.h" 3347 3439 … … 3352 3444 3353 3445 EOF 3354 if { (eval echo configure:3 355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3446 if { (eval echo configure:3447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3355 3447 then 3356 3448 ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat conftestval` … … 3369 3461 else 3370 3462 cat > conftest.$ac_ext <<EOF 3371 #line 3 372"configure"3463 #line 3464 "configure" 3372 3464 #include "confdefs.h" 3373 3465 … … 3378 3470 3379 3471 EOF 3380 if { (eval echo configure:3 381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3472 if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3381 3473 then 3382 3474 ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat conftestval` … … 3513 3605 if test "${with_perl5+set}" != set; then 3514 3606 echo $ac_n "checking for perl5""... $ac_c" 1>&6 3515 echo "configure:3 516: checking for perl5" >&53607 echo "configure:3608: checking for perl5" >&5 3516 3608 if eval "test \"`echo '$''{'ac_cv_prog_perl5'+set}'`\" = set"; then 3517 3609 echo $ac_n "(cached) $ac_c" 1>&6 … … 3550 3642 set dummy $ac_prog; ac_word=$2 3551 3643 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3552 echo "configure:3 553: checking for $ac_word" >&53644 echo "configure:3645: checking for $ac_word" >&5 3553 3645 if eval "test \"`echo '$''{'ac_cv_prog_PERL5'+set}'`\" = set"; then 3554 3646 echo $ac_n "(cached) $ac_c" 1>&6 … … 3557 3649 ac_cv_prog_PERL5="$PERL5" # Let the user override the test. 3558 3650 else 3559 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 3560 for ac_dir in $PATH; do 3651 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3652 ac_dummy="$PATH" 3653 for ac_dir in $ac_dummy; do 3561 3654 test -z "$ac_dir" && ac_dir=. 3562 3655 if test -f $ac_dir/$ac_word; then … … 3589 3682 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3590 3683 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3591 echo "configure:3 592: checking for $ac_hdr" >&53684 echo "configure:3685: checking for $ac_hdr" >&5 3592 3685 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3593 3686 echo $ac_n "(cached) $ac_c" 1>&6 3594 3687 else 3595 3688 cat > conftest.$ac_ext <<EOF 3596 #line 3 597"configure"3689 #line 3690 "configure" 3597 3690 #include "confdefs.h" 3598 3691 #include <$ac_hdr> 3599 3692 EOF 3600 3693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3601 { (eval echo configure:36 02: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3602 ac_err=`grep -v '^ *+' conftest.out `3694 { (eval echo configure:3695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3603 3696 if test -z "$ac_err"; then 3604 3697 rm -rf conftest* … … 3629 3722 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3630 3723 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3631 echo "configure:3 632: checking for $ac_hdr" >&53724 echo "configure:3725: checking for $ac_hdr" >&5 3632 3725 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3633 3726 echo $ac_n "(cached) $ac_c" 1>&6 3634 3727 else 3635 3728 cat > conftest.$ac_ext <<EOF 3636 #line 3 637"configure"3729 #line 3730 "configure" 3637 3730 #include "confdefs.h" 3638 3731 #include <$ac_hdr> 3639 3732 EOF 3640 3733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3641 { (eval echo configure:3 642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3642 ac_err=`grep -v '^ *+' conftest.out `3734 { (eval echo configure:3735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3643 3736 if test -z "$ac_err"; then 3644 3737 rm -rf conftest* … … 3669 3762 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3670 3763 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3671 echo "configure:3 672: checking for $ac_hdr" >&53764 echo "configure:3765: checking for $ac_hdr" >&5 3672 3765 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3673 3766 echo $ac_n "(cached) $ac_c" 1>&6 3674 3767 else 3675 3768 cat > conftest.$ac_ext <<EOF 3676 #line 3 677"configure"3769 #line 3770 "configure" 3677 3770 #include "confdefs.h" 3678 3771 #include <$ac_hdr> 3679 3772 EOF 3680 3773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3681 { (eval echo configure:3 682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3682 ac_err=`grep -v '^ *+' conftest.out `3774 { (eval echo configure:3775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3775 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3683 3776 if test -z "$ac_err"; then 3684 3777 rm -rf conftest* … … 3709 3802 if test "$with_readline" != no; then 3710 3803 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3711 echo "configure:3 712: checking for tgetent in -lncurses" >&53804 echo "configure:3805: checking for tgetent in -lncurses" >&5 3712 3805 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3713 3806 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3717 3810 LIBS="-lncurses $LIBS" 3718 3811 cat > conftest.$ac_ext <<EOF 3719 #line 3 720"configure"3812 #line 3813 "configure" 3720 3813 #include "confdefs.h" 3721 3814 /* Override any gcc2 internal prototype to avoid an error. */ … … 3728 3821 ; return 0; } 3729 3822 EOF 3730 if { (eval echo configure:3 731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3823 if { (eval echo configure:3824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3731 3824 rm -rf conftest* 3732 3825 eval "ac_cv_lib_$ac_lib_var=yes" … … 3755 3848 \ 3756 3849 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3757 echo "configure:3 758: checking for tgetent in -lcurses" >&53850 echo "configure:3851: checking for tgetent in -lcurses" >&5 3758 3851 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3759 3852 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3763 3856 LIBS="-lcurses $LIBS" 3764 3857 cat > conftest.$ac_ext <<EOF 3765 #line 3 766"configure"3858 #line 3859 "configure" 3766 3859 #include "confdefs.h" 3767 3860 /* Override any gcc2 internal prototype to avoid an error. */ … … 3774 3867 ; return 0; } 3775 3868 EOF 3776 if { (eval echo configure:3 777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3869 if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3777 3870 rm -rf conftest* 3778 3871 eval "ac_cv_lib_$ac_lib_var=yes" … … 3801 3894 \ 3802 3895 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3803 echo "configure:38 04: checking for tgetent in -ltermcap" >&53896 echo "configure:3897: checking for tgetent in -ltermcap" >&5 3804 3897 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3805 3898 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3809 3902 LIBS="-ltermcap $LIBS" 3810 3903 cat > conftest.$ac_ext <<EOF 3811 #line 3 812"configure"3904 #line 3905 "configure" 3812 3905 #include "confdefs.h" 3813 3906 /* Override any gcc2 internal prototype to avoid an error. */ … … 3820 3913 ; return 0; } 3821 3914 EOF 3822 if { (eval echo configure:3 823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3915 if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3823 3916 rm -rf conftest* 3824 3917 eval "ac_cv_lib_$ac_lib_var=yes" … … 3852 3945 3853 3946 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3854 echo "configure:3 855: checking for rl_abort in -lreadline" >&53947 echo "configure:3948: checking for rl_abort in -lreadline" >&5 3855 3948 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3856 3949 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3860 3953 LIBS="-lreadline $LIBS" 3861 3954 cat > conftest.$ac_ext <<EOF 3862 #line 3 863"configure"3955 #line 3956 "configure" 3863 3956 #include "confdefs.h" 3864 3957 /* Override any gcc2 internal prototype to avoid an error. */ … … 3871 3964 ; return 0; } 3872 3965 EOF 3873 if { (eval echo configure:3 874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3966 if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3874 3967 rm -rf conftest* 3875 3968 eval "ac_cv_lib_$ac_lib_var=yes" … … 3902 3995 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3903 3996 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3904 echo "configure:39 05: checking for $ac_hdr" >&53997 echo "configure:3998: checking for $ac_hdr" >&5 3905 3998 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3906 3999 echo $ac_n "(cached) $ac_c" 1>&6 3907 4000 else 3908 4001 cat > conftest.$ac_ext <<EOF 3909 #line 3910"configure"4002 #line 4003 "configure" 3910 4003 #include "confdefs.h" 3911 4004 #include <$ac_hdr> 3912 4005 EOF 3913 4006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3914 { (eval echo configure: 3915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3915 ac_err=`grep -v '^ *+' conftest.out `4007 { (eval echo configure:4008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4008 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3916 4009 if test -z "$ac_err"; then 3917 4010 rm -rf conftest* … … 3941 4034 test "$ac_cv_header_readline_readline_h" = yes; then 3942 4035 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 3943 echo "configure: 3944: checking whether readline.h is ok" >&54036 echo "configure:4037: checking whether readline.h is ok" >&5 3944 4037 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 3945 4038 echo $ac_n "(cached) $ac_c" 1>&6 3946 4039 else 3947 4040 cat > conftest.$ac_ext <<EOF 3948 #line 3949"configure"4041 #line 4042 "configure" 3949 4042 #include "confdefs.h" 3950 4043 #include<unistd.h> … … 3971 4064 ; return 0; } 3972 4065 EOF 3973 if { (eval echo configure: 3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4066 if { (eval echo configure:4067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3974 4067 rm -rf conftest* 3975 4068 ac_cv_header_readline_readline_h_ok="yes" … … 3987 4080 #not ok -- try once more with explicitly declaring everything 3988 4081 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 3989 echo "configure: 3990: checking whether or not we nevertheless can use readline" >&54082 echo "configure:4083: checking whether or not we nevertheless can use readline" >&5 3990 4083 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 3991 4084 echo $ac_n "(cached) $ac_c" 1>&6 3992 4085 else 3993 4086 cat > conftest.$ac_ext <<EOF 3994 #line 3995"configure"4087 #line 4088 "configure" 3995 4088 #include "confdefs.h" 3996 4089 #include <stdio.h> … … 4022 4115 ; return 0; } 4023 4116 EOF 4024 if { (eval echo configure:4 025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4117 if { (eval echo configure:4118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4025 4118 rm -rf conftest* 4026 4119 ac_cv_have_readline="yes" … … 4053 4146 echo "configure: warning: building without readline: disabling fancy display" 1>&2 4054 4147 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 4055 echo "configure:4 056: checking for tgetent in -lncurses" >&54148 echo "configure:4149: checking for tgetent in -lncurses" >&5 4056 4149 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 4057 4150 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4061 4154 LIBS="-lncurses $LIBS" 4062 4155 cat > conftest.$ac_ext <<EOF 4063 #line 4 064"configure"4156 #line 4157 "configure" 4064 4157 #include "confdefs.h" 4065 4158 /* Override any gcc2 internal prototype to avoid an error. */ … … 4072 4165 ; return 0; } 4073 4166 EOF 4074 if { (eval echo configure:4 075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4167 if { (eval echo configure:4168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4075 4168 rm -rf conftest* 4076 4169 eval "ac_cv_lib_$ac_lib_var=yes" … … 4099 4192 \ 4100 4193 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 4101 echo "configure:41 02: checking for tgetent in -lcurses" >&54194 echo "configure:4195: checking for tgetent in -lcurses" >&5 4102 4195 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 4103 4196 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4107 4200 LIBS="-lcurses $LIBS" 4108 4201 cat > conftest.$ac_ext <<EOF 4109 #line 4 110"configure"4202 #line 4203 "configure" 4110 4203 #include "confdefs.h" 4111 4204 /* Override any gcc2 internal prototype to avoid an error. */ … … 4118 4211 ; return 0; } 4119 4212 EOF 4120 if { (eval echo configure:4 121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4213 if { (eval echo configure:4214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4121 4214 rm -rf conftest* 4122 4215 eval "ac_cv_lib_$ac_lib_var=yes" … … 4145 4238 \ 4146 4239 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 4147 echo "configure:4 148: checking for tgetent in -ltermcap" >&54240 echo "configure:4241: checking for tgetent in -ltermcap" >&5 4148 4241 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 4149 4242 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4153 4246 LIBS="-ltermcap $LIBS" 4154 4247 cat > conftest.$ac_ext <<EOF 4155 #line 4 156"configure"4248 #line 4249 "configure" 4156 4249 #include "confdefs.h" 4157 4250 /* Override any gcc2 internal prototype to avoid an error. */ … … 4164 4257 ; return 0; } 4165 4258 EOF 4166 if { (eval echo configure:4 167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4259 if { (eval echo configure:4260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4167 4260 rm -rf conftest* 4168 4261 eval "ac_cv_lib_$ac_lib_var=yes" … … 4203 4296 else 4204 4297 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 4205 echo "configure:42 06: checking for tgetent in -lncurses" >&54298 echo "configure:4299: checking for tgetent in -lncurses" >&5 4206 4299 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 4207 4300 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4211 4304 LIBS="-lncurses $LIBS" 4212 4305 cat > conftest.$ac_ext <<EOF 4213 #line 4 214"configure"4306 #line 4307 "configure" 4214 4307 #include "confdefs.h" 4215 4308 /* Override any gcc2 internal prototype to avoid an error. */ … … 4222 4315 ; return 0; } 4223 4316 EOF 4224 if { (eval echo configure:4 225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4317 if { (eval echo configure:4318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4225 4318 rm -rf conftest* 4226 4319 eval "ac_cv_lib_$ac_lib_var=yes" … … 4249 4342 \ 4250 4343 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 4251 echo "configure:4 252: checking for tgetent in -lcurses" >&54344 echo "configure:4345: checking for tgetent in -lcurses" >&5 4252 4345 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 4253 4346 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4257 4350 LIBS="-lcurses $LIBS" 4258 4351 cat > conftest.$ac_ext <<EOF 4259 #line 4 260"configure"4352 #line 4353 "configure" 4260 4353 #include "confdefs.h" 4261 4354 /* Override any gcc2 internal prototype to avoid an error. */ … … 4268 4361 ; return 0; } 4269 4362 EOF 4270 if { (eval echo configure:4 271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4363 if { (eval echo configure:4364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4271 4364 rm -rf conftest* 4272 4365 eval "ac_cv_lib_$ac_lib_var=yes" … … 4295 4388 \ 4296 4389 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 4297 echo "configure:4 298: checking for tgetent in -ltermcap" >&54390 echo "configure:4391: checking for tgetent in -ltermcap" >&5 4298 4391 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 4299 4392 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4303 4396 LIBS="-ltermcap $LIBS" 4304 4397 cat > conftest.$ac_ext <<EOF 4305 #line 43 06"configure"4398 #line 4399 "configure" 4306 4399 #include "confdefs.h" 4307 4400 /* Override any gcc2 internal prototype to avoid an error. */ … … 4314 4407 ; return 0; } 4315 4408 EOF 4316 if { (eval echo configure:4 317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4409 if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4317 4410 rm -rf conftest* 4318 4411 eval "ac_cv_lib_$ac_lib_var=yes" … … 4356 4449 # gmp, smallgmp, MP, MPT, factory, libfac 4357 4450 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 4358 echo "configure:4 359: checking for mpq_init in -lgmp" >&54451 echo "configure:4452: checking for mpq_init in -lgmp" >&5 4359 4452 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 4360 4453 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4364 4457 LIBS="-lgmp $LIBS" 4365 4458 cat > conftest.$ac_ext <<EOF 4366 #line 4 367"configure"4459 #line 4460 "configure" 4367 4460 #include "confdefs.h" 4368 4461 /* Override any gcc2 internal prototype to avoid an error. */ … … 4375 4468 ; return 0; } 4376 4469 EOF 4377 if { (eval echo configure:4 378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4470 if { (eval echo configure:4471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4378 4471 rm -rf conftest* 4379 4472 eval "ac_cv_lib_$ac_lib_var=yes" … … 4406 4499 fi 4407 4500 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 4408 echo "configure:4 409: checking for mpz_init in -lsmallgmp" >&54501 echo "configure:4502: checking for mpz_init in -lsmallgmp" >&5 4409 4502 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 4410 4503 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4414 4507 LIBS="-lsmallgmp $LIBS" 4415 4508 cat > conftest.$ac_ext <<EOF 4416 #line 4 417"configure"4509 #line 4510 "configure" 4417 4510 #include "confdefs.h" 4418 4511 /* Override any gcc2 internal prototype to avoid an error. */ … … 4425 4518 ; return 0; } 4426 4519 EOF 4427 if { (eval echo configure:4 428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4520 if { (eval echo configure:4521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4428 4521 rm -rf conftest* 4429 4522 eval "ac_cv_lib_$ac_lib_var=yes" … … 4453 4546 4454 4547 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4455 echo "configure:4 456: checking for IMP_PutGmpInt in -lMP" >&54548 echo "configure:4549: checking for IMP_PutGmpInt in -lMP" >&5 4456 4549 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4457 4550 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4461 4554 LIBS="-lMP $LIBS" 4462 4555 cat > conftest.$ac_ext <<EOF 4463 #line 4 464"configure"4556 #line 4557 "configure" 4464 4557 #include "confdefs.h" 4465 4558 /* Override any gcc2 internal prototype to avoid an error. */ … … 4472 4565 ; return 0; } 4473 4566 EOF 4474 if { (eval echo configure:4 475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4567 if { (eval echo configure:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4475 4568 rm -rf conftest* 4476 4569 eval "ac_cv_lib_$ac_lib_var=yes" … … 4500 4593 4501 4594 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4502 echo "configure:45 03: checking for MPT_GetTree in -lMPT" >&54595 echo "configure:4596: checking for MPT_GetTree in -lMPT" >&5 4503 4596 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4504 4597 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4508 4601 LIBS="-lMPT $LIBS" 4509 4602 cat > conftest.$ac_ext <<EOF 4510 #line 4 511"configure"4603 #line 4604 "configure" 4511 4604 #include "confdefs.h" 4512 4605 /* Override any gcc2 internal prototype to avoid an error. */ … … 4519 4612 ; return 0; } 4520 4613 EOF 4521 if { (eval echo configure:4 522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4614 if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4522 4615 rm -rf conftest* 4523 4616 eval "ac_cv_lib_$ac_lib_var=yes" … … 4547 4640 4548 4641 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4549 echo "configure:4 550: checking for atof in -lsingcf" >&54642 echo "configure:4643: checking for atof in -lsingcf" >&5 4550 4643 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4551 4644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4555 4648 LIBS="-lsingcf $LIBS" 4556 4649 cat > conftest.$ac_ext <<EOF 4557 #line 4 558"configure"4650 #line 4651 "configure" 4558 4651 #include "confdefs.h" 4559 4652 /* Override any gcc2 internal prototype to avoid an error. */ … … 4566 4659 ; return 0; } 4567 4660 EOF 4568 if { (eval echo configure:4 569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4661 if { (eval echo configure:4662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4569 4662 rm -rf conftest* 4570 4663 eval "ac_cv_lib_$ac_lib_var=yes" … … 4594 4687 4595 4688 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4596 echo "configure:4 597: checking for atof in -lsingfac" >&54689 echo "configure:4690: checking for atof in -lsingfac" >&5 4597 4690 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4598 4691 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4602 4695 LIBS="-lsingfac $LIBS" 4603 4696 cat > conftest.$ac_ext <<EOF 4604 #line 46 05"configure"4697 #line 4698 "configure" 4605 4698 #include "confdefs.h" 4606 4699 /* Override any gcc2 internal prototype to avoid an error. */ … … 4613 4706 ; return 0; } 4614 4707 EOF 4615 if { (eval echo configure:4 616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4708 if { (eval echo configure:4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4616 4709 rm -rf conftest* 4617 4710 eval "ac_cv_lib_$ac_lib_var=yes" … … 4645 4738 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4646 4739 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4647 echo "configure:4 648: checking for $ac_hdr" >&54740 echo "configure:4741: checking for $ac_hdr" >&5 4648 4741 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4649 4742 echo $ac_n "(cached) $ac_c" 1>&6 4650 4743 else 4651 4744 cat > conftest.$ac_ext <<EOF 4652 #line 4 653"configure"4745 #line 4746 "configure" 4653 4746 #include "confdefs.h" 4654 4747 #include <$ac_hdr> 4655 4748 EOF 4656 4749 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4657 { (eval echo configure:4 658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4658 ac_err=`grep -v '^ *+' conftest.out `4750 { (eval echo configure:4751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4659 4752 if test -z "$ac_err"; then 4660 4753 rm -rf conftest* … … 4712 4805 # evaluate results 4713 4806 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4714 echo "configure:4 715: checking which apint package to use" >&54807 echo "configure:4808: checking which apint package to use" >&5 4715 4808 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 4716 4809 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 4756 4849 if test "$with_dl" != no; then 4757 4850 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 4758 echo "configure:4 759: checking for dlopen in -ldl" >&54851 echo "configure:4852: checking for dlopen in -ldl" >&5 4759 4852 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 4760 4853 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4764 4857 LIBS="-ldl $LIBS" 4765 4858 cat > conftest.$ac_ext <<EOF 4766 #line 4 767"configure"4859 #line 4860 "configure" 4767 4860 #include "confdefs.h" 4768 4861 /* Override any gcc2 internal prototype to avoid an error. */ … … 4775 4868 ; return 0; } 4776 4869 EOF 4777 if { (eval echo configure:4 778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4870 if { (eval echo configure:4871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4778 4871 rm -rf conftest* 4779 4872 eval "ac_cv_lib_$ac_lib_var=yes" … … 4813 4906 fi 4814 4907 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4815 echo "configure:4 816: checking for shl_load in -ldld" >&54908 echo "configure:4909: checking for shl_load in -ldld" >&5 4816 4909 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4817 4910 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4821 4914 LIBS="-ldld $LIBS" 4822 4915 cat > conftest.$ac_ext <<EOF 4823 #line 4 824"configure"4916 #line 4917 "configure" 4824 4917 #include "confdefs.h" 4825 4918 /* Override any gcc2 internal prototype to avoid an error. */ … … 4832 4925 ; return 0; } 4833 4926 EOF 4834 if { (eval echo configure:4 835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4927 if { (eval echo configure:4928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4835 4928 rm -rf conftest* 4836 4929 eval "ac_cv_lib_$ac_lib_var=yes" … … 4872 4965 4873 4966 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4874 echo "configure:4 875: checking whether to have MP" >&54967 echo "configure:4968: checking whether to have MP" >&5 4875 4968 if test "${with_MP}" != yes && test "${with_MP}" != no; then 4876 4969 if (test "${will_have_gmp}" = yes) && \ … … 4903 4996 4904 4997 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4905 echo "configure:49 06: checking whether to have factory" >&54998 echo "configure:4999: checking whether to have factory" >&5 4906 4999 if test "${with_factory}" != yes && test "${with_factory}" != no; then 4907 5000 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 4934 5027 4935 5028 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 4936 echo "configure: 4937: checking whether to have libfac" >&55029 echo "configure:5030: checking whether to have libfac" >&5 4937 5030 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 4938 5031 if (test "${will_have_factory}" = yes) && \ … … 4966 5059 4967 5060 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 4968 echo "configure: 4969: checking whether to have dbm links" >&55061 echo "configure:5062: checking whether to have dbm links" >&5 4969 5062 if test "$with_dbm" != no; then 4970 5063 cat >> confdefs.h <<\EOF … … 4978 5071 4979 5072 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 4980 echo "configure: 4981: checking whether to have namespaces" >&55073 echo "configure:5074: checking whether to have namespaces" >&5 4981 5074 if test "$with_namespaces" != yes; then 4982 5075 echo "$ac_t""no" 1>&6 … … 4990 5083 4991 5084 echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6 4992 echo "configure: 4993: checking whether to have dynamic loading" >&55085 echo "configure:5086: checking whether to have dynamic loading" >&5 4993 5086 if test "$with_dl" != yes; then 4994 5087 echo "$ac_t""no" 1>&6 … … 5003 5096 HPUX-9) 5004 5097 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 5005 echo "configure:50 06: checking for shl_load in -ldld" >&55098 echo "configure:5099: checking for shl_load in -ldld" >&5 5006 5099 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 5007 5100 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5011 5104 LIBS="-ldld $LIBS" 5012 5105 cat > conftest.$ac_ext <<EOF 5013 #line 5 014"configure"5106 #line 5107 "configure" 5014 5107 #include "confdefs.h" 5015 5108 /* Override any gcc2 internal prototype to avoid an error. */ … … 5022 5115 ; return 0; } 5023 5116 EOF 5024 if { (eval echo configure:5 025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then5117 if { (eval echo configure:5118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5025 5118 rm -rf conftest* 5026 5119 eval "ac_cv_lib_$ac_lib_var=yes" … … 5054 5147 HPUX-10) 5055 5148 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 5056 echo "configure:5 057: checking for shl_load in -ldld" >&55149 echo "configure:5150: checking for shl_load in -ldld" >&5 5057 5150 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 5058 5151 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5062 5155 LIBS="-ldld $LIBS" 5063 5156 cat > conftest.$ac_ext <<EOF 5064 #line 5 065"configure"5157 #line 5158 "configure" 5065 5158 #include "confdefs.h" 5066 5159 /* Override any gcc2 internal prototype to avoid an error. */ … … 5073 5166 ; return 0; } 5074 5167 EOF 5075 if { (eval echo configure:5 076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then5168 if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5076 5169 rm -rf conftest* 5077 5170 eval "ac_cv_lib_$ac_lib_var=yes" … … 5112 5205 5113 5206 echo $ac_n "checking whether to use mtrack""... $ac_c" 1>&6 5114 echo "configure:5 115: checking whether to use mtrack" >&55207 echo "configure:5208: checking whether to use mtrack" >&5 5115 5208 if test "$with_mtrack" = yes && test "$ac_cv_singuname" = ix86-Linux; then 5116 5209 echo "$ac_t""yes" 1>&6 … … 5126 5219 5127 5220 echo $ac_n "checking which exponent type to use""... $ac_c" 1>&6 5128 echo "configure:5 129: checking which exponent type to use" >&55221 echo "configure:5222: checking which exponent type to use" >&5 5129 5222 if test "$with_exp_type" = "char"; then 5130 5223 echo "$ac_t""char" 1>&6 … … 5182 5275 # and sets the high bit in the cache file unless we assign to the vars. 5183 5276 (set) 2>&1 | 5184 case `(ac_space=' '; set ) 2>&1` in5277 case `(ac_space=' '; set | grep ac_space) 2>&1` in 5185 5278 *ac_space=\ *) 5186 5279 # `set' does not quote correctly, so add quotes (double-quote substitution … … 5249 5342 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 5250 5343 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 5251 echo "$CONFIG_STATUS generated by autoconf version 2.1 2"5344 echo "$CONFIG_STATUS generated by autoconf version 2.13" 5252 5345 exit 0 ;; 5253 5346 -help | --help | --hel | --he | --h) … … 5268 5361 $ac_vpsub 5269 5362 $extrasub 5363 s%@SHELL@%$SHELL%g 5270 5364 s%@CFLAGS@%$CFLAGS%g 5271 5365 s%@CPPFLAGS@%$CPPFLAGS%g 5272 5366 s%@CXXFLAGS@%$CXXFLAGS%g 5367 s%@FFLAGS@%$FFLAGS%g 5273 5368 s%@DEFS@%$DEFS%g 5274 5369 s%@LDFLAGS@%$LDFLAGS%g -
Singular/extra.cc
r571625 r0e002d 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.11 7 1999-11-17 10:51:04obachman Exp $ */4 /* $Id: extra.cc,v 1.118 1999-11-19 16:42:39 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 1122 1122 poly p = (poly) h->Data(); 1123 1123 ring cr = currRing; 1124 ring r = rCurrRingAssure_ C_dp();1124 ring r = rCurrRingAssure_SyzComp_CompLastBlock(); 1125 1125 poly p_r = prCopyR(p, cr); 1126 1126 pTest(p_r); 1127 1127 pWrite(p_r); 1128 rChangeCurrRing(cr, TRUE); 1128 rWrite(r); 1129 pDelete(&p_r); 1130 assume(rCurrRingAssure_SyzComp() == currRing && 1131 rCurrRingAssure_CompLastBlock() == currRing && 1132 rCurrRingAssure_SyzComp_CompLastBlock() == currRing); 1133 if (r != cr) 1134 { 1135 rChangeCurrRing(cr, TRUE); 1136 rKill(r); 1137 } 1129 1138 return FALSE; 1130 1139 } -
Singular/ideals.cc
r571625 r0e002d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1.7 5 1999-11-17 12:09:24obachman Exp $ */4 /* $Id: ideals.cc,v 1.76 1999-11-19 16:42:40 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 1086 1086 1087 1087 ring orig_ring=currRing; 1088 ring syz_ring=rCurrRingAssure SyzComp();1088 ring syz_ring=rCurrRingAssure_SyzComp(); 1089 1089 rSetSyzComp(length); 1090 1090 … … 1210 1210 1211 1211 ring orig_ring=currRing; 1212 ring syz_ring=rCurrRingAssure SyzComp();1212 ring syz_ring=rCurrRingAssure_SyzComp(); 1213 1213 rSetSyzComp(syzComp); 1214 1214 … … 1364 1364 assume(currRing != NULL); 1365 1365 ring orig_ring=currRing; 1366 ring syz_ring=rCurrRingAssure SyzComp();1366 ring syz_ring=rCurrRingAssure_SyzComp(); 1367 1367 1368 1368 if (setSyzComp) … … 1476 1476 1477 1477 ring orig_ring=currRing; 1478 ring syz_ring=rCurrRingAssure SyzComp();1478 ring syz_ring=rCurrRingAssure_SyzComp(); 1479 1479 rSetSyzComp(k); 1480 1480 … … 1577 1577 1578 1578 ring orig_ring=currRing; 1579 ring syz_ring=rCurrRingAssure SyzComp();1579 ring syz_ring=rCurrRingAssure_SyzComp(); 1580 1580 rSetSyzComp(k); 1581 1581 … … 1662 1662 1663 1663 ring orig_ring=currRing; 1664 ring syz_ring=rCurrRingAssure SyzComp();1664 ring syz_ring=rCurrRingAssure_SyzComp(); 1665 1665 rSetSyzComp(max(k,1)); 1666 1666 … … 1878 1878 hom = (tHomog)idHomModule(s_h4,currQuotient,&weights1); 1879 1879 ring orig_ring=currRing; 1880 ring syz_ring=rCurrRingAssure SyzComp();1880 ring syz_ring=rCurrRingAssure_SyzComp(); 1881 1881 rSetSyzComp(kmax-1); 1882 1882 if (orig_ring!=syz_ring) … … 2812 2812 { 2813 2813 ring orig_ring=currRing; 2814 ring syz_ring=rCurrRingAssure SyzComp();2814 ring syz_ring=rCurrRingAssure_SyzComp(); 2815 2815 rSetSyzComp(length); 2816 2816 … … 2912 2912 2913 2913 ring orig_ring=currRing; 2914 ring syz_ring=rCurrRingAssure SyzComp();2914 ring syz_ring=rCurrRingAssure_SyzComp(); 2915 2915 rSetSyzComp(length); 2916 2916 ideal s_temp; -
Singular/ring.cc
r571625 r0e002d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ring.cc,v 1.8 8 1999-11-19 15:17:47 SingularExp $ */4 /* $Id: ring.cc,v 1.89 1999-11-19 16:42:41 obachman Exp $ */ 5 5 6 6 /* … … 1738 1738 { 1739 1739 if (r == NULL) return NULL; 1740 rTest(r);1741 1740 int i,j; 1742 1741 ring res=(ring)AllocSizeOf(ip_sring); 1743 1742 1744 1743 memcpy4(res,r,sizeof(ip_sring)); 1744 res->VarOffset = NULL; 1745 1745 res->ref=0; 1746 1746 if (r->parameter!=NULL) … … 1792 1792 if (r->qideal!=NULL) 1793 1793 { 1794 if (copy_qideal) res->qideal= id Copy(r->qideal);1794 if (copy_qideal) res->qideal= idrCopyR_NoSort(r->qideal, r); 1795 1795 else res->qideal = NULL; 1796 1796 } … … 1995 1995 if (r == NULL) 1996 1996 { 1997 W error("Null ring in %s:%d\n", fn, l);1997 Warn("Null ring in %s:%d\n", fn, l); 1998 1998 return FALSE; 1999 1999 } … … 2015 2015 if (r->VarOffset == NULL) 2016 2016 { 2017 W error("Null ring VarOffset -- no rComplete (?) in n %s:%d\n", fn, l);2017 Warn("Null ring VarOffset -- no rComplete (?) in n %s:%d\n", fn, l); 2018 2018 return FALSE; 2019 2019 } … … 2024 2024 if ((r->OrdSize==0)!=(r->typ==NULL)) 2025 2025 { 2026 W error("mismatch OrdSize and typ-pointer in %s:%d",fn,l);2026 Warn("mismatch OrdSize and typ-pointer in %s:%d",fn,l); 2027 2027 return FALSE; 2028 2028 } … … 2042 2042 { 2043 2043 if(((short)r->VarOffset[i]) == r->typ[j].data.cp.place) 2044 Print("ordrec %d conflicts with var %d\n",j,i);2044 Warn("ordrec %d conflicts with var %d\n",j,i); 2045 2045 } 2046 2046 else … … 2048 2048 && (r->VarOffset[i]/(sizeof(long)/sizeof(Exponent_t))) 2049 2049 == (size_t)r->typ[j].data.dp.place) 2050 Print("ordrec %d conflicts with var %d\n",j,i);2050 Warn("ordrec %d conflicts with var %d\n",j,i); 2051 2051 } 2052 2052 } … … 2059 2059 if ((r->VarOffset[i] >> 24) >31) 2060 2060 #endif 2061 Print("bit_start out of range:%d\n",r->VarOffset[i] >> 24);2061 Warn("bit_start out of range:%d\n",r->VarOffset[i] >> 24); 2062 2062 #else 2063 2063 tmp=r->VarOffset[i]; … … 2065 2065 if ((tmp<0) ||(tmp>r->ExpESize-1)) 2066 2066 { 2067 Print("varoffset out of range for var %d: %d\n",i,tmp);2067 Warn("varoffset out of range for var %d: %d\n",i,tmp); 2068 2068 } 2069 2069 } … … 2076 2076 { 2077 2077 if (r->typ[j].data.dp.start > r->typ[j].data.dp.end) 2078 Print("in ordrec %d: start(%d) > end(%d)\n",j,2078 Warn("in ordrec %d: start(%d) > end(%d)\n",j, 2079 2079 r->typ[j].data.dp.start, r->typ[j].data.dp.end); 2080 2080 if ((r->typ[j].data.dp.start < 1) 2081 2081 || (r->typ[j].data.dp.end > r->N)) 2082 Print("in ordrec %d: start(%d)<1 or end(%d)>vars(%d)\n",j,2082 Warn("in ordrec %d: start(%d)<1 or end(%d)>vars(%d)\n",j, 2083 2083 r->typ[j].data.dp.start, r->typ[j].data.dp.end,r->N); 2084 2084 } … … 2279 2279 case 0x3: bits=2; break; 2280 2280 default: 2281 W error("unknown bitmask %xl",r->bitmask);2281 Warn("unknown bitmask %xl",r->bitmask); 2282 2282 return TRUE; 2283 2283 } … … 3102 3102 { 3103 3103 if (r == NULL) return; 3104 if (r->mm_specHeap != NULL) 3105 mmUnGetSpecHeap(&(r->mm_specHeap)); 3106 Free((ADDRESS)r->VarOffset, (r->N +1)*sizeof(int)); 3107 if (r->order != NULL) 3108 { 3109 if (r->order[0] == ringorder_s && r->typ[0].data.syz.limit > 0) 3110 { 3111 Free(r->typ[0].data.syz.syz_index, 3112 (r->typ[0].data.syz.limit +1)*sizeof(int)); 3113 } 3114 } 3115 if (r->OrdSize!=0 && r->typ != NULL) 3116 { 3117 Free((ADDRESS)r->typ,r->OrdSize*sizeof(sro_ord)); 3118 } 3119 if (r->ordsgn != NULL && r->pCompLSize != 0) 3120 Free((ADDRESS)r->ordsgn,r->pCompLSize*sizeof(long)); 3104 if (r->VarOffset != NULL) 3105 { 3106 if (r->mm_specHeap != NULL) 3107 mmUnGetSpecHeap(&(r->mm_specHeap)); 3108 3109 Free((ADDRESS)r->VarOffset, (r->N +1)*sizeof(int)); 3110 if (r->order != NULL) 3111 { 3112 if (r->order[0] == ringorder_s && r->typ[0].data.syz.limit > 0) 3113 { 3114 Free(r->typ[0].data.syz.syz_index, 3115 (r->typ[0].data.syz.limit +1)*sizeof(int)); 3116 } 3117 } 3118 if (r->OrdSize!=0 && r->typ != NULL) 3119 { 3120 Free((ADDRESS)r->typ,r->OrdSize*sizeof(sro_ord)); 3121 } 3122 if (r->ordsgn != NULL && r->pCompLSize != 0) 3123 Free((ADDRESS)r->ordsgn,r->pCompLSize*sizeof(long)); 3124 } 3121 3125 } 3122 3126 … … 3223 3227 } 3224 3228 3225 #if 03226 /*23227 * create a copy of the ring r, which must be equivalent to currRing3228 * used for qring definition,..3229 * (i.e.: normal rings: same nCopy as currRing;3230 * qring: same nCopy, same idCopy as currRing)3231 */3232 ring rCopyAndAddSComps(ring r)3233 {3234 int i,j;3235 int *pi;3236 ring res=(ring)AllocSizeOf(ip_sring);3237 3238 memcpy4(res,r,sizeof(ip_sring));3239 res->ref=0;3240 if (r->parameter!=NULL)3241 {3242 res->minpoly=nCopy(r->minpoly);3243 int l=rPar(r);3244 res->parameter=(char **)Alloc(l*sizeof(char_ptr));3245 int i;3246 for(i=0;i<r->P;i++)3247 {3248 res->parameter[i]=mstrdup(r->parameter[i]);3249 }3250 }3251 res->names = (char **)Alloc(r->N * sizeof(char_ptr));3252 i=1; // ringorder_C -> ringorder_S3253 pi=r->order;3254 while ((*pi)!=0) { i++;pi++; }3255 res->wvhdl = (int **)Alloc(i * sizeof(int_ptr));3256 res->order = (int *) Alloc(i * sizeof(int));3257 res->block0 = (int *) Alloc(i * sizeof(int));3258 res->block1 = (int *) Alloc(i * sizeof(int));3259 for (j=0; j<i; j++)3260 {3261 if (r->wvhdl[j]!=NULL)3262 {3263 res->wvhdl[j]=(int*)AllocL(mmSizeL((ADDRESS)r->wvhdl[j]));3264 memcpy(res->wvhdl[j],r->wvhdl[j],mmSizeL((ADDRESS)r->wvhdl[j]));3265 }3266 else3267 res->wvhdl[j]=NULL;3268 }3269 memcpy4(res->order+1,r->order,i * sizeof(int));3270 memcpy4(res->block0+1,r->block0,i * sizeof(int));3271 memcpy4(res->block1+1,r->block1,i * sizeof(int));3272 for (i=0; i<res->N; i++)3273 {3274 res->names[i] = mstrdup(r->names[i]);3275 }3276 res->idroot = NULL;3277 if (r->qideal!=NULL) res->qideal= idCopy(r->qideal);3278 // add the additional ordering:3279 res->order[1]=ringorder_S;3280 res->block0[1]=1;3281 res->block1[1]=0; // block1-block0 is the length3282 res->wvhdl[1]=NULL;3283 rComplete(res, 1);3284 return res;3285 }3286 #endif3287 3229 3288 3230 /*2 … … 3337 3279 3338 3280 // for the time being, this is still here 3339 static ring rAssure SyzComp(ring r);3340 ring rCurrRingAssure SyzComp()3341 { 3342 ring r = rAssure SyzComp(currRing);3281 static ring rAssure_SyzComp(ring r, BOOLEAN complete = TRUE); 3282 ring rCurrRingAssure_SyzComp() 3283 { 3284 ring r = rAssure_SyzComp(currRing); 3343 3285 if (r != currRing) 3344 3286 { … … 3355 3297 } 3356 3298 3357 static ring rAssure SyzComp(ring r)3299 static ring rAssure_SyzComp(ring r, BOOLEAN complete = TRUE) 3358 3300 { 3359 3301 if (r->order[0] == ringorder_s) return r; 3360 3361 3302 ring res=rCopy0(r, FALSE, FALSE); 3362 3303 int i=rBlocks(r); … … 3384 3325 res->wvhdl = wvhdl; 3385 3326 3386 rComplete(res,1);3327 if (complete) rComplete(res, 1); 3387 3328 return res; 3388 3329 } 3389 3330 3331 static ring rAssure_CompLastBlock(ring r, BOOLEAN complete = TRUE) 3332 { 3333 int last_block = rBlocks(r) - 2; 3334 if (r->order[last_block] != ringorder_c && 3335 r->order[last_block] != ringorder_C) 3336 { 3337 int c_pos = 0; 3338 int i; 3339 3340 for (i=0; i< last_block; i++) 3341 { 3342 if (r->order[i] == ringorder_c || r->order[i] == ringorder_C) 3343 { 3344 c_pos = i; 3345 break; 3346 } 3347 } 3348 if (c_pos != -1) 3349 { 3350 ring new_r = rCopy0(r, FALSE, TRUE); 3351 for (i=c_pos+1; i<=last_block; i++) 3352 { 3353 new_r->order[i-1] = new_r->order[i]; 3354 new_r->block0[i-1] = new_r->block0[i]; 3355 new_r->block1[i-1] = new_r->block1[i]; 3356 new_r->wvhdl[i-1] = new_r->wvhdl[i]; 3357 } 3358 new_r->order[last_block] = r->order[c_pos]; 3359 new_r->block0[last_block] = r->block0[c_pos]; 3360 new_r->block1[last_block] = r->block1[c_pos]; 3361 new_r->wvhdl[last_block] = r->wvhdl[c_pos]; 3362 if (complete) rComplete(new_r, 1); 3363 return new_r; 3364 } 3365 } 3366 return r; 3367 } 3368 3369 ring rCurrRingAssure_CompLastBlock() 3370 { 3371 ring new_r = rAssure_CompLastBlock(currRing); 3372 if (currRing != new_r) 3373 { 3374 ring old_r = currRing; 3375 rChangeCurrRing(new_r, TRUE); 3376 if (old_r->qideal != NULL) 3377 { 3378 new_r->qideal = idrCopyR(old_r->qideal, old_r); 3379 currQuotient = new_r->qideal; 3380 } 3381 } 3382 return new_r; 3383 } 3384 3385 ring rCurrRingAssure_SyzComp_CompLastBlock() 3386 { 3387 ring new_r_1 = rAssure_CompLastBlock(currRing, FALSE); 3388 ring new_r = rAssure_SyzComp(new_r_1, FALSE); 3389 3390 if (new_r != currRing) 3391 { 3392 ring old_r = currRing; 3393 if (new_r_1 != new_r && new_r_1 != old_r) rDelete(new_r_1); 3394 rComplete(new_r, 1); 3395 rChangeCurrRing(new_r, TRUE); 3396 if (old_r->qideal != NULL) 3397 { 3398 new_r->qideal = idrCopyR(old_r->qideal, old_r); 3399 currQuotient = new_r->qideal; 3400 } 3401 rTest(new_r); 3402 rTest(old_r); 3403 } 3404 return new_r; 3405 } 3390 3406 3391 3407 // use this for global orderings consisting of two blocks … … 3396 3412 3397 3413 assume(b1 == ringorder_c || b1 == ringorder_C || 3398 b2 == ringorder_c || b 1== ringorder_C ||3414 b2 == ringorder_c || b2 == ringorder_C || 3399 3415 b2 == ringorder_S); 3400 3416 3401 if (r_blocks == 2 && currRing->order[0] == b1 && currRing->order[2] == 0) 3417 #if THOMAS_HAS_FIXED_ALLRES 3418 if (r_blocks == 3 && 3419 currRing->order[0] == b1 && 3420 currRing->order[1] == b2 && 3421 currRing->order[2] == 0) 3402 3422 return currRing; 3403 3404 ring res = rCopy0(currRing, FALSE, FALSE); 3423 #endif 3424 3425 ring res = rCopy0(currRing, TRUE, FALSE); 3405 3426 res->order = (int*)Alloc0(3*sizeof(int)); 3406 3427 res->block0 = (int*)Alloc0(3*sizeof(int)); -
Singular/ring.h
r571625 r0e002d 7 7 * ABSTRACT - the interpreter related ring operations 8 8 */ 9 /* $Id: ring.h,v 1.4 3 1999-11-18 14:47:02 obachman Exp $ */9 /* $Id: ring.h,v 1.44 1999-11-19 16:42:42 obachman Exp $ */ 10 10 11 11 /* includes */ … … 192 192 193 193 // Ring Manipulations 194 ring rCurrRingAssure SyzComp();194 ring rCurrRingAssure_SyzComp(); 195 195 void rSetSyzComp(int k); 196 196 ring rCurrRingAssure_dp_S(); 197 197 ring rCurrRingAssure_dp_C(); 198 198 ring rCurrRingAssure_C_dp(); 199 // makes sure that c/C ordering is last ordering 200 ring rCurrRingAssure_CompLastBlock(); 201 // makes sure that c/C ordering is last ordering and SyzIndex is first 202 ring rCurrRingAssure_SyzComp_CompLastBlock(); 203 199 204 // return the max-comonent wchich has syzIndex i 200 205 // Assume: i<= syzIndex_limit -
Singular/syz.cc
r571625 r0e002d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: syz.cc,v 1.3 0 1999-11-18 18:43:57 siebertExp $ */4 /* $Id: syz.cc,v 1.31 1999-11-19 16:42:42 obachman Exp $ */ 5 5 6 6 /* … … 424 424 /*--- initialize the syzygy-ring -----------------------------*/ 425 425 ring origR = currRing; 426 ring syz_ring = rCurrRingAssure SyzComp();426 ring syz_ring = rCurrRingAssure_SyzComp(); 427 427 rSetSyzComp(rk_arg); 428 428 -
Singular/syz2.cc
r571625 r0e002d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: syz2.cc,v 1. 9 1999-11-18 18:43:58 siebertExp $ */4 /* $Id: syz2.cc,v 1.10 1999-11-19 16:42:43 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: resolutions … … 954 954 // Creare dp,S ring and change to it 955 955 syzstr->syRing = rCurrRingAssure_dp_C(); 956 assume(syzstr->syRing != origR);957 956 958 957 // set initial ShiftedComps
Note: See TracChangeset
for help on using the changeset viewer.