Changeset aac46c in git
- Timestamp:
- Dec 14, 1999, 4:53:15 PM (23 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
- Children:
- 2bdfccbccdab814148f3d987b9a8100db861d0fc
- Parents:
- 002eadb7aea4ec696a64e2ab62c5bab73995fb0b
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.in
r002ead raac46c 14 14 SINGULAR = @SINGULAR@ 15 15 16 BUILD_SUBDIRS = @ CONFIG_SUBDIRS@ @BUILD_SUBDIRS@16 BUILD_SUBDIRS = @BUILD_SUBDIRS@ 17 17 SUBDIRS = @SUBDIRS@ 18 18 -
Singular/configure
r002ead raac46c 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 # … … 21 21 --with-perl5=[PERL5,no] uses PERL5 as perl5 program, default is perl5" 22 22 ac_help="$ac_help 23 --with out-readline do not usereadline for fancy display"23 --with-readline do use static readline for fancy display" 24 24 ac_help="$ac_help 25 25 --without-MP do not use MP (no MP links)" … … 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 … … 1211 1296 if test "${with_lex+set}" != set; then 1212 1297 echo $ac_n "checking for flex""... $ac_c" 1>&6 1213 echo "configure:12 14: checking for flex" >&51298 echo "configure:1299: checking for flex" >&5 1214 1299 if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then 1215 1300 echo $ac_n "(cached) $ac_c" 1>&6 … … 1242 1327 set dummy $ac_prog; ac_word=$2 1243 1328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1244 echo "configure:1 245: checking for $ac_word" >&51329 echo "configure:1330: checking for $ac_word" >&5 1245 1330 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 1246 1331 echo $ac_n "(cached) $ac_c" 1>&6 … … 1249 1334 ac_cv_prog_LEX="$LEX" # Let the user override the test. 1250 1335 else 1251 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1252 for ac_dir in $PATH; do 1336 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1337 ac_dummy="$PATH" 1338 for ac_dir in $ac_dummy; do 1253 1339 test -z "$ac_dir" && ac_dir=. 1254 1340 if test -f $ac_dir/$ac_word; then … … 1281 1367 set dummy $ac_prog; ac_word=$2 1282 1368 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1283 echo "configure:1 284: checking for $ac_word" >&51369 echo "configure:1370: checking for $ac_word" >&5 1284 1370 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1285 1371 echo $ac_n "(cached) $ac_c" 1>&6 … … 1288 1374 ac_cv_prog_BISON="$BISON" # Let the user override the test. 1289 1375 else 1290 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1291 for ac_dir in $PATH; do 1376 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1377 ac_dummy="$PATH" 1378 for ac_dir in $ac_dummy; do 1292 1379 test -z "$ac_dir" && ac_dir=. 1293 1380 if test -f $ac_dir/$ac_word; then … … 1315 1402 # ln -s 1316 1403 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1317 echo "configure:1 318: checking whether ln -s works" >&51404 echo "configure:1405: checking whether ln -s works" >&5 1318 1405 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1319 1406 echo $ac_n "(cached) $ac_c" 1>&6 … … 1338 1425 # lib checks 1339 1426 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1340 echo "configure:1 341: checking for atof in -lm" >&51427 echo "configure:1428: checking for atof in -lm" >&5 1341 1428 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1342 1429 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1346 1433 LIBS="-lm $LIBS" 1347 1434 cat > conftest.$ac_ext <<EOF 1348 #line 1 349"configure"1435 #line 1436 "configure" 1349 1436 #include "confdefs.h" 1350 1437 /* Override any gcc2 internal prototype to avoid an error. */ … … 1357 1444 ; return 0; } 1358 1445 EOF 1359 if { (eval echo configure:1 360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1446 if { (eval echo configure:1447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1360 1447 rm -rf conftest* 1361 1448 eval "ac_cv_lib_$ac_lib_var=yes" … … 1385 1472 1386 1473 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1387 echo "configure:1 388: checking for socket in -lbsd" >&51474 echo "configure:1475: checking for socket in -lbsd" >&5 1388 1475 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1389 1476 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1393 1480 LIBS="-lbsd $LIBS" 1394 1481 cat > conftest.$ac_ext <<EOF 1395 #line 1 396"configure"1482 #line 1483 "configure" 1396 1483 #include "confdefs.h" 1397 1484 /* Override any gcc2 internal prototype to avoid an error. */ … … 1404 1491 ; return 0; } 1405 1492 EOF 1406 if { (eval echo configure:14 07: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1493 if { (eval echo configure:1494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1407 1494 rm -rf conftest* 1408 1495 eval "ac_cv_lib_$ac_lib_var=yes" … … 1432 1519 1433 1520 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1434 echo "configure:1 435: checking for listen in -lsocket" >&51521 echo "configure:1522: checking for listen in -lsocket" >&5 1435 1522 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1436 1523 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1440 1527 LIBS="-lsocket $LIBS" 1441 1528 cat > conftest.$ac_ext <<EOF 1442 #line 1 443"configure"1529 #line 1530 "configure" 1443 1530 #include "confdefs.h" 1444 1531 /* Override any gcc2 internal prototype to avoid an error. */ … … 1451 1538 ; return 0; } 1452 1539 EOF 1453 if { (eval echo configure:1 454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1540 if { (eval echo configure:1541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1454 1541 rm -rf conftest* 1455 1542 eval "ac_cv_lib_$ac_lib_var=yes" … … 1479 1566 1480 1567 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1481 echo "configure:1 482: checking for gethostbyname in -lnsl" >&51568 echo "configure:1569: checking for gethostbyname in -lnsl" >&5 1482 1569 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1483 1570 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1487 1574 LIBS="-lnsl $LIBS" 1488 1575 cat > conftest.$ac_ext <<EOF 1489 #line 1 490"configure"1576 #line 1577 "configure" 1490 1577 #include "confdefs.h" 1491 1578 /* Override any gcc2 internal prototype to avoid an error. */ … … 1498 1585 ; return 0; } 1499 1586 EOF 1500 if { (eval echo configure:15 01: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1587 if { (eval echo configure:1588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1501 1588 rm -rf conftest* 1502 1589 eval "ac_cv_lib_$ac_lib_var=yes" … … 1526 1613 1527 1614 echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6 1528 echo "configure:1 529: checking for index in -lucb" >&51615 echo "configure:1616: checking for index in -lucb" >&5 1529 1616 ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'` 1530 1617 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1534 1621 LIBS="-lucb $LIBS" 1535 1622 cat > conftest.$ac_ext <<EOF 1536 #line 1 537"configure"1623 #line 1624 "configure" 1537 1624 #include "confdefs.h" 1538 1625 /* Override any gcc2 internal prototype to avoid an error. */ … … 1545 1632 ; return 0; } 1546 1633 EOF 1547 if { (eval echo configure:1 548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1634 if { (eval echo configure:1635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1548 1635 rm -rf conftest* 1549 1636 eval "ac_cv_lib_$ac_lib_var=yes" … … 1575 1662 # heder file checks 1576 1663 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1577 echo "configure:1 578: checking for ANSI C header files" >&51664 echo "configure:1665: checking for ANSI C header files" >&5 1578 1665 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1579 1666 echo $ac_n "(cached) $ac_c" 1>&6 1580 1667 else 1581 1668 cat > conftest.$ac_ext <<EOF 1582 #line 1 583"configure"1669 #line 1670 "configure" 1583 1670 #include "confdefs.h" 1584 1671 #include <stdlib.h> … … 1588 1675 EOF 1589 1676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1590 { (eval echo configure:1 591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1591 ac_err=`grep -v '^ *+' conftest.out `1677 { (eval echo configure:1678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1592 1679 if test -z "$ac_err"; then 1593 1680 rm -rf conftest* … … 1605 1692 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1606 1693 cat > conftest.$ac_ext <<EOF 1607 #line 16 08"configure"1694 #line 1695 "configure" 1608 1695 #include "confdefs.h" 1609 1696 #include <string.h> … … 1623 1710 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1624 1711 cat > conftest.$ac_ext <<EOF 1625 #line 1 626"configure"1712 #line 1713 "configure" 1626 1713 #include "confdefs.h" 1627 1714 #include <stdlib.h> … … 1644 1731 else 1645 1732 cat > conftest.$ac_ext <<EOF 1646 #line 1 647"configure"1733 #line 1734 "configure" 1647 1734 #include "confdefs.h" 1648 1735 #include <ctype.h> … … 1655 1742 1656 1743 EOF 1657 if { (eval echo configure:1 658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null1744 if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1658 1745 then 1659 1746 : … … 1682 1769 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1683 1770 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1684 echo "configure:1 685: checking for $ac_hdr" >&51771 echo "configure:1772: checking for $ac_hdr" >&5 1685 1772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1686 1773 echo $ac_n "(cached) $ac_c" 1>&6 1687 1774 else 1688 1775 cat > conftest.$ac_ext <<EOF 1689 #line 1 690"configure"1776 #line 1777 "configure" 1690 1777 #include "confdefs.h" 1691 1778 #include <$ac_hdr> 1692 1779 EOF 1693 1780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1694 { (eval echo configure:1 695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1695 ac_err=`grep -v '^ *+' conftest.out `1781 { (eval echo configure:1782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1696 1783 if test -z "$ac_err"; then 1697 1784 rm -rf conftest* … … 1720 1807 1721 1808 1722 for ac_hdr in malloc.h sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h sys/stat.h fcntl.h sys/param.h pwd.h asm/sigcontext.h pwd.h 1809 for ac_hdr in malloc.h sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h sys/stat.h fcntl.h sys/param.h pwd.h asm/sigcontext.h pwd.h termcap.h termios.h term.h 1723 1810 do 1724 1811 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1725 1812 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1726 echo "configure:1 727: checking for $ac_hdr" >&51813 echo "configure:1814: checking for $ac_hdr" >&5 1727 1814 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1728 1815 echo $ac_n "(cached) $ac_c" 1>&6 1729 1816 else 1730 1817 cat > conftest.$ac_ext <<EOF 1731 #line 1 732"configure"1818 #line 1819 "configure" 1732 1819 #include "confdefs.h" 1733 1820 #include <$ac_hdr> 1734 1821 EOF 1735 1822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1736 { (eval echo configure:1 737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1737 ac_err=`grep -v '^ *+' conftest.out `1823 { (eval echo configure:1824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1738 1825 if test -z "$ac_err"; then 1739 1826 rm -rf conftest* … … 1763 1850 # typedefs, structures 1764 1851 echo $ac_n "checking for working const""... $ac_c" 1>&6 1765 echo "configure:1 766: checking for working const" >&51852 echo "configure:1853: checking for working const" >&5 1766 1853 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1767 1854 echo $ac_n "(cached) $ac_c" 1>&6 1768 1855 else 1769 1856 cat > conftest.$ac_ext <<EOF 1770 #line 1 771"configure"1857 #line 1858 "configure" 1771 1858 #include "confdefs.h" 1772 1859 … … 1817 1904 ; return 0; } 1818 1905 EOF 1819 if { (eval echo configure:1 820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1906 if { (eval echo configure:1907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1820 1907 rm -rf conftest* 1821 1908 ac_cv_c_const=yes … … 1838 1925 1839 1926 echo $ac_n "checking for inline""... $ac_c" 1>&6 1840 echo "configure:1 841: checking for inline" >&51927 echo "configure:1928: checking for inline" >&5 1841 1928 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1842 1929 echo $ac_n "(cached) $ac_c" 1>&6 … … 1845 1932 for ac_kw in inline __inline__ __inline; do 1846 1933 cat > conftest.$ac_ext <<EOF 1847 #line 1 848"configure"1934 #line 1935 "configure" 1848 1935 #include "confdefs.h" 1849 1936 … … 1852 1939 ; return 0; } 1853 1940 EOF 1854 if { (eval echo configure:1 855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1941 if { (eval echo configure:1942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1855 1942 rm -rf conftest* 1856 1943 ac_cv_c_inline=$ac_kw; break … … 1878 1965 1879 1966 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1880 echo "configure:1 881: checking for size_t" >&51967 echo "configure:1968: checking for size_t" >&5 1881 1968 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1882 1969 echo $ac_n "(cached) $ac_c" 1>&6 1883 1970 else 1884 1971 cat > conftest.$ac_ext <<EOF 1885 #line 1 886"configure"1972 #line 1973 "configure" 1886 1973 #include "confdefs.h" 1887 1974 #include <sys/types.h> … … 1892 1979 EOF 1893 1980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1894 egrep " size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then1981 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 1895 1982 rm -rf conftest* 1896 1983 ac_cv_type_size_t=yes … … 1911 1998 1912 1999 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1913 echo "configure: 1914: checking whether time.h and sys/time.h may both be included" >&52000 echo "configure:2001: checking whether time.h and sys/time.h may both be included" >&5 1914 2001 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1915 2002 echo $ac_n "(cached) $ac_c" 1>&6 1916 2003 else 1917 2004 cat > conftest.$ac_ext <<EOF 1918 #line 1919"configure"2005 #line 2006 "configure" 1919 2006 #include "confdefs.h" 1920 2007 #include <sys/types.h> … … 1925 2012 ; return 0; } 1926 2013 EOF 1927 if { (eval echo configure: 1928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2014 if { (eval echo configure:2015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1928 2015 rm -rf conftest* 1929 2016 ac_cv_header_time=yes … … 1946 2033 1947 2034 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 1948 echo "configure: 1949: checking whether struct tm is in sys/time.h or time.h" >&52035 echo "configure:2036: checking whether struct tm is in sys/time.h or time.h" >&5 1949 2036 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 1950 2037 echo $ac_n "(cached) $ac_c" 1>&6 1951 2038 else 1952 2039 cat > conftest.$ac_ext <<EOF 1953 #line 1954"configure"2040 #line 2041 "configure" 1954 2041 #include "confdefs.h" 1955 2042 #include <sys/types.h> … … 1959 2046 ; return 0; } 1960 2047 EOF 1961 if { (eval echo configure: 1962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2048 if { (eval echo configure:2049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1962 2049 rm -rf conftest* 1963 2050 ac_cv_struct_tm=time.h … … 1984 2071 # for constant arguments. Useless! 1985 2072 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 1986 echo "configure: 1987: checking for working alloca.h" >&52073 echo "configure:2074: checking for working alloca.h" >&5 1987 2074 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 1988 2075 echo $ac_n "(cached) $ac_c" 1>&6 1989 2076 else 1990 2077 cat > conftest.$ac_ext <<EOF 1991 #line 1992"configure"2078 #line 2079 "configure" 1992 2079 #include "confdefs.h" 1993 2080 #include <alloca.h> … … 1996 2083 ; return 0; } 1997 2084 EOF 1998 if { (eval echo configure: 1999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2085 if { (eval echo configure:2086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1999 2086 rm -rf conftest* 2000 2087 ac_cv_header_alloca_h=yes … … 2017 2104 2018 2105 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2019 echo "configure:2 020: checking for alloca" >&52106 echo "configure:2107: checking for alloca" >&5 2020 2107 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2021 2108 echo $ac_n "(cached) $ac_c" 1>&6 2022 2109 else 2023 2110 cat > conftest.$ac_ext <<EOF 2024 #line 2 025"configure"2111 #line 2112 "configure" 2025 2112 #include "confdefs.h" 2026 2113 … … 2028 2115 # define alloca __builtin_alloca 2029 2116 #else 2030 # if HAVE_ALLOCA_H 2031 # include <alloca.h> 2117 # ifdef _MSC_VER 2118 # include <malloc.h> 2119 # define alloca _alloca 2032 2120 # else 2033 # ifdef _AIX 2121 # if HAVE_ALLOCA_H 2122 # include <alloca.h> 2123 # else 2124 # ifdef _AIX 2034 2125 #pragma alloca 2035 # else2036 # ifndef alloca /* predefined by HP cc +Olibcalls */2126 # else 2127 # ifndef alloca /* predefined by HP cc +Olibcalls */ 2037 2128 char *alloca (); 2129 # endif 2038 2130 # endif 2039 2131 # endif … … 2045 2137 ; return 0; } 2046 2138 EOF 2047 if { (eval echo configure:2 048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2139 if { (eval echo configure:2140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2048 2140 rm -rf conftest* 2049 2141 ac_cv_func_alloca_works=yes … … 2070 2162 # contain a buggy version. If you still want to use their alloca, 2071 2163 # use ar to extract alloca.o from them instead of compiling alloca.c. 2072 ALLOCA=alloca. o2164 ALLOCA=alloca.${ac_objext} 2073 2165 cat >> confdefs.h <<\EOF 2074 2166 #define C_ALLOCA 1 … … 2077 2169 2078 2170 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2079 echo "configure:2 080: checking whether alloca needs Cray hooks" >&52171 echo "configure:2172: checking whether alloca needs Cray hooks" >&5 2080 2172 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2081 2173 echo $ac_n "(cached) $ac_c" 1>&6 2082 2174 else 2083 2175 cat > conftest.$ac_ext <<EOF 2084 #line 2 085"configure"2176 #line 2177 "configure" 2085 2177 #include "confdefs.h" 2086 2178 #if defined(CRAY) && ! defined(CRAY2) … … 2107 2199 for ac_func in _getb67 GETB67 getb67; do 2108 2200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2109 echo "configure:2 110: checking for $ac_func" >&52201 echo "configure:2202: checking for $ac_func" >&5 2110 2202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2111 2203 echo $ac_n "(cached) $ac_c" 1>&6 2112 2204 else 2113 2205 cat > conftest.$ac_ext <<EOF 2114 #line 2 115"configure"2206 #line 2207 "configure" 2115 2207 #include "confdefs.h" 2116 2208 /* System header to define __stub macros and hopefully few prototypes, … … 2135 2227 ; return 0; } 2136 2228 EOF 2137 if { (eval echo configure:2 138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2229 if { (eval echo configure:2230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2138 2230 rm -rf conftest* 2139 2231 eval "ac_cv_func_$ac_func=yes" … … 2162 2254 2163 2255 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2164 echo "configure:2 165: checking stack direction for C alloca" >&52256 echo "configure:2257: checking stack direction for C alloca" >&5 2165 2257 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2166 2258 echo $ac_n "(cached) $ac_c" 1>&6 … … 2170 2262 else 2171 2263 cat > conftest.$ac_ext <<EOF 2172 #line 2 173"configure"2264 #line 2265 "configure" 2173 2265 #include "confdefs.h" 2174 2266 find_stack_direction () … … 2189 2281 } 2190 2282 EOF 2191 if { (eval echo configure:2 192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null2283 if { (eval echo configure:2284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2192 2284 then 2193 2285 ac_cv_c_stack_direction=1 … … 2212 2304 if test $ac_cv_prog_gcc = yes; then 2213 2305 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2214 echo "configure:2 215: checking whether ${CC-cc} needs -traditional" >&52306 echo "configure:2307: checking whether ${CC-cc} needs -traditional" >&5 2215 2307 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2216 2308 echo $ac_n "(cached) $ac_c" 1>&6 … … 2218 2310 ac_pattern="Autoconf.*'x'" 2219 2311 cat > conftest.$ac_ext <<EOF 2220 #line 2 221"configure"2312 #line 2313 "configure" 2221 2313 #include "confdefs.h" 2222 2314 #include <sgtty.h> … … 2236 2328 if test $ac_cv_prog_gcc_traditional = no; then 2237 2329 cat > conftest.$ac_ext <<EOF 2238 #line 2 239"configure"2330 #line 2331 "configure" 2239 2331 #include "confdefs.h" 2240 2332 #include <termio.h> … … 2261 2353 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2262 2354 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2263 echo "configure:2 264: checking for $ac_hdr" >&52355 echo "configure:2356: checking for $ac_hdr" >&5 2264 2356 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2265 2357 echo $ac_n "(cached) $ac_c" 1>&6 2266 2358 else 2267 2359 cat > conftest.$ac_ext <<EOF 2268 #line 2 269"configure"2360 #line 2361 "configure" 2269 2361 #include "confdefs.h" 2270 2362 #include <$ac_hdr> 2271 2363 EOF 2272 2364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2273 { (eval echo configure:2 274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2274 ac_err=`grep -v '^ *+' conftest.out `2365 { (eval echo configure:2366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2275 2367 if test -z "$ac_err"; then 2276 2368 rm -rf conftest* … … 2300 2392 do 2301 2393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2302 echo "configure:23 03: checking for $ac_func" >&52394 echo "configure:2395: checking for $ac_func" >&5 2303 2395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2304 2396 echo $ac_n "(cached) $ac_c" 1>&6 2305 2397 else 2306 2398 cat > conftest.$ac_ext <<EOF 2307 #line 2 308"configure"2399 #line 2400 "configure" 2308 2400 #include "confdefs.h" 2309 2401 /* System header to define __stub macros and hopefully few prototypes, … … 2328 2420 ; return 0; } 2329 2421 EOF 2330 if { (eval echo configure:2 331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2422 if { (eval echo configure:2423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2331 2423 rm -rf conftest* 2332 2424 eval "ac_cv_func_$ac_func=yes" … … 2353 2445 2354 2446 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2355 echo "configure:2 356: checking for working mmap" >&52447 echo "configure:2448: checking for working mmap" >&5 2356 2448 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2357 2449 echo $ac_n "(cached) $ac_c" 1>&6 … … 2361 2453 else 2362 2454 cat > conftest.$ac_ext <<EOF 2363 #line 2 364"configure"2455 #line 2456 "configure" 2364 2456 #include "confdefs.h" 2365 2457 … … 2501 2593 2502 2594 EOF 2503 if { (eval echo configure:25 04: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null2595 if { (eval echo configure:2596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2504 2596 then 2505 2597 ac_cv_func_mmap_fixed_mapped=yes … … 2524 2616 2525 2617 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2526 echo "configure:2 527: checking return type of signal handlers" >&52618 echo "configure:2619: checking return type of signal handlers" >&5 2527 2619 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2528 2620 echo $ac_n "(cached) $ac_c" 1>&6 2529 2621 else 2530 2622 cat > conftest.$ac_ext <<EOF 2531 #line 2 532"configure"2623 #line 2624 "configure" 2532 2624 #include "confdefs.h" 2533 2625 #include <sys/types.h> … … 2546 2638 ; return 0; } 2547 2639 EOF 2548 if { (eval echo configure:2 549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2640 if { (eval echo configure:2641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2549 2641 rm -rf conftest* 2550 2642 ac_cv_type_signal=void … … 2565 2657 2566 2658 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2567 echo "configure:2 568: checking for vprintf" >&52659 echo "configure:2660: checking for vprintf" >&5 2568 2660 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2569 2661 echo $ac_n "(cached) $ac_c" 1>&6 2570 2662 else 2571 2663 cat > conftest.$ac_ext <<EOF 2572 #line 2 573"configure"2664 #line 2665 "configure" 2573 2665 #include "confdefs.h" 2574 2666 /* System header to define __stub macros and hopefully few prototypes, … … 2593 2685 ; return 0; } 2594 2686 EOF 2595 if { (eval echo configure:2 596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2687 if { (eval echo configure:2688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2596 2688 rm -rf conftest* 2597 2689 eval "ac_cv_func_vprintf=yes" … … 2617 2709 if test "$ac_cv_func_vprintf" != yes; then 2618 2710 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2619 echo "configure:2 620: checking for _doprnt" >&52711 echo "configure:2712: checking for _doprnt" >&5 2620 2712 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2621 2713 echo $ac_n "(cached) $ac_c" 1>&6 2622 2714 else 2623 2715 cat > conftest.$ac_ext <<EOF 2624 #line 2 625"configure"2716 #line 2717 "configure" 2625 2717 #include "confdefs.h" 2626 2718 /* System header to define __stub macros and hopefully few prototypes, … … 2645 2737 ; return 0; } 2646 2738 EOF 2647 if { (eval echo configure:2 648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2739 if { (eval echo configure:2740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2648 2740 rm -rf conftest* 2649 2741 eval "ac_cv_func__doprnt=yes" … … 2672 2764 do 2673 2765 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2674 echo "configure:2 675: checking for $ac_func" >&52766 echo "configure:2767: checking for $ac_func" >&5 2675 2767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2676 2768 echo $ac_n "(cached) $ac_c" 1>&6 2677 2769 else 2678 2770 cat > conftest.$ac_ext <<EOF 2679 #line 2 680"configure"2771 #line 2772 "configure" 2680 2772 #include "confdefs.h" 2681 2773 /* System header to define __stub macros and hopefully few prototypes, … … 2700 2792 ; return 0; } 2701 2793 EOF 2702 if { (eval echo configure:27 03: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2794 if { (eval echo configure:2795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2703 2795 rm -rf conftest* 2704 2796 eval "ac_cv_func_$ac_func=yes" … … 2728 2820 # arithmetic shifts 2729 2821 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 2730 echo "configure:2 731: checking whether your machine has correct arithmetic shifts" >&52822 echo "configure:2823: checking whether your machine has correct arithmetic shifts" >&5 2731 2823 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 2732 2824 echo $ac_n "(cached) $ac_c" 1>&6 … … 2741 2833 else 2742 2834 cat > conftest.$ac_ext <<EOF 2743 #line 2 744"configure"2835 #line 2836 "configure" 2744 2836 #include "confdefs.h" 2745 2837 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2746 2838 EOF 2747 if { (eval echo configure:2 748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null2839 if { (eval echo configure:2840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2748 2840 then 2749 2841 ac_cv_shift=yes … … 2770 2862 # check for a peculiar constructor initialization 2771 2863 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 2772 echo "configure:2 773: checking whether explicit C++ constructor calls are allowed" >&52864 echo "configure:2865: checking whether explicit C++ constructor calls are allowed" >&5 2773 2865 2774 2866 ac_ext=C … … 2776 2868 ac_cpp='$CXXCPP $CPPFLAGS' 2777 2869 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2778 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'2870 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2779 2871 cross_compiling=$ac_cv_prog_cxx_cross 2780 2872 … … 2783 2875 else 2784 2876 cat > conftest.$ac_ext <<EOF 2785 #line 2 786"configure"2877 #line 2878 "configure" 2786 2878 #include "confdefs.h" 2787 2879 … … 2801 2893 ; return 0; } 2802 2894 EOF 2803 if { (eval echo configure:28 04: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2895 if { (eval echo configure:2896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2804 2896 rm -rf conftest* 2805 2897 ac_cv_explicit_const=yes … … 2817 2909 ac_cpp='$CPP $CPPFLAGS' 2818 2910 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2819 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'2911 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2820 2912 cross_compiling=$ac_cv_prog_cc_cross 2821 2913 … … 2830 2922 # sprintf returns number of printed chars 2831 2923 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 2832 echo "configure:2 833: checking whether vsprintf returns number of printed chars" >&52924 echo "configure:2925: checking whether vsprintf returns number of printed chars" >&5 2833 2925 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 2834 2926 echo $ac_n "(cached) $ac_c" 1>&6 … … 2838 2930 else 2839 2931 cat > conftest.$ac_ext <<EOF 2840 #line 2 841"configure"2932 #line 2933 "configure" 2841 2933 #include "confdefs.h" 2842 2934 #include <stdio.h> 2843 2935 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 2844 2936 EOF 2845 if { (eval echo configure:2 846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null2937 if { (eval echo configure:2938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2846 2938 then 2847 2939 ac_cv_returns_n_of_chars=yes … … 2869 2961 # determine ALIGN_8 2870 2962 echo $ac_n "checking size of char""... $ac_c" 1>&6 2871 echo "configure:2 872: checking size of char" >&52963 echo "configure:2964: checking size of char" >&5 2872 2964 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 2873 2965 echo $ac_n "(cached) $ac_c" 1>&6 … … 2877 2969 else 2878 2970 cat > conftest.$ac_ext <<EOF 2879 #line 2 880"configure"2971 #line 2972 "configure" 2880 2972 #include "confdefs.h" 2881 2973 #include <stdio.h> … … 2888 2980 } 2889 2981 EOF 2890 if { (eval echo configure:2 891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null2982 if { (eval echo configure:2983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2891 2983 then 2892 2984 ac_cv_sizeof_char=`cat conftestval` … … 2908 3000 2909 3001 echo $ac_n "checking size of short""... $ac_c" 1>&6 2910 echo "configure: 2911: checking size of short" >&53002 echo "configure:3003: checking size of short" >&5 2911 3003 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 2912 3004 echo $ac_n "(cached) $ac_c" 1>&6 … … 2916 3008 else 2917 3009 cat > conftest.$ac_ext <<EOF 2918 #line 2919"configure"3010 #line 3011 "configure" 2919 3011 #include "confdefs.h" 2920 3012 #include <stdio.h> … … 2927 3019 } 2928 3020 EOF 2929 if { (eval echo configure: 2930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3021 if { (eval echo configure:3022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2930 3022 then 2931 3023 ac_cv_sizeof_short=`cat conftestval` … … 2947 3039 2948 3040 echo $ac_n "checking size of int""... $ac_c" 1>&6 2949 echo "configure: 2950: checking size of int" >&53041 echo "configure:3042: checking size of int" >&5 2950 3042 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 2951 3043 echo $ac_n "(cached) $ac_c" 1>&6 … … 2955 3047 else 2956 3048 cat > conftest.$ac_ext <<EOF 2957 #line 2958"configure"3049 #line 3050 "configure" 2958 3050 #include "confdefs.h" 2959 3051 #include <stdio.h> … … 2966 3058 } 2967 3059 EOF 2968 if { (eval echo configure: 2969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3060 if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2969 3061 then 2970 3062 ac_cv_sizeof_int=`cat conftestval` … … 2986 3078 2987 3079 echo $ac_n "checking size of long""... $ac_c" 1>&6 2988 echo "configure: 2989: checking size of long" >&53080 echo "configure:3081: checking size of long" >&5 2989 3081 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 2990 3082 echo $ac_n "(cached) $ac_c" 1>&6 … … 2994 3086 else 2995 3087 cat > conftest.$ac_ext <<EOF 2996 #line 2997"configure"3088 #line 3089 "configure" 2997 3089 #include "confdefs.h" 2998 3090 #include <stdio.h> … … 3005 3097 } 3006 3098 EOF 3007 if { (eval echo configure:3 008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3099 if { (eval echo configure:3100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3008 3100 then 3009 3101 ac_cv_sizeof_long=`cat conftestval` … … 3025 3117 3026 3118 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3027 echo "configure:3 028: checking size of void*" >&53119 echo "configure:3120: checking size of void*" >&5 3028 3120 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3029 3121 echo $ac_n "(cached) $ac_c" 1>&6 … … 3033 3125 else 3034 3126 cat > conftest.$ac_ext <<EOF 3035 #line 3 036"configure"3127 #line 3128 "configure" 3036 3128 #include "confdefs.h" 3037 3129 #include <stdio.h> … … 3044 3136 } 3045 3137 EOF 3046 if { (eval echo configure:3 047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3138 if { (eval echo configure:3139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3047 3139 then 3048 3140 ac_cv_sizeof_voidp=`cat conftestval` … … 3064 3156 3065 3157 echo $ac_n "checking size of double""... $ac_c" 1>&6 3066 echo "configure:3 067: checking size of double" >&53158 echo "configure:3159: checking size of double" >&5 3067 3159 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3068 3160 echo $ac_n "(cached) $ac_c" 1>&6 … … 3072 3164 else 3073 3165 cat > conftest.$ac_ext <<EOF 3074 #line 3 075"configure"3166 #line 3167 "configure" 3075 3167 #include "confdefs.h" 3076 3168 #include <stdio.h> … … 3083 3175 } 3084 3176 EOF 3085 if { (eval echo configure:3 086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3177 if { (eval echo configure:3178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3086 3178 then 3087 3179 ac_cv_sizeof_double=`cat conftestval` … … 3103 3195 3104 3196 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3105 echo "configure:31 06: checking whether byte ordering is bigendian" >&53197 echo "configure:3198: checking whether byte ordering is bigendian" >&5 3106 3198 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3107 3199 echo $ac_n "(cached) $ac_c" 1>&6 … … 3110 3202 # See if sys/param.h defines the BYTE_ORDER macro. 3111 3203 cat > conftest.$ac_ext <<EOF 3112 #line 3 113"configure"3204 #line 3205 "configure" 3113 3205 #include "confdefs.h" 3114 3206 #include <sys/types.h> … … 3121 3213 ; return 0; } 3122 3214 EOF 3123 if { (eval echo configure:3 124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3215 if { (eval echo configure:3216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3124 3216 rm -rf conftest* 3125 3217 # It does; now see whether it defined to BIG_ENDIAN or not. 3126 3218 cat > conftest.$ac_ext <<EOF 3127 #line 3 128"configure"3219 #line 3220 "configure" 3128 3220 #include "confdefs.h" 3129 3221 #include <sys/types.h> … … 3136 3228 ; return 0; } 3137 3229 EOF 3138 if { (eval echo configure:3 139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3230 if { (eval echo configure:3231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3139 3231 rm -rf conftest* 3140 3232 ac_cv_c_bigendian=yes … … 3156 3248 else 3157 3249 cat > conftest.$ac_ext <<EOF 3158 #line 3 159"configure"3250 #line 3251 "configure" 3159 3251 #include "confdefs.h" 3160 3252 main () { … … 3169 3261 } 3170 3262 EOF 3171 if { (eval echo configure:3 172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3263 if { (eval echo configure:3264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3172 3264 then 3173 3265 ac_cv_c_bigendian=no … … 3206 3298 3207 3299 echo $ac_n "checking size of system page""... $ac_c" 1>&6 3208 echo "configure:3 209: checking size of system page" >&53300 echo "configure:3301: checking size of system page" >&5 3209 3301 if eval "test \"`echo '$''{'ac_cv_pagesize'+set}'`\" = set"; then 3210 3302 echo $ac_n "(cached) $ac_c" 1>&6 … … 3214 3306 else 3215 3307 cat > conftest.$ac_ext <<EOF 3216 #line 3 217"configure"3308 #line 3309 "configure" 3217 3309 #include "confdefs.h" 3218 3310 #include <stdio.h> … … 3228 3320 } 3229 3321 EOF 3230 if { (eval echo configure:3 231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3322 if { (eval echo configure:3323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3231 3323 then 3232 3324 ac_cv_pagesize=`cat conftestval` … … 3252 3344 3253 3345 echo $ac_n "checking for page aligned valloc""... $ac_c" 1>&6 3254 echo "configure:3 255: checking for page aligned valloc" >&53346 echo "configure:3347: checking for page aligned valloc" >&5 3255 3347 if eval "test \"`echo '$''{'ac_cv_have_page_alignment'+set}'`\" = set"; then 3256 3348 echo $ac_n "(cached) $ac_c" 1>&6 … … 3298 3390 else 3299 3391 cat > conftest.$ac_ext <<EOF 3300 #line 33 01"configure"3392 #line 3393 "configure" 3301 3393 #include "confdefs.h" 3302 3394 … … 3305 3397 3306 3398 EOF 3307 if { (eval echo configure:3 308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3399 if { (eval echo configure:3400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3308 3400 then 3309 3401 ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat conftestval` … … 3322 3414 else 3323 3415 cat > conftest.$ac_ext <<EOF 3324 #line 3 325"configure"3416 #line 3417 "configure" 3325 3417 #include "confdefs.h" 3326 3418 … … 3329 3421 3330 3422 EOF 3331 if { (eval echo configure:3 332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3423 if { (eval echo configure:3424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3332 3424 then 3333 3425 ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat conftestval` … … 3349 3441 else 3350 3442 cat > conftest.$ac_ext <<EOF 3351 #line 3 352"configure"3443 #line 3444 "configure" 3352 3444 #include "confdefs.h" 3353 3445 … … 3358 3450 3359 3451 EOF 3360 if { (eval echo configure:3 361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3452 if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3361 3453 then 3362 3454 ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat conftestval` … … 3375 3467 else 3376 3468 cat > conftest.$ac_ext <<EOF 3377 #line 3 378"configure"3469 #line 3470 "configure" 3378 3470 #include "confdefs.h" 3379 3471 … … 3384 3476 3385 3477 EOF 3386 if { (eval echo configure:3 387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3478 if { (eval echo configure:3479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3387 3479 then 3388 3480 ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat conftestval` … … 3519 3611 if test "${with_perl5+set}" != set; then 3520 3612 echo $ac_n "checking for perl5""... $ac_c" 1>&6 3521 echo "configure:3 522: checking for perl5" >&53613 echo "configure:3614: checking for perl5" >&5 3522 3614 if eval "test \"`echo '$''{'ac_cv_prog_perl5'+set}'`\" = set"; then 3523 3615 echo $ac_n "(cached) $ac_c" 1>&6 … … 3556 3648 set dummy $ac_prog; ac_word=$2 3557 3649 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3558 echo "configure:3 559: checking for $ac_word" >&53650 echo "configure:3651: checking for $ac_word" >&5 3559 3651 if eval "test \"`echo '$''{'ac_cv_prog_PERL5'+set}'`\" = set"; then 3560 3652 echo $ac_n "(cached) $ac_c" 1>&6 … … 3563 3655 ac_cv_prog_PERL5="$PERL5" # Let the user override the test. 3564 3656 else 3565 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 3566 for ac_dir in $PATH; do 3657 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3658 ac_dummy="$PATH" 3659 for ac_dir in $ac_dummy; do 3567 3660 test -z "$ac_dir" && ac_dir=. 3568 3661 if test -f $ac_dir/$ac_word; then … … 3590 3683 3591 3684 3592 # fereadl - io routines 3593 for ac_hdr in termcap.h 3594 do 3595 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3597 echo "configure:3598: checking for $ac_hdr" >&5 3598 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3599 echo $ac_n "(cached) $ac_c" 1>&6 3600 else 3601 cat > conftest.$ac_ext <<EOF 3602 #line 3603 "configure" 3603 #include "confdefs.h" 3604 #include <$ac_hdr> 3605 EOF 3606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3607 { (eval echo configure:3608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3608 ac_err=`grep -v '^ *+' conftest.out` 3609 if test -z "$ac_err"; then 3610 rm -rf conftest* 3611 eval "ac_cv_header_$ac_safe=yes" 3612 else 3613 echo "$ac_err" >&5 3614 echo "configure: failed program was:" >&5 3615 cat conftest.$ac_ext >&5 3616 rm -rf conftest* 3617 eval "ac_cv_header_$ac_safe=no" 3618 fi 3619 rm -f conftest* 3620 fi 3621 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3622 echo "$ac_t""yes" 1>&6 3623 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 3624 cat >> confdefs.h <<EOF 3625 #define $ac_tr_hdr 1 3626 EOF 3627 3628 else 3629 echo "$ac_t""no" 1>&6 3630 fi 3631 done 3632 3633 for ac_hdr in termios.h 3634 do 3635 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3636 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3637 echo "configure:3638: checking for $ac_hdr" >&5 3638 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3639 echo $ac_n "(cached) $ac_c" 1>&6 3640 else 3641 cat > conftest.$ac_ext <<EOF 3642 #line 3643 "configure" 3643 #include "confdefs.h" 3644 #include <$ac_hdr> 3645 EOF 3646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3647 { (eval echo configure:3648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3648 ac_err=`grep -v '^ *+' conftest.out` 3649 if test -z "$ac_err"; then 3650 rm -rf conftest* 3651 eval "ac_cv_header_$ac_safe=yes" 3652 else 3653 echo "$ac_err" >&5 3654 echo "configure: failed program was:" >&5 3655 cat conftest.$ac_ext >&5 3656 rm -rf conftest* 3657 eval "ac_cv_header_$ac_safe=no" 3658 fi 3659 rm -f conftest* 3660 fi 3661 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3662 echo "$ac_t""yes" 1>&6 3663 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 3664 cat >> confdefs.h <<EOF 3665 #define $ac_tr_hdr 1 3666 EOF 3667 3668 else 3669 echo "$ac_t""no" 1>&6 3670 fi 3671 done 3672 3673 for ac_hdr in term.h 3674 do 3675 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3676 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3677 echo "configure:3678: checking for $ac_hdr" >&5 3678 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3679 echo $ac_n "(cached) $ac_c" 1>&6 3680 else 3681 cat > conftest.$ac_ext <<EOF 3682 #line 3683 "configure" 3683 #include "confdefs.h" 3684 #include <$ac_hdr> 3685 EOF 3686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3687 { (eval echo configure:3688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3688 ac_err=`grep -v '^ *+' conftest.out` 3689 if test -z "$ac_err"; then 3690 rm -rf conftest* 3691 eval "ac_cv_header_$ac_safe=yes" 3692 else 3693 echo "$ac_err" >&5 3694 echo "configure: failed program was:" >&5 3695 cat conftest.$ac_ext >&5 3696 rm -rf conftest* 3697 eval "ac_cv_header_$ac_safe=no" 3698 fi 3699 rm -f conftest* 3700 fi 3701 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3702 echo "$ac_t""yes" 1>&6 3703 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 3704 cat >> confdefs.h <<EOF 3705 #define $ac_tr_hdr 1 3706 EOF 3707 3708 else 3709 echo "$ac_t""no" 1>&6 3710 fi 3711 done 3712 3713 3714 # readline 3715 if test "$with_readline" != no; then 3716 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3717 echo "configure:3718: checking for tgetent in -lncurses" >&5 3685 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3686 echo "configure:3687: checking for tgetent in -lncurses" >&5 3718 3687 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3719 3688 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3723 3692 LIBS="-lncurses $LIBS" 3724 3693 cat > conftest.$ac_ext <<EOF 3725 #line 3 726"configure"3694 #line 3695 "configure" 3726 3695 #include "confdefs.h" 3727 3696 /* Override any gcc2 internal prototype to avoid an error. */ … … 3734 3703 ; return 0; } 3735 3704 EOF 3736 if { (eval echo configure:37 37: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3705 if { (eval echo configure:3706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3737 3706 rm -rf conftest* 3738 3707 eval "ac_cv_lib_$ac_lib_var=yes" … … 3760 3729 echo "$ac_t""no" 1>&6 3761 3730 \ 3762 3763 echo "configure:37 64: checking for tgetent in -lcurses" >&53731 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3732 echo "configure:3733: checking for tgetent in -lcurses" >&5 3764 3733 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3765 3734 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3769 3738 LIBS="-lcurses $LIBS" 3770 3739 cat > conftest.$ac_ext <<EOF 3771 #line 37 72"configure"3740 #line 3741 "configure" 3772 3741 #include "confdefs.h" 3773 3742 /* Override any gcc2 internal prototype to avoid an error. */ … … 3780 3749 ; return 0; } 3781 3750 EOF 3782 if { (eval echo configure:37 83: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3751 if { (eval echo configure:3752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3783 3752 rm -rf conftest* 3784 3753 eval "ac_cv_lib_$ac_lib_var=yes" … … 3806 3775 echo "$ac_t""no" 1>&6 3807 3776 \ 3808 3809 echo "configure:3 810: checking for tgetent in -ltermcap" >&53777 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3778 echo "configure:3779: checking for tgetent in -ltermcap" >&5 3810 3779 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3811 3780 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3815 3784 LIBS="-ltermcap $LIBS" 3816 3785 cat > conftest.$ac_ext <<EOF 3817 #line 3 818"configure"3786 #line 3787 "configure" 3818 3787 #include "confdefs.h" 3819 3788 /* Override any gcc2 internal prototype to avoid an error. */ … … 3826 3795 ; return 0; } 3827 3796 EOF 3828 if { (eval echo configure:3 829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3797 if { (eval echo configure:3798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3829 3798 rm -rf conftest* 3830 3799 eval "ac_cv_lib_$ac_lib_var=yes" … … 3857 3826 fi 3858 3827 3828 3829 # readline 3830 if test "$with_readline" = yes; then 3859 3831 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3860 echo "configure:38 61: checking for rl_abort in -lreadline" >&53832 echo "configure:3833: checking for rl_abort in -lreadline" >&5 3861 3833 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3862 3834 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3866 3838 LIBS="-lreadline $LIBS" 3867 3839 cat > conftest.$ac_ext <<EOF 3868 #line 38 69"configure"3840 #line 3841 "configure" 3869 3841 #include "confdefs.h" 3870 3842 /* Override any gcc2 internal prototype to avoid an error. */ … … 3877 3849 ; return 0; } 3878 3850 EOF 3879 if { (eval echo configure:38 80: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3851 if { (eval echo configure:3852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3880 3852 rm -rf conftest* 3881 3853 eval "ac_cv_lib_$ac_lib_var=yes" … … 3908 3880 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3909 3881 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3910 echo "configure:3 911: checking for $ac_hdr" >&53882 echo "configure:3883: checking for $ac_hdr" >&5 3911 3883 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3912 3884 echo $ac_n "(cached) $ac_c" 1>&6 3913 3885 else 3914 3886 cat > conftest.$ac_ext <<EOF 3915 #line 3 916"configure"3887 #line 3888 "configure" 3916 3888 #include "confdefs.h" 3917 3889 #include <$ac_hdr> 3918 3890 EOF 3919 3891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3920 { (eval echo configure:3 921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3921 ac_err=`grep -v '^ *+' conftest.out `3892 { (eval echo configure:3893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3893 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3922 3894 if test -z "$ac_err"; then 3923 3895 rm -rf conftest* … … 3947 3919 test "$ac_cv_header_readline_readline_h" = yes; then 3948 3920 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 3949 echo "configure:39 50: checking whether readline.h is ok" >&53921 echo "configure:3922: checking whether readline.h is ok" >&5 3950 3922 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 3951 3923 echo $ac_n "(cached) $ac_c" 1>&6 3952 3924 else 3953 3925 cat > conftest.$ac_ext <<EOF 3954 #line 39 55"configure"3926 #line 3927 "configure" 3955 3927 #include "confdefs.h" 3956 3928 #include<unistd.h> … … 3977 3949 ; return 0; } 3978 3950 EOF 3979 if { (eval echo configure:39 80: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3951 if { (eval echo configure:3952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3980 3952 rm -rf conftest* 3981 3953 ac_cv_header_readline_readline_h_ok="yes" … … 3993 3965 #not ok -- try once more with explicitly declaring everything 3994 3966 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 3995 echo "configure:39 96: checking whether or not we nevertheless can use readline" >&53967 echo "configure:3968: checking whether or not we nevertheless can use readline" >&5 3996 3968 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 3997 3969 echo $ac_n "(cached) $ac_c" 1>&6 3998 3970 else 3999 3971 cat > conftest.$ac_ext <<EOF 4000 #line 4001"configure"3972 #line 3973 "configure" 4001 3973 #include "confdefs.h" 4002 3974 #include <stdio.h> … … 4028 4000 ; return 0; } 4029 4001 EOF 4030 if { (eval echo configure:40 31: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4002 if { (eval echo configure:4003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4031 4003 rm -rf conftest* 4032 4004 ac_cv_have_readline="yes" … … 4058 4030 else 4059 4031 echo "configure: warning: building without readline: disabling fancy display" 1>&2 4060 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&64061 echo "configure:4062: checking for tgetent in -lncurses" >&54062 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`4063 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then4064 echo $ac_n "(cached) $ac_c" 1>&64065 else4066 ac_save_LIBS="$LIBS"4067 LIBS="-lncurses $LIBS"4068 cat > conftest.$ac_ext <<EOF4069 #line 4070 "configure"4070 #include "confdefs.h"4071 /* Override any gcc2 internal prototype to avoid an error. */4072 /* We use char because int might match the return type of a gcc24073 builtin and then its argument prototype would still apply. */4074 char tgetent();4075 4076 int main() {4077 tgetent()4078 ; return 0; }4079 EOF4080 if { (eval echo configure:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4081 rm -rf conftest*4082 eval "ac_cv_lib_$ac_lib_var=yes"4083 else4084 echo "configure: failed program was:" >&54085 cat conftest.$ac_ext >&54086 rm -rf conftest*4087 eval "ac_cv_lib_$ac_lib_var=no"4088 fi4089 rm -f conftest*4090 LIBS="$ac_save_LIBS"4091 4092 fi4093 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then4094 echo "$ac_t""yes" 1>&64095 ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \4096 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`4097 cat >> confdefs.h <<EOF4098 #define $ac_tr_lib 14099 EOF4100 4101 LIBS="-lncurses $LIBS"4102 4103 else4104 echo "$ac_t""no" 1>&64105 \4106 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&64107 echo "configure:4108: checking for tgetent in -lcurses" >&54108 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`4109 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then4110 echo $ac_n "(cached) $ac_c" 1>&64111 else4112 ac_save_LIBS="$LIBS"4113 LIBS="-lcurses $LIBS"4114 cat > conftest.$ac_ext <<EOF4115 #line 4116 "configure"4116 #include "confdefs.h"4117 /* Override any gcc2 internal prototype to avoid an error. */4118 /* We use char because int might match the return type of a gcc24119 builtin and then its argument prototype would still apply. */4120 char tgetent();4121 4122 int main() {4123 tgetent()4124 ; return 0; }4125 EOF4126 if { (eval echo configure:4127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4127 rm -rf conftest*4128 eval "ac_cv_lib_$ac_lib_var=yes"4129 else4130 echo "configure: failed program was:" >&54131 cat conftest.$ac_ext >&54132 rm -rf conftest*4133 eval "ac_cv_lib_$ac_lib_var=no"4134 fi4135 rm -f conftest*4136 LIBS="$ac_save_LIBS"4137 4138 fi4139 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then4140 echo "$ac_t""yes" 1>&64141 ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/^a-zA-Z0-9_/_/g' \4142 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`4143 cat >> confdefs.h <<EOF4144 #define $ac_tr_lib 14145 EOF4146 4147 LIBS="-lcurses $LIBS"4148 4149 else4150 echo "$ac_t""no" 1>&64151 \4152 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&64153 echo "configure:4154: checking for tgetent in -ltermcap" >&54154 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`4155 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then4156 echo $ac_n "(cached) $ac_c" 1>&64157 else4158 ac_save_LIBS="$LIBS"4159 LIBS="-ltermcap $LIBS"4160 cat > conftest.$ac_ext <<EOF4161 #line 4162 "configure"4162 #include "confdefs.h"4163 /* Override any gcc2 internal prototype to avoid an error. */4164 /* We use char because int might match the return type of a gcc24165 builtin and then its argument prototype would still apply. */4166 char tgetent();4167 4168 int main() {4169 tgetent()4170 ; return 0; }4171 EOF4172 if { (eval echo configure:4173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4173 rm -rf conftest*4174 eval "ac_cv_lib_$ac_lib_var=yes"4175 else4176 echo "configure: failed program was:" >&54177 cat conftest.$ac_ext >&54178 rm -rf conftest*4179 eval "ac_cv_lib_$ac_lib_var=no"4180 fi4181 rm -f conftest*4182 LIBS="$ac_save_LIBS"4183 4184 fi4185 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then4186 echo "$ac_t""yes" 1>&64187 ac_tr_lib=HAVE_LIB`echo termcap | sed -e 's/^a-zA-Z0-9_/_/g' \4188 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`4189 cat >> confdefs.h <<EOF4190 #define $ac_tr_lib 14191 EOF4192 4193 LIBS="-ltermcap $LIBS"4194 4195 else4196 echo "$ac_t""no" 1>&64197 \4198 cat >> confdefs.h <<\EOF4199 #define HAVE_FEREAD 14200 EOF4201 4202 fi4203 4204 fi4205 4206 fi4207 4208 4032 fi 4209 else4210 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&64211 echo "configure:4212: checking for tgetent in -lncurses" >&54212 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`4213 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then4214 echo $ac_n "(cached) $ac_c" 1>&64215 else4216 ac_save_LIBS="$LIBS"4217 LIBS="-lncurses $LIBS"4218 cat > conftest.$ac_ext <<EOF4219 #line 4220 "configure"4220 #include "confdefs.h"4221 /* Override any gcc2 internal prototype to avoid an error. */4222 /* We use char because int might match the return type of a gcc24223 builtin and then its argument prototype would still apply. */4224 char tgetent();4225 4226 int main() {4227 tgetent()4228 ; return 0; }4229 EOF4230 if { (eval echo configure:4231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4231 rm -rf conftest*4232 eval "ac_cv_lib_$ac_lib_var=yes"4233 else4234 echo "configure: failed program was:" >&54235 cat conftest.$ac_ext >&54236 rm -rf conftest*4237 eval "ac_cv_lib_$ac_lib_var=no"4238 fi4239 rm -f conftest*4240 LIBS="$ac_save_LIBS"4241 4242 fi4243 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then4244 echo "$ac_t""yes" 1>&64245 ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \4246 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`4247 cat >> confdefs.h <<EOF4248 #define $ac_tr_lib 14249 EOF4250 4251 LIBS="-lncurses $LIBS"4252 4253 else4254 echo "$ac_t""no" 1>&64255 \4256 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&64257 echo "configure:4258: checking for tgetent in -lcurses" >&54258 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`4259 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then4260 echo $ac_n "(cached) $ac_c" 1>&64261 else4262 ac_save_LIBS="$LIBS"4263 LIBS="-lcurses $LIBS"4264 cat > conftest.$ac_ext <<EOF4265 #line 4266 "configure"4266 #include "confdefs.h"4267 /* Override any gcc2 internal prototype to avoid an error. */4268 /* We use char because int might match the return type of a gcc24269 builtin and then its argument prototype would still apply. */4270 char tgetent();4271 4272 int main() {4273 tgetent()4274 ; return 0; }4275 EOF4276 if { (eval echo configure:4277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4277 rm -rf conftest*4278 eval "ac_cv_lib_$ac_lib_var=yes"4279 else4280 echo "configure: failed program was:" >&54281 cat conftest.$ac_ext >&54282 rm -rf conftest*4283 eval "ac_cv_lib_$ac_lib_var=no"4284 fi4285 rm -f conftest*4286 LIBS="$ac_save_LIBS"4287 4288 fi4289 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then4290 echo "$ac_t""yes" 1>&64291 ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/^a-zA-Z0-9_/_/g' \4292 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`4293 cat >> confdefs.h <<EOF4294 #define $ac_tr_lib 14295 EOF4296 4297 LIBS="-lcurses $LIBS"4298 4299 else4300 echo "$ac_t""no" 1>&64301 \4302 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&64303 echo "configure:4304: checking for tgetent in -ltermcap" >&54304 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`4305 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then4306 echo $ac_n "(cached) $ac_c" 1>&64307 else4308 ac_save_LIBS="$LIBS"4309 LIBS="-ltermcap $LIBS"4310 cat > conftest.$ac_ext <<EOF4311 #line 4312 "configure"4312 #include "confdefs.h"4313 /* Override any gcc2 internal prototype to avoid an error. */4314 /* We use char because int might match the return type of a gcc24315 builtin and then its argument prototype would still apply. */4316 char tgetent();4317 4318 int main() {4319 tgetent()4320 ; return 0; }4321 EOF4322 if { (eval echo configure:4323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4323 rm -rf conftest*4324 eval "ac_cv_lib_$ac_lib_var=yes"4325 else4326 echo "configure: failed program was:" >&54327 cat conftest.$ac_ext >&54328 rm -rf conftest*4329 eval "ac_cv_lib_$ac_lib_var=no"4330 fi4331 rm -f conftest*4332 LIBS="$ac_save_LIBS"4333 4334 fi4335 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then4336 echo "$ac_t""yes" 1>&64337 ac_tr_lib=HAVE_LIB`echo termcap | sed -e 's/^a-zA-Z0-9_/_/g' \4338 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`4339 cat >> confdefs.h <<EOF4340 #define $ac_tr_lib 14341 EOF4342 4343 LIBS="-ltermcap $LIBS"4344 4345 else4346 echo "$ac_t""no" 1>&64347 \4348 cat >> confdefs.h <<\EOF4349 #define HAVE_FEREAD 14350 EOF4351 4352 fi4353 4354 fi4355 4356 fi4357 4358 4033 fi 4359 4034 … … 4362 4037 # gmp, smallgmp, MP, MPT, factory, libfac 4363 4038 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 4364 echo "configure:4 365: checking for mpq_init in -lgmp" >&54039 echo "configure:4040: checking for mpq_init in -lgmp" >&5 4365 4040 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 4366 4041 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4370 4045 LIBS="-lgmp $LIBS" 4371 4046 cat > conftest.$ac_ext <<EOF 4372 #line 4 373"configure"4047 #line 4048 "configure" 4373 4048 #include "confdefs.h" 4374 4049 /* Override any gcc2 internal prototype to avoid an error. */ … … 4381 4056 ; return 0; } 4382 4057 EOF 4383 if { (eval echo configure:4 384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4058 if { (eval echo configure:4059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4384 4059 rm -rf conftest* 4385 4060 eval "ac_cv_lib_$ac_lib_var=yes" … … 4412 4087 fi 4413 4088 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 4414 echo "configure:4 415: checking for mpz_init in -lsmallgmp" >&54089 echo "configure:4090: checking for mpz_init in -lsmallgmp" >&5 4415 4090 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 4416 4091 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4420 4095 LIBS="-lsmallgmp $LIBS" 4421 4096 cat > conftest.$ac_ext <<EOF 4422 #line 4 423"configure"4097 #line 4098 "configure" 4423 4098 #include "confdefs.h" 4424 4099 /* Override any gcc2 internal prototype to avoid an error. */ … … 4431 4106 ; return 0; } 4432 4107 EOF 4433 if { (eval echo configure:4 434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4108 if { (eval echo configure:4109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4434 4109 rm -rf conftest* 4435 4110 eval "ac_cv_lib_$ac_lib_var=yes" … … 4459 4134 4460 4135 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4461 echo "configure:4 462: checking for IMP_PutGmpInt in -lMP" >&54136 echo "configure:4137: checking for IMP_PutGmpInt in -lMP" >&5 4462 4137 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4463 4138 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4467 4142 LIBS="-lMP $LIBS" 4468 4143 cat > conftest.$ac_ext <<EOF 4469 #line 4 470"configure"4144 #line 4145 "configure" 4470 4145 #include "confdefs.h" 4471 4146 /* Override any gcc2 internal prototype to avoid an error. */ … … 4478 4153 ; return 0; } 4479 4154 EOF 4480 if { (eval echo configure:4 481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4155 if { (eval echo configure:4156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4481 4156 rm -rf conftest* 4482 4157 eval "ac_cv_lib_$ac_lib_var=yes" … … 4506 4181 4507 4182 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4508 echo "configure:4 509: checking for MPT_GetTree in -lMPT" >&54183 echo "configure:4184: checking for MPT_GetTree in -lMPT" >&5 4509 4184 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4510 4185 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4514 4189 LIBS="-lMPT $LIBS" 4515 4190 cat > conftest.$ac_ext <<EOF 4516 #line 4 517"configure"4191 #line 4192 "configure" 4517 4192 #include "confdefs.h" 4518 4193 /* Override any gcc2 internal prototype to avoid an error. */ … … 4525 4200 ; return 0; } 4526 4201 EOF 4527 if { (eval echo configure:4 528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4202 if { (eval echo configure:4203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4528 4203 rm -rf conftest* 4529 4204 eval "ac_cv_lib_$ac_lib_var=yes" … … 4553 4228 4554 4229 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4555 echo "configure:4 556: checking for atof in -lsingcf" >&54230 echo "configure:4231: checking for atof in -lsingcf" >&5 4556 4231 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4557 4232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4561 4236 LIBS="-lsingcf $LIBS" 4562 4237 cat > conftest.$ac_ext <<EOF 4563 #line 4 564"configure"4238 #line 4239 "configure" 4564 4239 #include "confdefs.h" 4565 4240 /* Override any gcc2 internal prototype to avoid an error. */ … … 4572 4247 ; return 0; } 4573 4248 EOF 4574 if { (eval echo configure:4 575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4249 if { (eval echo configure:4250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4575 4250 rm -rf conftest* 4576 4251 eval "ac_cv_lib_$ac_lib_var=yes" … … 4600 4275 4601 4276 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4602 echo "configure:4 603: checking for atof in -lsingfac" >&54277 echo "configure:4278: checking for atof in -lsingfac" >&5 4603 4278 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4604 4279 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4608 4283 LIBS="-lsingfac $LIBS" 4609 4284 cat > conftest.$ac_ext <<EOF 4610 #line 4 611"configure"4285 #line 4286 "configure" 4611 4286 #include "confdefs.h" 4612 4287 /* Override any gcc2 internal prototype to avoid an error. */ … … 4619 4294 ; return 0; } 4620 4295 EOF 4621 if { (eval echo configure:4 622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4296 if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4622 4297 rm -rf conftest* 4623 4298 eval "ac_cv_lib_$ac_lib_var=yes" … … 4651 4326 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4652 4327 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4653 echo "configure:4 654: checking for $ac_hdr" >&54328 echo "configure:4329: checking for $ac_hdr" >&5 4654 4329 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4655 4330 echo $ac_n "(cached) $ac_c" 1>&6 4656 4331 else 4657 4332 cat > conftest.$ac_ext <<EOF 4658 #line 4 659"configure"4333 #line 4334 "configure" 4659 4334 #include "confdefs.h" 4660 4335 #include <$ac_hdr> 4661 4336 EOF 4662 4337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4663 { (eval echo configure:4 664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4664 ac_err=`grep -v '^ *+' conftest.out `4338 { (eval echo configure:4339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4665 4340 if test -z "$ac_err"; then 4666 4341 rm -rf conftest* … … 4718 4393 # evaluate results 4719 4394 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4720 echo "configure:4 721: checking which apint package to use" >&54395 echo "configure:4396: checking which apint package to use" >&5 4721 4396 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 4722 4397 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 4762 4437 if test "$with_dl" != no; then 4763 4438 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 4764 echo "configure:4 765: checking for dlopen in -ldl" >&54439 echo "configure:4440: checking for dlopen in -ldl" >&5 4765 4440 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 4766 4441 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4770 4445 LIBS="-ldl $LIBS" 4771 4446 cat > conftest.$ac_ext <<EOF 4772 #line 4 773"configure"4447 #line 4448 "configure" 4773 4448 #include "confdefs.h" 4774 4449 /* Override any gcc2 internal prototype to avoid an error. */ … … 4781 4456 ; return 0; } 4782 4457 EOF 4783 if { (eval echo configure:4 784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4458 if { (eval echo configure:4459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4784 4459 rm -rf conftest* 4785 4460 eval "ac_cv_lib_$ac_lib_var=yes" … … 4821 4496 fi 4822 4497 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4823 echo "configure:4 824: checking for shl_load in -ldld" >&54498 echo "configure:4499: checking for shl_load in -ldld" >&5 4824 4499 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4825 4500 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4829 4504 LIBS="-ldld $LIBS" 4830 4505 cat > conftest.$ac_ext <<EOF 4831 #line 4 832"configure"4506 #line 4507 "configure" 4832 4507 #include "confdefs.h" 4833 4508 /* Override any gcc2 internal prototype to avoid an error. */ … … 4840 4515 ; return 0; } 4841 4516 EOF 4842 if { (eval echo configure:4 843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4517 if { (eval echo configure:4518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4843 4518 rm -rf conftest* 4844 4519 eval "ac_cv_lib_$ac_lib_var=yes" … … 4880 4555 4881 4556 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4882 echo "configure:4 883: checking whether to have MP" >&54557 echo "configure:4558: checking whether to have MP" >&5 4883 4558 if test "${with_MP}" != yes && test "${with_MP}" != no; then 4884 4559 if (test "${will_have_gmp}" = yes) && \ … … 4911 4586 4912 4587 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4913 echo "configure:4 914: checking whether to have factory" >&54588 echo "configure:4589: checking whether to have factory" >&5 4914 4589 if test "${with_factory}" != yes && test "${with_factory}" != no; then 4915 4590 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 4942 4617 4943 4618 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 4944 echo "configure:4 945: checking whether to have libfac" >&54619 echo "configure:4620: checking whether to have libfac" >&5 4945 4620 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 4946 4621 if (test "${will_have_factory}" = yes) && \ … … 4974 4649 4975 4650 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 4976 echo "configure:4 977: checking whether to have dbm links" >&54651 echo "configure:4652: checking whether to have dbm links" >&5 4977 4652 if test "$with_dbm" != no; then 4978 4653 cat >> confdefs.h <<\EOF … … 4986 4661 4987 4662 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 4988 echo "configure:4 989: checking whether to have namespaces" >&54663 echo "configure:4664: checking whether to have namespaces" >&5 4989 4664 if test "$with_namespaces" != yes; then 4990 4665 echo "$ac_t""no" 1>&6 … … 4998 4673 4999 4674 echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6 5000 echo "configure: 5001: checking whether to have dynamic loading" >&54675 echo "configure:4676: checking whether to have dynamic loading" >&5 5001 4676 if test "$with_dl" != yes; then 5002 4677 echo "$ac_t""no" 1>&6 … … 5011 4686 HPUX-9) 5012 4687 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 5013 echo "configure: 5014: checking for shl_load in -ldld" >&54688 echo "configure:4689: checking for shl_load in -ldld" >&5 5014 4689 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 5015 4690 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5019 4694 LIBS="-ldld $LIBS" 5020 4695 cat > conftest.$ac_ext <<EOF 5021 #line 5022"configure"4696 #line 4697 "configure" 5022 4697 #include "confdefs.h" 5023 4698 /* Override any gcc2 internal prototype to avoid an error. */ … … 5030 4705 ; return 0; } 5031 4706 EOF 5032 if { (eval echo configure: 5033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4707 if { (eval echo configure:4708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5033 4708 rm -rf conftest* 5034 4709 eval "ac_cv_lib_$ac_lib_var=yes" … … 5062 4737 HPUX-10) 5063 4738 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 5064 echo "configure: 5065: checking for shl_load in -ldld" >&54739 echo "configure:4740: checking for shl_load in -ldld" >&5 5065 4740 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 5066 4741 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5070 4745 LIBS="-ldld $LIBS" 5071 4746 cat > conftest.$ac_ext <<EOF 5072 #line 5073"configure"4747 #line 4748 "configure" 5073 4748 #include "confdefs.h" 5074 4749 /* Override any gcc2 internal prototype to avoid an error. */ … … 5081 4756 ; return 0; } 5082 4757 EOF 5083 if { (eval echo configure: 5084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4758 if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5084 4759 rm -rf conftest* 5085 4760 eval "ac_cv_lib_$ac_lib_var=yes" … … 5120 4795 5121 4796 echo $ac_n "checking whether to use mtrack""... $ac_c" 1>&6 5122 echo "configure: 5123: checking whether to use mtrack" >&54797 echo "configure:4798: checking whether to use mtrack" >&5 5123 4798 if test "$with_mtrack" = yes && test "$ac_cv_singuname" = ix86-Linux; then 5124 4799 echo "$ac_t""yes" 1>&6 … … 5134 4809 5135 4810 echo $ac_n "checking which exponent type to use""... $ac_c" 1>&6 5136 echo "configure: 5137: checking which exponent type to use" >&54811 echo "configure:4812: checking which exponent type to use" >&5 5137 4812 if test "$with_exp_type" = "char"; then 5138 4813 echo "$ac_t""char" 1>&6 … … 5190 4865 # and sets the high bit in the cache file unless we assign to the vars. 5191 4866 (set) 2>&1 | 5192 case `(ac_space=' '; set ) 2>&1` in4867 case `(ac_space=' '; set | grep ac_space) 2>&1` in 5193 4868 *ac_space=\ *) 5194 4869 # `set' does not quote correctly, so add quotes (double-quote substitution … … 5257 4932 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 5258 4933 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 5259 echo "$CONFIG_STATUS generated by autoconf version 2.1 2"4934 echo "$CONFIG_STATUS generated by autoconf version 2.13" 5260 4935 exit 0 ;; 5261 4936 -help | --help | --hel | --he | --h) … … 5276 4951 $ac_vpsub 5277 4952 $extrasub 4953 s%@SHELL@%$SHELL%g 5278 4954 s%@CFLAGS@%$CFLAGS%g 5279 4955 s%@CPPFLAGS@%$CPPFLAGS%g 5280 4956 s%@CXXFLAGS@%$CXXFLAGS%g 4957 s%@FFLAGS@%$FFLAGS%g 5281 4958 s%@DEFS@%$DEFS%g 5282 4959 s%@LDFLAGS@%$LDFLAGS%g -
Singular/configure.in
r002ead raac46c 249 249 AC_MSG_ERROR(Can not compile without limits.h unistd.h)) 250 250 251 AC_CHECK_HEADERS(malloc.h sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h sys/stat.h fcntl.h sys/param.h pwd.h asm/sigcontext.h pwd.h )251 AC_CHECK_HEADERS(malloc.h sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h sys/stat.h fcntl.h sys/param.h pwd.h asm/sigcontext.h pwd.h termcap.h termios.h term.h) 252 252 253 253 # typedefs, structures … … 485 485 AC_ARG_WITH( 486 486 readline, 487 [ --with out-readline do not usereadline for fancy display])487 [ --with-readline do use static readline for fancy display]) 488 488 AC_ARG_WITH( 489 489 MP, … … 567 567 dnl 568 568 569 # fereadl - io routines 570 AC_CHECK_HEADERS(termcap.h) 571 AC_CHECK_HEADERS(termios.h) 572 AC_CHECK_HEADERS(term.h) 569 AC_CHECK_LIB(ncurses,tgetent,,\ 570 AC_CHECK_LIB(curses,tgetent,,\ 571 AC_CHECK_LIB(termcap,tgetent))) 573 572 574 573 # readline 575 if test "$with_readline" != no; then 576 AC_CHECK_LIB(ncurses,tgetent,,\ 577 AC_CHECK_LIB(curses,tgetent,,\ 578 AC_CHECK_LIB(termcap,tgetent))) 574 if test "$with_readline" = yes; then 579 575 AC_CHECK_LIB(readline, rl_abort) 580 576 AC_CHECK_HEADERS(readline/readline.h readline/history.h) … … 652 648 else 653 649 AC_MSG_WARN(building without readline: disabling fancy display) 654 AC_CHECK_LIB(ncurses,tgetent,,\ 655 AC_CHECK_LIB(curses,tgetent,,\ 656 AC_CHECK_LIB(termcap,tgetent,,\ 657 AC_DEFINE(HAVE_FEREAD)))) 658 fi 659 else 660 AC_CHECK_LIB(ncurses,tgetent,,\ 661 AC_CHECK_LIB(curses,tgetent,,\ 662 AC_CHECK_LIB(termcap,tgetent,,\ 663 AC_DEFINE(HAVE_FEREAD)))) 650 fi 664 651 fi 665 652 -
Singular/mod2.h.in
r002ead raac46c 5 5 * DO NOT EDIT! 6 6 * 7 * Version: $Id: mod2.h.in,v 1.7 8 1999-11-29 13:01:28obachman Exp $7 * Version: $Id: mod2.h.in,v 1.79 1999-12-14 15:53:13 obachman Exp $ 8 8 *******************************************************************/ 9 9 #ifndef MOD2_H … … 17 17 /* Define to use readline lib for fancy display */ 18 18 #undef HAVE_READLINE 19 /* Define to use built-in command line parser */20 #undef HAVE_FEREAD21 19 /* Define if you want to use dld's */ 22 20 #undef HAVE_DLD -
configure
r002ead raac46c 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 # … … 20 20 ac_help="$ac_help 21 21 \ 22 --enable-PACKAGE configure and build PACKAGE23 --disable-PACKAGE do not configure and build PACKAGE22 --enable-PACKAGE configure and/or build PACKAGE 23 --disable-PACKAGE do not configure and/or build PACKAGE 24 24 where PACKAGE can be: 25 25 smallgmp minimal version of gmp written in C only" … … 41 41 ac_help="$ac_help 42 42 \ 43 mtrack utility to track unused memory" 44 ac_help="$ac_help 45 \ 43 46 Singular CAS for Polynomial Computations" 44 47 ac_help="$ac_help 45 48 \ 46 49 Texinfo Texinfo for info, texi2dvi, makeinfo" 50 ac_help="$ac_help 51 \ 52 Texi2html Texinfo to HTML converter" 53 ac_help="$ac_help 54 \ 55 doc Singular documentation" 56 ac_help="$ac_help 57 \ 58 emacs emacs completion files" 47 59 ac_help="$ac_help 48 60 \ … … 57 69 \ 58 70 libfac char set and modp poly factorization library" 71 ac_help="$ac_help 72 \ 73 mtrack utility to track unused memory" 59 74 ac_help="$ac_help 60 75 \ … … 102 117 subdirs= 103 118 MFLAGS= MAKEFLAGS= 119 SHELL=${CONFIG_SHELL-/bin/sh} 104 120 # Maximum number of lines to put in a shell here document. 105 121 ac_max_here_lines=12 … … 385 401 386 402 -version | --version | --versio | --versi | --vers) 387 echo "configure generated by autoconf version 2.1 2"403 echo "configure generated by autoconf version 2.13" 388 404 exit 0 ;; 389 405 … … 555 571 ac_cpp='$CPP $CPPFLAGS' 556 572 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 557 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'573 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 558 574 cross_compiling=$ac_cv_prog_cc_cross 559 575 576 ac_exeext= 577 ac_objext=o 560 578 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 561 579 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 572 590 573 591 574 OUTPUT_MAKEFILES="Makefile doc/Makefile doc/version.texi doc/uname.texi" 592 OUTPUT_MAKEFILES="Makefile" 593 if test -d "doc"; then 594 OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES doc/Makefile doc/version.texi doc/uname.texi" 595 fi 575 596 if test -d "rpm"; then 576 597 OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" rpm/Makefile" … … 590 611 591 612 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 592 echo "configure: 593: checking uname for singular" >&5613 echo "configure:614: checking uname for singular" >&5 593 614 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 594 615 echo $ac_n "(cached) $ac_c" 1>&6 … … 635 656 set dummy gcc; ac_word=$2 636 657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 637 echo "configure:6 38: checking for $ac_word" >&5658 echo "configure:659: checking for $ac_word" >&5 638 659 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 639 660 echo $ac_n "(cached) $ac_c" 1>&6 … … 642 663 ac_cv_prog_CC="$CC" # Let the user override the test. 643 664 else 644 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 645 for ac_dir in $PATH; do 665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 666 ac_dummy="$PATH" 667 for ac_dir in $ac_dummy; do 646 668 test -z "$ac_dir" && ac_dir=. 647 669 if test -f $ac_dir/$ac_word; then … … 664 686 set dummy cc; ac_word=$2 665 687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 666 echo "configure:6 67: checking for $ac_word" >&5688 echo "configure:689: checking for $ac_word" >&5 667 689 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 668 690 echo $ac_n "(cached) $ac_c" 1>&6 … … 671 693 ac_cv_prog_CC="$CC" # Let the user override the test. 672 694 else 673 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" ${IFS}:"695 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 674 696 ac_prog_rejected=no 675 for ac_dir in $PATH; do 697 ac_dummy="$PATH" 698 for ac_dir in $ac_dummy; do 676 699 test -z "$ac_dir" && ac_dir=. 677 700 if test -f $ac_dir/$ac_word; then … … 708 731 fi 709 732 733 if test -z "$CC"; then 734 case "`uname -s`" in 735 *win32* | *WIN32*) 736 # Extract the first word of "cl", so it can be a program name with args. 737 set dummy cl; ac_word=$2 738 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 739 echo "configure:740: checking for $ac_word" >&5 740 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 741 echo $ac_n "(cached) $ac_c" 1>&6 742 else 743 if test -n "$CC"; then 744 ac_cv_prog_CC="$CC" # Let the user override the test. 745 else 746 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 747 ac_dummy="$PATH" 748 for ac_dir in $ac_dummy; do 749 test -z "$ac_dir" && ac_dir=. 750 if test -f $ac_dir/$ac_word; then 751 ac_cv_prog_CC="cl" 752 break 753 fi 754 done 755 IFS="$ac_save_ifs" 756 fi 757 fi 758 CC="$ac_cv_prog_CC" 759 if test -n "$CC"; then 760 echo "$ac_t""$CC" 1>&6 761 else 762 echo "$ac_t""no" 1>&6 763 fi 764 ;; 765 esac 766 fi 710 767 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 711 768 fi 712 769 713 770 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 714 echo "configure:7 15: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5771 echo "configure:772: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 715 772 716 773 ac_ext=c … … 718 775 ac_cpp='$CPP $CPPFLAGS' 719 776 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 720 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'777 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 721 778 cross_compiling=$ac_cv_prog_cc_cross 722 779 723 cat > conftest.$ac_ext <<EOF 724 #line 725 "configure" 780 cat > conftest.$ac_ext << EOF 781 782 #line 783 "configure" 725 783 #include "confdefs.h" 784 726 785 main(){return(0);} 727 786 EOF 728 if { (eval echo configure:7 29: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then787 if { (eval echo configure:788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 729 788 ac_cv_prog_cc_works=yes 730 789 # If we can't run a trivial program, we are probably using a cross compiler. … … 740 799 fi 741 800 rm -fr conftest* 801 ac_ext=c 802 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 803 ac_cpp='$CPP $CPPFLAGS' 804 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 805 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 806 cross_compiling=$ac_cv_prog_cc_cross 742 807 743 808 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 … … 746 811 fi 747 812 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 748 echo "configure: 749: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5813 echo "configure:814: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 749 814 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 750 815 cross_compiling=$ac_cv_prog_cc_cross 751 816 752 817 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 753 echo "configure: 754: checking whether we are using GNU C" >&5818 echo "configure:819: checking whether we are using GNU C" >&5 754 819 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 755 820 echo $ac_n "(cached) $ac_c" 1>&6 … … 760 825 #endif 761 826 EOF 762 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then827 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 763 828 ac_cv_prog_gcc=yes 764 829 else … … 771 836 if test $ac_cv_prog_gcc = yes; then 772 837 GCC=yes 773 ac_test_CFLAGS="${CFLAGS+set}" 774 ac_save_CFLAGS="$CFLAGS" 775 CFLAGS= 776 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 777 echo "configure:778: checking whether ${CC-cc} accepts -g" >&5 838 else 839 GCC= 840 fi 841 842 ac_test_CFLAGS="${CFLAGS+set}" 843 ac_save_CFLAGS="$CFLAGS" 844 CFLAGS= 845 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 846 echo "configure:847: checking whether ${CC-cc} accepts -g" >&5 778 847 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 779 848 echo $ac_n "(cached) $ac_c" 1>&6 … … 790 859 791 860 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 792 if test "$ac_test_CFLAGS" = set; then 793 CFLAGS="$ac_save_CFLAGS" 794 elif test $ac_cv_prog_cc_g = yes; then 861 if test "$ac_test_CFLAGS" = set; then 862 CFLAGS="$ac_save_CFLAGS" 863 elif test $ac_cv_prog_cc_g = yes; then 864 if test "$GCC" = yes; then 795 865 CFLAGS="-g -O2" 796 866 else 867 CFLAGS="-g" 868 fi 869 else 870 if test "$GCC" = yes; then 797 871 CFLAGS="-O2" 798 fi 799 else 800 GCC= 801 test "${CFLAGS+set}" = set || CFLAGS="-g" 872 else 873 CFLAGS= 874 fi 802 875 fi 803 876 804 877 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 805 echo "configure:8 06: checking how to run the C preprocessor" >&5878 echo "configure:879: checking how to run the C preprocessor" >&5 806 879 # On Suns, sometimes $CPP names a directory. 807 880 if test -n "$CPP" && test -d "$CPP"; then … … 818 891 # not just through cpp. 819 892 cat > conftest.$ac_ext <<EOF 820 #line 8 21"configure"893 #line 894 "configure" 821 894 #include "confdefs.h" 822 895 #include <assert.h> … … 824 897 EOF 825 898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 826 { (eval echo configure: 827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }827 ac_err=`grep -v '^ *+' conftest.out `899 { (eval echo configure:900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 828 901 if test -z "$ac_err"; then 829 902 : … … 835 908 CPP="${CC-cc} -E -traditional-cpp" 836 909 cat > conftest.$ac_ext <<EOF 837 #line 838"configure"910 #line 911 "configure" 838 911 #include "confdefs.h" 839 912 #include <assert.h> … … 841 914 EOF 842 915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 843 { (eval echo configure:844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 844 ac_err=`grep -v '^ *+' conftest.out` 916 { (eval echo configure:917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 918 if test -z "$ac_err"; then 919 : 920 else 921 echo "$ac_err" >&5 922 echo "configure: failed program was:" >&5 923 cat conftest.$ac_ext >&5 924 rm -rf conftest* 925 CPP="${CC-cc} -nologo -E" 926 cat > conftest.$ac_ext <<EOF 927 #line 928 "configure" 928 #include "confdefs.h" 929 #include <assert.h> 930 Syntax Error 931 EOF 932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 933 { (eval echo configure:934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 845 935 if test -z "$ac_err"; then 846 936 : … … 851 941 rm -rf conftest* 852 942 CPP=/lib/cpp 943 fi 944 rm -f conftest* 853 945 fi 854 946 rm -f conftest* … … 889 981 # IRIX /sbin/install 890 982 # AIX /bin/install 983 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 891 984 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 892 985 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 893 986 # ./install, which can be erroneously created by make from ./install.sh. 894 987 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 895 echo "configure: 896: checking for a BSD compatible install" >&5988 echo "configure:989: checking for a BSD compatible install" >&5 896 989 if test -z "$INSTALL"; then 897 990 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 898 991 echo $ac_n "(cached) $ac_c" 1>&6 899 992 else 900 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" ${IFS}:"993 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 901 994 for ac_dir in $PATH; do 902 995 # Account for people who put trailing slashes in PATH elements. … … 905 998 *) 906 999 # OSF1 and SCO ODT 3.0 have their own names for install. 907 for ac_prog in ginstall installbsd scoinst install; do 1000 # Don't use installbsd from OSF since it installs stuff as root 1001 # by default. 1002 for ac_prog in ginstall scoinst install; do 908 1003 if test -f $ac_dir/$ac_prog; then 909 1004 if test $ac_prog = install && 910 1005 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 911 1006 # AIX install. It has an incompatible calling convention. 912 # OSF/1 installbsd also uses dspmsg, but is usable.913 1007 : 914 1008 else … … 940 1034 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 941 1035 1036 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 1037 942 1038 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 943 1039 944 1040 echo $ac_n "checking for AIX""... $ac_c" 1>&6 945 echo "configure: 946: checking for AIX" >&51041 echo "configure:1042: checking for AIX" >&5 946 1042 cat > conftest.$ac_ext <<EOF 947 #line 948"configure"1043 #line 1044 "configure" 948 1044 #include "confdefs.h" 949 1045 #ifdef _AIX … … 972 1068 set dummy $ac_prog; ac_word=$2 973 1069 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 974 echo "configure: 975: checking for $ac_word" >&51070 echo "configure:1071: checking for $ac_word" >&5 975 1071 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 976 1072 echo $ac_n "(cached) $ac_c" 1>&6 … … 979 1075 ac_cv_prog_PERL="$PERL" # Let the user override the test. 980 1076 else 981 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 982 for ac_dir in $PATH; do 1077 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1078 ac_dummy="$PATH" 1079 for ac_dir in $ac_dummy; do 983 1080 test -z "$ac_dir" && ac_dir=. 984 1081 if test -f $ac_dir/$ac_word; then … … 1005 1102 set dummy $ac_prog; ac_word=$2 1006 1103 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1007 echo "configure:1 008: checking for $ac_word" >&51104 echo "configure:1105: checking for $ac_word" >&5 1008 1105 if eval "test \"`echo '$''{'ac_cv_prog_GUNZIP'+set}'`\" = set"; then 1009 1106 echo $ac_n "(cached) $ac_c" 1>&6 … … 1012 1109 ac_cv_prog_GUNZIP="$GUNZIP" # Let the user override the test. 1013 1110 else 1014 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1015 for ac_dir in $PATH; do 1111 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1112 ac_dummy="$PATH" 1113 for ac_dir in $ac_dummy; do 1016 1114 test -z "$ac_dir" && ac_dir=. 1017 1115 if test -f $ac_dir/$ac_word; then … … 1040 1138 set dummy $ac_prog; ac_word=$2 1041 1139 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1042 echo "configure:1 043: checking for $ac_word" >&51140 echo "configure:1141: checking for $ac_word" >&5 1043 1141 if eval "test \"`echo '$''{'ac_cv_prog_MYGZIP'+set}'`\" = set"; then 1044 1142 echo $ac_n "(cached) $ac_c" 1>&6 … … 1047 1145 ac_cv_prog_MYGZIP="$MYGZIP" # Let the user override the test. 1048 1146 else 1049 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1050 for ac_dir in $PATH; do 1147 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1148 ac_dummy="$PATH" 1149 for ac_dir in $ac_dummy; do 1051 1150 test -z "$ac_dir" && ac_dir=. 1052 1151 if test -f $ac_dir/$ac_word; then … … 1072 1171 set dummy latex2html; ac_word=$2 1073 1172 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1074 echo "configure:1 075: checking for $ac_word" >&51173 echo "configure:1174: checking for $ac_word" >&5 1075 1174 if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then 1076 1175 echo $ac_n "(cached) $ac_c" 1>&6 … … 1079 1178 ac_cv_prog_LATEX2HTML="$LATEX2HTML" # Let the user override the test. 1080 1179 else 1081 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1082 for ac_dir in $PATH; do 1180 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1181 ac_dummy="$PATH" 1182 for ac_dir in $ac_dummy; do 1083 1183 test -z "$ac_dir" && ac_dir=. 1084 1184 if test -f $ac_dir/$ac_word; then … … 1098 1198 1099 1199 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1100 echo "configure:1 101: checking whether ln -s works" >&51200 echo "configure:1201: checking whether ln -s works" >&5 1101 1201 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1102 1202 echo $ac_n "(cached) $ac_c" 1>&6 … … 1130 1230 set dummy texi2html; ac_word=$2 1131 1231 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1132 echo "configure:1 133: checking for $ac_word" >&51232 echo "configure:1233: checking for $ac_word" >&5 1133 1233 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then 1134 1234 echo $ac_n "(cached) $ac_c" 1>&6 … … 1137 1237 ac_cv_prog_TEXI2HTML="$TEXI2HTML" # Let the user override the test. 1138 1238 else 1139 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1140 for ac_dir in $PATH; do 1239 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1240 ac_dummy="$PATH" 1241 for ac_dir in $ac_dummy; do 1141 1242 test -z "$ac_dir" && ac_dir=. 1142 1243 if test -f $ac_dir/$ac_word; then … … 1203 1304 # check for AIX 1204 1305 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1205 echo "configure:1 206: checking whether _AIX is defined" >&51306 echo "configure:1307: checking whether _AIX is defined" >&5 1206 1307 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1207 1308 echo $ac_n "(cached) $ac_c" 1>&6 1208 1309 else 1209 1310 cat > conftest.$ac_ext <<EOF 1210 #line 1 211"configure"1311 #line 1312 "configure" 1211 1312 #include "confdefs.h" 1212 1313 #ifdef _AIX … … 1234 1335 1235 1336 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1236 echo "configure:1 237: checking for atof in -lm" >&51337 echo "configure:1338: checking for atof in -lm" >&5 1237 1338 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1238 1339 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1242 1343 LIBS="-lm $LIBS" 1243 1344 cat > conftest.$ac_ext <<EOF 1244 #line 1 245"configure"1345 #line 1346 "configure" 1245 1346 #include "confdefs.h" 1246 1347 /* Override any gcc2 internal prototype to avoid an error. */ … … 1253 1354 ; return 0; } 1254 1355 EOF 1255 if { (eval echo configure:1 256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1356 if { (eval echo configure:1357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1256 1357 rm -rf conftest* 1257 1358 eval "ac_cv_lib_$ac_lib_var=yes" … … 1281 1382 1282 1383 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1283 echo "configure:1 284: checking for socket in -lbsd" >&51384 echo "configure:1385: checking for socket in -lbsd" >&5 1284 1385 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1285 1386 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1289 1390 LIBS="-lbsd $LIBS" 1290 1391 cat > conftest.$ac_ext <<EOF 1291 #line 1 292"configure"1392 #line 1393 "configure" 1292 1393 #include "confdefs.h" 1293 1394 /* Override any gcc2 internal prototype to avoid an error. */ … … 1300 1401 ; return 0; } 1301 1402 EOF 1302 if { (eval echo configure:1 303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1403 if { (eval echo configure:1404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1303 1404 rm -rf conftest* 1304 1405 eval "ac_cv_lib_$ac_lib_var=yes" … … 1328 1429 1329 1430 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1330 echo "configure:1 331: checking for listen in -lsocket" >&51431 echo "configure:1432: checking for listen in -lsocket" >&5 1331 1432 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1332 1433 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1336 1437 LIBS="-lsocket $LIBS" 1337 1438 cat > conftest.$ac_ext <<EOF 1338 #line 1 339"configure"1439 #line 1440 "configure" 1339 1440 #include "confdefs.h" 1340 1441 /* Override any gcc2 internal prototype to avoid an error. */ … … 1347 1448 ; return 0; } 1348 1449 EOF 1349 if { (eval echo configure:1 350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1450 if { (eval echo configure:1451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1350 1451 rm -rf conftest* 1351 1452 eval "ac_cv_lib_$ac_lib_var=yes" … … 1375 1476 1376 1477 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1377 echo "configure:1 378: checking for gethostbyname in -lnsl" >&51478 echo "configure:1479: checking for gethostbyname in -lnsl" >&5 1378 1479 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1379 1480 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1383 1484 LIBS="-lnsl $LIBS" 1384 1485 cat > conftest.$ac_ext <<EOF 1385 #line 1 386"configure"1486 #line 1487 "configure" 1386 1487 #include "confdefs.h" 1387 1488 /* Override any gcc2 internal prototype to avoid an error. */ … … 1394 1495 ; return 0; } 1395 1496 EOF 1396 if { (eval echo configure:1 397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1497 if { (eval echo configure:1498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1397 1498 rm -rf conftest* 1398 1499 eval "ac_cv_lib_$ac_lib_var=yes" … … 1422 1523 1423 1524 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 1424 echo "configure:1 425: checking for mpq_init in -lgmp" >&51525 echo "configure:1526: checking for mpq_init in -lgmp" >&5 1425 1526 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 1426 1527 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1430 1531 LIBS="-lgmp $LIBS" 1431 1532 cat > conftest.$ac_ext <<EOF 1432 #line 1 433"configure"1533 #line 1534 "configure" 1433 1534 #include "confdefs.h" 1434 1535 /* Override any gcc2 internal prototype to avoid an error. */ … … 1441 1542 ; return 0; } 1442 1543 EOF 1443 if { (eval echo configure:1 444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1544 if { (eval echo configure:1545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1444 1545 rm -rf conftest* 1445 1546 eval "ac_cv_lib_$ac_lib_var=yes" … … 1469 1570 1470 1571 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 1471 echo "configure:1 472: checking for mpz_init in -lsmallgmp" >&51572 echo "configure:1573: checking for mpz_init in -lsmallgmp" >&5 1472 1573 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 1473 1574 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1477 1578 LIBS="-lsmallgmp $LIBS" 1478 1579 cat > conftest.$ac_ext <<EOF 1479 #line 1 480"configure"1580 #line 1581 "configure" 1480 1581 #include "confdefs.h" 1481 1582 /* Override any gcc2 internal prototype to avoid an error. */ … … 1488 1589 ; return 0; } 1489 1590 EOF 1490 if { (eval echo configure:1 491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1591 if { (eval echo configure:1592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1491 1592 rm -rf conftest* 1492 1593 eval "ac_cv_lib_$ac_lib_var=yes" … … 1516 1617 1517 1618 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 1518 echo "configure:1 519: checking for IMP_PutGmpInt in -lMP" >&51619 echo "configure:1620: checking for IMP_PutGmpInt in -lMP" >&5 1519 1620 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 1520 1621 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1524 1625 LIBS="-lMP $LIBS" 1525 1626 cat > conftest.$ac_ext <<EOF 1526 #line 1 527"configure"1627 #line 1628 "configure" 1527 1628 #include "confdefs.h" 1528 1629 /* Override any gcc2 internal prototype to avoid an error. */ … … 1535 1636 ; return 0; } 1536 1637 EOF 1537 if { (eval echo configure:1 538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1638 if { (eval echo configure:1639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1538 1639 rm -rf conftest* 1539 1640 eval "ac_cv_lib_$ac_lib_var=yes" … … 1563 1664 1564 1665 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 1565 echo "configure:1 566: checking for MPT_GetTree in -lMPT" >&51666 echo "configure:1667: checking for MPT_GetTree in -lMPT" >&5 1566 1667 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 1567 1668 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1571 1672 LIBS="-lMPT $LIBS" 1572 1673 cat > conftest.$ac_ext <<EOF 1573 #line 1 574"configure"1674 #line 1675 "configure" 1574 1675 #include "confdefs.h" 1575 1676 /* Override any gcc2 internal prototype to avoid an error. */ … … 1582 1683 ; return 0; } 1583 1684 EOF 1584 if { (eval echo configure:1 585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1685 if { (eval echo configure:1686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1585 1686 rm -rf conftest* 1586 1687 eval "ac_cv_lib_$ac_lib_var=yes" … … 1610 1711 1611 1712 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 1612 echo "configure:1 613: checking for atof in -lsingcf" >&51713 echo "configure:1714: checking for atof in -lsingcf" >&5 1613 1714 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 1614 1715 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1618 1719 LIBS="-lsingcf $LIBS" 1619 1720 cat > conftest.$ac_ext <<EOF 1620 #line 1 621"configure"1721 #line 1722 "configure" 1621 1722 #include "confdefs.h" 1622 1723 /* Override any gcc2 internal prototype to avoid an error. */ … … 1629 1730 ; return 0; } 1630 1731 EOF 1631 if { (eval echo configure:1 632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1732 if { (eval echo configure:1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1632 1733 rm -rf conftest* 1633 1734 eval "ac_cv_lib_$ac_lib_var=yes" … … 1657 1758 1658 1759 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 1659 echo "configure:1 660: checking for atof in -lsingfac" >&51760 echo "configure:1761: checking for atof in -lsingfac" >&5 1660 1761 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 1661 1762 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1665 1766 LIBS="-lsingfac $LIBS" 1666 1767 cat > conftest.$ac_ext <<EOF 1667 #line 1 668"configure"1768 #line 1769 "configure" 1668 1769 #include "confdefs.h" 1669 1770 /* Override any gcc2 internal prototype to avoid an error. */ … … 1676 1777 ; return 0; } 1677 1778 EOF 1678 if { (eval echo configure:1 679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1779 if { (eval echo configure:1780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1679 1780 rm -rf conftest* 1680 1781 eval "ac_cv_lib_$ac_lib_var=yes" … … 1708 1809 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1709 1810 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1710 echo "configure:1 711: checking for $ac_hdr" >&51811 echo "configure:1812: checking for $ac_hdr" >&5 1711 1812 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1712 1813 echo $ac_n "(cached) $ac_c" 1>&6 1713 1814 else 1714 1815 cat > conftest.$ac_ext <<EOF 1715 #line 1 716"configure"1816 #line 1817 "configure" 1716 1817 #include "confdefs.h" 1717 1818 #include <$ac_hdr> 1718 1819 EOF 1719 1820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1720 { (eval echo configure:1 721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1721 ac_err=`grep -v '^ *+' conftest.out `1821 { (eval echo configure:1822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1722 1823 if test -z "$ac_err"; then 1723 1824 rm -rf conftest* … … 1822 1923 fi 1823 1924 1925 # Check whether --enable-mtrack or --disable-mtrack was given. 1926 if test "${enable_mtrack+set}" = set; then 1927 enableval="$enable_mtrack" 1928 : 1929 fi 1930 1824 1931 # Check whether --enable-Singular or --disable-Singular was given. 1825 1932 if test "${enable_Singular+set}" = set; then … … 1834 1941 fi 1835 1942 1943 # Check whether --enable-Texi2html or --disable-Texi2html was given. 1944 if test "${enable_Texi2html+set}" = set; then 1945 enableval="$enable_Texi2html" 1946 : 1947 fi 1948 1949 # Check whether --enable-doc or --disable-doc was given. 1950 if test "${enable_doc+set}" = set; then 1951 enableval="$enable_doc" 1952 : 1953 fi 1954 1955 # Check whether --enable-emacs or --disable-emacs was given. 1956 if test "${enable_emacs+set}" = set; then 1957 enableval="$enable_emacs" 1958 : 1959 fi 1960 1836 1961 # Check whether --with-MP or --without-MP was given. 1837 1962 if test "${with_MP+set}" = set; then … … 1852 1977 fi 1853 1978 1979 # Check whether --with-mtrack or --without-mtrack was given. 1980 if test "${with_mtrack+set}" = set; then 1981 withval="$with_mtrack" 1982 : 1983 fi 1984 1854 1985 # Check whether --with-gmp or --without-gmp was given. 1855 1986 if test "${with_gmp+set}" = set; then … … 1860 1991 1861 1992 echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6 1862 echo "configure:1 863: checking which tmp dir to use" >&51993 echo "configure:1994: checking which tmp dir to use" >&5 1863 1994 if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then 1864 1995 if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1) … … 1877 2008 if test "${with_perl5+set}" != set; then 1878 2009 echo $ac_n "checking for perl5""... $ac_c" 1>&6 1879 echo "configure: 1880: checking for perl5" >&52010 echo "configure:2011: checking for perl5" >&5 1880 2011 if eval "test \"`echo '$''{'ac_cv_prog_perl5'+set}'`\" = set"; then 1881 2012 echo $ac_n "(cached) $ac_c" 1>&6 … … 1914 2045 set dummy $ac_prog; ac_word=$2 1915 2046 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1916 echo "configure: 1917: checking for $ac_word" >&52047 echo "configure:2048: checking for $ac_word" >&5 1917 2048 if eval "test \"`echo '$''{'ac_cv_prog_PERL5'+set}'`\" = set"; then 1918 2049 echo $ac_n "(cached) $ac_c" 1>&6 … … 1921 2052 ac_cv_prog_PERL5="$PERL5" # Let the user override the test. 1922 2053 else 1923 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1924 for ac_dir in $PATH; do 2054 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2055 ac_dummy="$PATH" 2056 for ac_dir in $ac_dummy; do 1925 2057 test -z "$ac_dir" && ac_dir=. 1926 2058 if test -f $ac_dir/$ac_word; then … … 1948 2080 1949 2081 1950 echo $ac_n "checking whether to configure and build texinfo""... $ac_c" 1>&6 1951 echo "configure:1952: checking whether to configure and build texinfo" >&5 1952 if test "$enable_texinfo" != no && test -d Texinfo; then 2082 2083 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 2084 echo "configure:2085: checking whether to configure and build gmp lib" >&5 2085 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 2086 if test "$ac_gmp_ok" != yes && test -d gmp; then 2087 echo "$ac_t""yes" 1>&6 2088 enable_gmp=yes 2089 CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" 2090 ac_configure_args="$ac_configure_args --enable-gmp" 2091 OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" 2092 else 2093 echo "$ac_t""no" 1>&6 2094 enable_gmp=no 2095 fi 2096 elif test "$enable_gmp" = yes; then 2097 if test ! -d gmp; then 2098 echo "$ac_t""no" 1>&6 2099 { echo "configure: error: Can not find gmp subdir" 1>&2; exit 1; } 2100 else 2101 echo "$ac_t""yes" 1>&6 2102 CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" 2103 OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" 2104 fi 2105 else 2106 echo "$ac_t""no" 1>&6 2107 fi 2108 2109 echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6 2110 echo "configure:2111: checking whether to configure and build smallgmp lib" >&5 2111 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 2112 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ 2113 test "$enable_gmp" != yes && test -d smallgmp; then 2114 echo "$ac_t""yes" 1>&6 2115 enable_smallgmp=yes 2116 CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" 2117 ac_configure_args="$ac_configure_args --enable-smallgmp --enable-gmp" 2118 else 2119 echo "$ac_t""no" 1>&6 2120 enable_smallgmp=no 2121 fi 2122 elif test "$enable_smallgmp" = yes; then 2123 if test ! -d smallgmp; then 2124 echo "$ac_t""no" 1>&6 2125 { echo "configure: error: Can not find smallgmp subdir" 1>&2; exit 1; } 2126 else 2127 echo "$ac_t""yes" 1>&6 2128 CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" 2129 if test "$ac_gmp_ok" != yes && test "$enable_gmp" != yes; then 2130 ac_configure_args="$ac_configure_args --enable-gmp" 2131 fi 2132 fi 2133 else 2134 echo "$ac_t""${enable_smallgmp}" 1>&6 2135 fi 2136 2137 # Check whether we have at least one of smallgmp or gmp 2138 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ 2139 test "$enable_smallgmp" != yes && test "$enable_gmp" != yes; then 2140 { echo "configure: error: can neither find nor built gmp or smallgmp" 1>&2; exit 1; } 2141 fi 2142 2143 # Check whether we need to cheat subsequent configures with --enable-gmp 2144 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes; then 2145 ac_configure_args="$ac_configure_args --enable-gmp" 2146 fi 2147 2148 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 2149 echo "configure:2150: checking whether to configure and build MP lib" >&5 2150 if test "$enable_MP" != yes && test "$enable_MP" != no; then 2151 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ 2152 (test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes); then 2153 echo "$ac_t""yes" 1>&6 2154 enable_MP=yes 2155 CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" 2156 ac_configure_args="$ac_configure_args --enable-MP" 2157 else 2158 echo "$ac_t""no" 1>&6 2159 enable_MP=no 2160 fi 2161 elif test "$enable_MP" = yes; then 2162 if test ! -d MP; then 2163 echo "$ac_t""no" 1>&6 2164 { echo "configure: error: can not build MP without MP directory" 1>&2; exit 1; } 2165 fi 2166 if test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes; then 2167 echo "$ac_t""yes" 1>&6 2168 CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" 2169 else 2170 echo "$ac_t""no" 1>&6 2171 { echo "configure: error: can not build MP without gmp" 1>&2; exit 1; } 2172 fi 2173 else 2174 echo "$ac_t""no" 1>&6 2175 fi 2176 2177 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 2178 echo "configure:2179: checking whether to configure and build factory lib" >&5 2179 if test "$enable_factory" != yes && test "$enable_factory" != no; then 2180 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ 2181 test -d factory; then 2182 enable_factory=yes 2183 echo "$ac_t""yes" 1>&6 2184 CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" 2185 ac_configure_args="$ac_configure_args --enable-factory" 2186 else 2187 enable_factory=no 2188 echo "$ac_t""no" 1>&6 2189 fi 2190 elif test "$enable_factory" = yes; then 2191 if test -d factory; then 2192 echo "$ac_t""yes" 1>&6 2193 CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" 2194 else 2195 echo "$ac_t""no" 1>&6 2196 { echo "configure: error: can not build factory without factory directory" 1>&2; exit 1; } 2197 fi 2198 else 2199 echo "$ac_t""no" 1>&6 2200 fi 2201 2202 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 2203 echo "configure:2204: checking whether to configure and build libfac lib" >&5 2204 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 2205 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ 2206 test -d libfac && \ 2207 (test "$ac_factory_ok" = yes || test "$enable_factory" = yes); then 2208 enable_libfac=yes 2209 echo "$ac_t""yes" 1>&6 2210 CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" 2211 ac_configure_args="$ac_configure_args --enable-libfac" 2212 else 2213 enable_libfac=no 2214 echo "$ac_t""no" 1>&6 2215 fi 2216 elif test "$enable_libfac" = yes; then 2217 if test ! -d libfac; then 2218 echo "$ac_t""no" 1>&6 2219 { echo "configure: error: can not build libfac without libfac directory" 1>&2; exit 1; } 2220 fi 2221 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then 2222 echo "$ac_t""yes" 1>&6 2223 CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" 2224 else 2225 echo "$ac_t""no" 1>&6 2226 { echo "configure: error: Can not build libfac without factory" 1>&2; exit 1; } 2227 fi 2228 else 2229 echo "$ac_t""no" 1>&6 2230 fi 2231 2232 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 2233 echo "configure:2234: checking whether to configure and build sgroup lib" >&5 2234 if test "$enable_sgroup" != yes && test "$enable_sgroup" != no; then 2235 if test "$with_sgroup" != no && test "$ac_sgroup_ok" != yes && \ 2236 test -d sgroup && \ 2237 (test "$ac_MP_ok" = yes || test "$enable_MP" = yes); then 2238 enable_sgroup=yes 2239 echo "$ac_t""yes" 1>&6 2240 CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" 2241 ac_configure_args="$ac_configure_args --enable-sgroup" 2242 else 2243 enable_sgroup=no 2244 echo "$ac_t""no" 1>&6 2245 fi 2246 elif test "$enable_sgroup" = yes; then 2247 if test ! -d sgroup; then 2248 echo "$ac_t""no" 1>&6 2249 { echo "configure: error: can not build sgroup without sgroup directory" 1>&2; exit 1; } 2250 fi 2251 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then 2252 echo "$ac_t""yes" 1>&6 2253 CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" 2254 else 2255 echo "$ac_t""no" 1>&6 2256 { echo "configure: error: Can not build sgroup without MP" 1>&2; exit 1; } 2257 fi 2258 else 2259 echo "$ac_t""no" 1>&6 2260 fi 2261 2262 BUILD_SUBDIRS="$CONFIG_SUBDIRS" 2263 2264 echo $ac_n "checking whether to build mpr and use mtrack""... $ac_c" 1>&6 2265 echo "configure:2266: checking whether to build mpr and use mtrack" >&5 2266 if test -d mpr && test "$ac_cv_singuname" = ix86-Linux && test "$enable_mtrack" != no; then 2267 echo "$ac_t""yes" 1>&6 2268 if test "$enable_mtrack" != yes; then 2269 ac_configure_args="$ac_configure_args --enable-mtrack" 2270 fi 2271 enable_mtrack=yes 2272 OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" mpr/Makefile" 2273 BUILD_SUBDIRS="$BUILD_SUBDIRS mpr" 2274 else 2275 echo "$ac_t""no" 1>&6 2276 enable_mtrack=no 2277 fi 2278 2279 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 2280 echo "configure:2281: checking whether to configure and build Singular" >&5 2281 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 2282 if test "$with_Singular" != no && test -d Singular; then 2283 enable_Singular=yes 2284 echo "$ac_t""yes" 1>&6 2285 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" 2286 BUILD_SUBDIRS="$BUILD_SUBDIRS Singular" 2287 ac_configure_args="$ac_configure_args --enable-Singular" 2288 else 2289 enable_Singular=no 2290 echo "$ac_t""no" 1>&6 2291 fi 2292 elif test "$enable_Singular" = yes; then 2293 if test -d Singular; then 2294 echo "$ac_t""yes" 1>&6 2295 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" 2296 BUILD_SUBDIRS="$BUILD_SUBDIRS Singular" 2297 else 2298 echo "$ac_t""no" 1>&6 2299 { echo "configure: error: can not build Singular without Singular directory" 1>&2; exit 1; } 2300 fi 2301 else 2302 echo "$ac_t""no" 1>&6 2303 fi 2304 2305 echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6 2306 echo "configure:2307: checking whether to configure and build Texinfo" >&5 2307 if test "$enable_Texinfo" != no && test -d Texinfo; then 1953 2308 echo "$ac_t""yes" 1>&6 1954 2309 enable_texinfo=yes 1955 2310 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texinfo" 2311 BUILD_SUBDIRS="$BUILD_SUBDIRS Texinfo" 1956 2312 TEXI2DVI=${bindir}/texi2dvi 1957 2313 MAKEINFO="${bindir}/makeinfo --force" … … 1960 2316 1961 2317 2318 if test "$enable_Texinfo" != yes; then 2319 ac_configure_args="$ac_configure_args --enable-Texinfo" 2320 fi 1962 2321 else 1963 2322 echo "$ac_t""no" 1>&6 … … 1967 2326 set dummy makeinfo; ac_word=$2 1968 2327 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1969 echo "configure: 1970: checking for $ac_word" >&52328 echo "configure:2329: checking for $ac_word" >&5 1970 2329 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then 1971 2330 echo $ac_n "(cached) $ac_c" 1>&6 … … 1974 2333 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. 1975 2334 else 1976 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1977 for ac_dir in $PATH; do 2335 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2336 ac_dummy="$PATH" 2337 for ac_dir in $ac_dummy; do 1978 2338 test -z "$ac_dir" && ac_dir=. 1979 2339 if test -f $ac_dir/$ac_word; then … … 1996 2356 set dummy texi2dvi; ac_word=$2 1997 2357 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1998 echo "configure: 1999: checking for $ac_word" >&52358 echo "configure:2359: checking for $ac_word" >&5 1999 2359 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then 2000 2360 echo $ac_n "(cached) $ac_c" 1>&6 … … 2003 2363 ac_cv_prog_TEXI2DVI="$TEXI2DVI" # Let the user override the test. 2004 2364 else 2005 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2006 for ac_dir in $PATH; do 2365 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2366 ac_dummy="$PATH" 2367 for ac_dir in $ac_dummy; do 2007 2368 test -z "$ac_dir" && ac_dir=. 2008 2369 if test -f $ac_dir/$ac_word; then … … 2025 2386 set dummy texindex; ac_word=$2 2026 2387 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2027 echo "configure:2 028: checking for $ac_word" >&52388 echo "configure:2389: checking for $ac_word" >&5 2028 2389 if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then 2029 2390 echo $ac_n "(cached) $ac_c" 1>&6 … … 2032 2393 ac_cv_prog_TEXINDEX="$TEXINDEX" # Let the user override the test. 2033 2394 else 2034 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2035 for ac_dir in $PATH; do 2395 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2396 ac_dummy="$PATH" 2397 for ac_dir in $ac_dummy; do 2036 2398 test -z "$ac_dir" && ac_dir=. 2037 2399 if test -f $ac_dir/$ac_word; then … … 2054 2416 2055 2417 2056 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 2057 echo "configure:2058: checking whether to configure and build gmp lib" >&5 2058 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 2059 if test "$ac_gmp_ok" != yes && test -d gmp; then 2060 echo "$ac_t""yes" 1>&6 2061 enable_gmp=yes 2062 CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" 2063 ac_configure_args="$ac_configure_args --enable-gmp" 2064 OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" 2065 else 2066 echo "$ac_t""no" 1>&6 2067 enable_gmp=no 2068 fi 2069 elif test "$enable_gmp" = yes; then 2070 if test ! -d gmp; then 2071 echo "$ac_t""no" 1>&6 2072 { echo "configure: error: Can not find gmp subdir" 1>&2; exit 1; } 2073 else 2074 echo "$ac_t""yes" 1>&6 2075 CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" 2076 OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" 2077 fi 2078 else 2079 echo "$ac_t""no" 1>&6 2080 fi 2081 2082 echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6 2083 echo "configure:2084: checking whether to configure and build smallgmp lib" >&5 2084 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 2085 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ 2086 test "$enable_gmp" != yes && test -d smallgmp; then 2087 echo "$ac_t""yes" 1>&6 2088 enable_smallgmp=yes 2089 CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" 2090 ac_configure_args="$ac_configure_args --enable-smallgmp --enable-gmp" 2091 else 2092 echo "$ac_t""no" 1>&6 2093 enable_smallgmp=no 2094 fi 2095 elif test "$enable_smallgmp" = yes; then 2096 if test ! -d smallgmp; then 2097 echo "$ac_t""no" 1>&6 2098 { echo "configure: error: Can not find smallgmp subdir" 1>&2; exit 1; } 2099 else 2100 echo "$ac_t""yes" 1>&6 2101 CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" 2102 if test "$ac_gmp_ok" != yes && test "$enable_gmp" != yes; then 2103 ac_configure_args="$ac_configure_args --enable-gmp" 2104 fi 2105 fi 2106 else 2107 echo "$ac_t""${enable_smallgmp}" 1>&6 2108 fi 2109 2110 # Check whether we have at least one of smallgmp or gmp 2111 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ 2112 test "$enable_smallgmp" != yes && test "$enable_gmp" != yes; then 2113 { echo "configure: error: can neither find nor built gmp or smallgmp" 1>&2; exit 1; } 2114 fi 2115 2116 # Check whether we need to cheat subsequent configures with --enable-gmp 2117 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes; then 2118 ac_configure_args="$ac_configure_args --enable-gmp" 2119 fi 2120 2121 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 2122 echo "configure:2123: checking whether to configure and build MP lib" >&5 2123 if test "$enable_MP" != yes && test "$enable_MP" != no; then 2124 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ 2125 (test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes); then 2126 echo "$ac_t""yes" 1>&6 2127 enable_MP=yes 2128 CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" 2129 ac_configure_args="$ac_configure_args --enable-MP" 2130 else 2131 echo "$ac_t""no" 1>&6 2132 enable_MP=no 2133 fi 2134 elif test "$enable_MP" = yes; then 2135 if test ! -d MP; then 2136 echo "$ac_t""no" 1>&6 2137 { echo "configure: error: can not build MP without MP directory" 1>&2; exit 1; } 2138 fi 2139 if test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes; then 2140 echo "$ac_t""yes" 1>&6 2141 CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" 2142 else 2143 echo "$ac_t""no" 1>&6 2144 { echo "configure: error: can not build MP without gmp" 1>&2; exit 1; } 2145 fi 2146 else 2147 echo "$ac_t""no" 1>&6 2148 fi 2149 2150 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 2151 echo "configure:2152: checking whether to configure and build factory lib" >&5 2152 if test "$enable_factory" != yes && test "$enable_factory" != no; then 2153 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ 2154 test -d factory; then 2155 enable_factory=yes 2156 echo "$ac_t""yes" 1>&6 2157 CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" 2158 ac_configure_args="$ac_configure_args --enable-factory" 2159 else 2160 enable_factory=no 2161 echo "$ac_t""no" 1>&6 2162 fi 2163 elif test "$enable_factory" = yes; then 2164 if test -d factory; then 2165 echo "$ac_t""yes" 1>&6 2166 CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" 2167 else 2168 echo "$ac_t""no" 1>&6 2169 { echo "configure: error: can not build factory without factory directory" 1>&2; exit 1; } 2170 fi 2171 else 2172 echo "$ac_t""no" 1>&6 2173 fi 2174 2175 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 2176 echo "configure:2177: checking whether to configure and build libfac lib" >&5 2177 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 2178 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ 2179 test -d libfac && \ 2180 (test "$ac_factory_ok" = yes || test "$enable_factory" = yes); then 2181 enable_libfac=yes 2182 echo "$ac_t""yes" 1>&6 2183 CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" 2184 ac_configure_args="$ac_configure_args --enable-libfac" 2185 else 2186 enable_libfac=no 2187 echo "$ac_t""no" 1>&6 2188 fi 2189 elif test "$enable_libfac" = yes; then 2190 if test ! -d libfac; then 2191 echo "$ac_t""no" 1>&6 2192 { echo "configure: error: can not build libfac without libfac directory" 1>&2; exit 1; } 2193 fi 2194 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then 2195 echo "$ac_t""yes" 1>&6 2196 CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" 2197 else 2198 echo "$ac_t""no" 1>&6 2199 { echo "configure: error: Can not build libfac without factory" 1>&2; exit 1; } 2200 fi 2201 else 2202 echo "$ac_t""no" 1>&6 2203 fi 2204 2205 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 2206 echo "configure:2207: checking whether to configure and build sgroup lib" >&5 2207 if test "$enable_sgroup" != yes && test "$enable_sgroup" != no; then 2208 if test "$with_sgroup" != no && test "$ac_sgroup_ok" != yes && \ 2209 test -d sgroup && \ 2210 (test "$ac_MP_ok" = yes || test "$enable_MP" = yes); then 2211 enable_sgroup=yes 2212 echo "$ac_t""yes" 1>&6 2213 CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" 2214 ac_configure_args="$ac_configure_args --enable-sgroup" 2215 else 2216 enable_sgroup=no 2217 echo "$ac_t""no" 1>&6 2218 fi 2219 elif test "$enable_sgroup" = yes; then 2220 if test ! -d sgroup; then 2221 echo "$ac_t""no" 1>&6 2222 { echo "configure: error: can not build sgroup without sgroup directory" 1>&2; exit 1; } 2223 fi 2224 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then 2225 echo "$ac_t""yes" 1>&6 2226 CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" 2227 else 2228 echo "$ac_t""no" 1>&6 2229 { echo "configure: error: Can not build sgroup without MP" 1>&2; exit 1; } 2230 fi 2231 else 2232 echo "$ac_t""no" 1>&6 2233 fi 2234 2235 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 2236 echo "configure:2237: checking whether to configure and build Singular" >&5 2237 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 2238 if test "$with_Singular" != no && test -d Singular; then 2239 enable_Singular=yes 2240 echo "$ac_t""yes" 1>&6 2241 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" 2242 ac_configure_args="$ac_configure_args --enable-Singular" 2243 else 2244 enable_Singular=no 2245 echo "$ac_t""no" 1>&6 2246 fi 2247 elif test "$enable_Singular" = yes; then 2248 if test -d Singular; then 2249 echo "$ac_t""yes" 1>&6 2250 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" 2251 else 2252 echo "$ac_t""no" 1>&6 2253 { echo "configure: error: can not build Singular without Singular directory" 1>&2; exit 1; } 2254 fi 2255 else 2256 echo "$ac_t""no" 1>&6 2257 fi 2258 2418 echo $ac_n "checking whether to build Texi2html""... $ac_c" 1>&6 2419 echo "configure:2420: checking whether to build Texi2html" >&5 2420 if test "$enable_Texi2html" != no && test -d Texi2html; then 2421 echo "$ac_t""yes" 1>&6 2422 BUILD_SUBDIRS="$BUILD_SUBDIRS Texi2html" 2423 if test "$enable_Texi2html" != yes; then 2424 ac_configure_args="$ac_configure_args --enable-Texi2html" 2425 fi 2426 else 2427 echo "$ac_t""no" 1>&6 2428 fi 2429 2430 echo $ac_n "checking whether to build doc""... $ac_c" 1>&6 2431 echo "configure:2432: checking whether to build doc" >&5 2432 if test "$enable_doc" != no && test -d doc; then 2433 echo "$ac_t""yes" 1>&6 2434 BUILD_SUBDIRS="$BUILD_SUBDIRS doc" 2435 if test "$enable_doc" != yes; then 2436 enable_doc=yes 2437 ac_configure_args="$ac_configure_args --enable-doc" 2438 fi 2439 else 2440 enable_doc=no 2441 echo "$ac_t""no" 1>&6 2442 fi 2443 2444 echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6 2445 echo "configure:2446: checking whether to build emacs" >&5 2446 if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then 2447 echo "$ac_t""yes" 1>&6 2448 BUILD_SUBDIRS="$BUILD_SUBDIRS emacs" 2449 if test "$enable_emacs" != yes; then 2450 ac_configure_args="$ac_configure_args --enable-emacs" 2451 fi 2452 else 2453 echo "$ac_t""no" 1>&6 2454 fi 2259 2455 2260 2456 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 2261 echo "configure:2 262: checking which apint package to use" >&52457 echo "configure:2458: checking which apint package to use" >&5 2262 2458 if test "$with_apint" = gmp; then 2263 2459 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 2283 2479 2284 2480 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 2285 echo "configure:2 286: checking whether to use with MP" >&52481 echo "configure:2482: checking whether to use with MP" >&5 2286 2482 if test "$with_MP" = yes; then 2287 2483 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then … … 2302 2498 2303 2499 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 2304 echo "configure:2 305: checking whether to use with factory" >&52500 echo "configure:2501: checking whether to use with factory" >&5 2305 2501 if test "$with_factory" = yes; then 2306 2502 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 2321 2517 2322 2518 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 2323 echo "configure:2 324: checking whether to use with libfac" >&52519 echo "configure:2520: checking whether to use with libfac" >&5 2324 2520 if test "$with_libfac" = yes; then 2325 2521 if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then … … 2339 2535 fi 2340 2536 2341 echo $ac_n "checking whether to use mtrack""... $ac_c" 1>&6 2342 echo "configure:2343: checking whether to use mtrack" >&5 2343 if test -d mpr && test "$ac_cv_singuname" = ix86-Linux; then 2344 echo "$ac_t""yes" 1>&6 2345 ac_configure_args="$ac_configure_args --with-mtrack" 2346 OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" mpr/Makefile" 2347 BUILD_SUBDIRS="$BUILD_SUBDIRS mpr" 2348 fi 2537 2538 echo $ac_n "checking whether to use with mtrack""... $ac_c" 1>&6 2539 echo "configure:2540: checking whether to use with mtrack" >&5 2540 if test "$with_mtrack" != no && test "$with_mtrack" != yes; then 2541 if test "$enable_mtrack" = yes; then 2542 with_mtrack=yes 2543 else 2544 with_mtrack=no 2545 fi 2546 ac_configure_args="$ac_configure_args --with-mtrack=$with_mtrack" 2547 elif test "$with_mtrack" = yes && test "$enable_mtrack" != yes; then 2548 with_mtrack=no 2549 ac_configure_args="$ac_configure_args --with-mtrack=no" 2550 fi 2551 if test "$with_mtrack" != yes; then 2552 echo "$ac_t""no" 1>&6 2553 else 2554 echo "$ac_t""yes" 1>&6 2555 fi 2556 2349 2557 2350 2558 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 2351 echo "configure:2 352: checking whether to use with Singular" >&52559 echo "configure:2560: checking whether to use with Singular" >&5 2352 2560 if test "$with_Singular" != no && test "$with_Singular" != yes; then 2353 2561 if test "$enable_Singular" = yes; then … … 2367 2575 2368 2576 SUBDIRS="" 2577 if test -d smallgmp; then 2578 SUBDIRS="$SUBDIRS smallgmp" 2579 fi 2580 if test -d gmp; then 2581 SUBDIRS="$SUBDIRS gmp" 2582 fi 2583 if test -d MP; then 2584 SUBDIRS="$SUBDIRS MP" 2585 fi 2586 if test -d factory; then 2587 SUBDIRS="$SUBDIRS factory" 2588 fi 2589 if test -d libfac; then 2590 SUBDIRS="$SUBDIRS libfac" 2591 fi 2592 if test -d mpr; then 2593 SUBDIRS="$SUBDIRS mpr" 2594 fi 2595 if test -d sgroup; then 2596 SUBDIRS="$SUBDIRS sgroup" 2597 fi 2598 if test -d Singular; then 2599 SUBDIRS="$SUBDIRS Singular" 2600 fi 2601 if test -d Texinfo; then 2602 SUBDIRS="$SUBDIRS Texinfo" 2603 fi 2604 if test -d Texi2html; then 2605 SUBDIRS="$SUBDIRS Texi2html" 2606 fi 2369 2607 if test -d doc; then 2370 2608 SUBDIRS="$SUBDIRS doc" 2371 2609 fi 2372 if test -d smallgmp; then 2373 SUBDIRS="$SUBDIRS smallgmp" 2374 fi 2375 if test -d gmp; then 2376 SUBDIRS="$SUBDIRS gmp" 2377 fi 2378 if test -d MP; then 2379 SUBDIRS="$SUBDIRS MP" 2380 fi 2381 if test -d factory; then 2382 SUBDIRS="$SUBDIRS factory" 2383 fi 2384 if test -d libfac; then 2385 SUBDIRS="$SUBDIRS libfac" 2610 if test -d emacs; then 2611 SUBDIRS="$SUBDIRS emacs" 2386 2612 fi 2387 2613 if test -d rpm; then 2388 2614 SUBDIRS="$SUBDIRS rpm" 2389 2615 fi 2390 if test -d mpr; then2391 SUBDIRS="$SUBDIRS mpr"2392 fi2393 if test -d Singular; then2394 SUBDIRS="$SUBDIRS Singular"2395 fi2396 if test -d emacs; then2397 SUBDIRS="$SUBDIRS emacs"2398 BUILD_SUBDIRS="$BUILD_SUBDIRS emacs"2399 fi2400 if test -d Texi2html; then2401 SUBDIRS="$SUBDIRS Texi2html"2402 BUILD_SUBDIRS="$BUILD_SUBDIRS Texi2html"2403 fi2404 if test -d sgroup; then2405 SUBDIRS="$SUBDIRS sgroup"2406 fi2407 2616 2408 2617 2409 2618 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2410 echo "configure:2 411: checking whether ${MAKE-make} sets \${MAKE}" >&52619 echo "configure:2620: checking whether ${MAKE-make} sets \${MAKE}" >&5 2411 2620 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2412 2621 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 2463 2672 # and sets the high bit in the cache file unless we assign to the vars. 2464 2673 (set) 2>&1 | 2465 case `(ac_space=' '; set ) 2>&1` in2674 case `(ac_space=' '; set | grep ac_space) 2>&1` in 2466 2675 *ac_space=\ *) 2467 2676 # `set' does not quote correctly, so add quotes (double-quote substitution … … 2542 2751 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 2543 2752 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 2544 echo "$CONFIG_STATUS generated by autoconf version 2.1 2"2753 echo "$CONFIG_STATUS generated by autoconf version 2.13" 2545 2754 exit 0 ;; 2546 2755 -help | --help | --hel | --he | --h) … … 2562 2771 $ac_vpsub 2563 2772 $extrasub 2773 s%@SHELL@%$SHELL%g 2564 2774 s%@CFLAGS@%$CFLAGS%g 2565 2775 s%@CPPFLAGS@%$CPPFLAGS%g 2566 2776 s%@CXXFLAGS@%$CXXFLAGS%g 2777 s%@FFLAGS@%$FFLAGS%g 2567 2778 s%@DEFS@%$DEFS%g 2568 2779 s%@LDFLAGS@%$LDFLAGS%g … … 2590 2801 s%@CPP@%$CPP%g 2591 2802 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 2803 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 2592 2804 s%@INSTALL_DATA@%$INSTALL_DATA%g 2593 2805 s%@PERL@%$PERL%g -
configure.in
r002ead raac46c 2 2 AC_INIT(Singular/matpol.h) 3 3 AC_PREFIX_DEFAULT(`pwd`) 4 OUTPUT_MAKEFILES="Makefile doc/Makefile doc/version.texi doc/uname.texi" 4 OUTPUT_MAKEFILES="Makefile" 5 if test -d "doc"; then 6 OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES doc/Makefile doc/version.texi doc/uname.texi" 7 fi 5 8 if test -d "rpm"; then 6 9 OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" rpm/Makefile" … … 209 212 [ --with-perl5=[PERL5,no] uses PERL5 as perl5 program, default is perl5]) 210 213 AC_ARG_ENABLE(smallgmp, \ 211 [ --enable-PACKAGE configure and build PACKAGE212 --disable-PACKAGE do not configure and build PACKAGE214 [ --enable-PACKAGE configure and/or build PACKAGE 215 --disable-PACKAGE do not configure and/or build PACKAGE 213 216 where PACKAGE can be: 214 217 smallgmp minimal version of gmp written in C only]) … … 223 226 AC_ARG_ENABLE(sgroup, \ 224 227 [ sgroup numerical semigroup computations]) 228 AC_ARG_ENABLE(mtrack, \ 229 [ mtrack utility to track unused memory]) 225 230 AC_ARG_ENABLE(Singular, \ 226 231 [ Singular CAS for Polynomial Computations]) 227 232 AC_ARG_ENABLE(Texinfo, \ 228 233 [ Texinfo Texinfo for info, texi2dvi, makeinfo]) 234 AC_ARG_ENABLE(Texi2html, \ 235 [ Texi2html Texinfo to HTML converter]) 236 AC_ARG_ENABLE(doc, \ 237 [ doc Singular documentation]) 238 AC_ARG_ENABLE(emacs, \ 239 [ emacs emacs completion files]) 229 240 AC_ARG_WITH(MP,\ 230 241 [ --with-PACKAGE use PACKAGE, provide dependent functionality … … 236 247 AC_ARG_WITH(libfac, \ 237 248 [ libfac char set and modp poly factorization library]) 249 AC_ARG_WITH(mtrack, \ 250 [ mtrack utility to track unused memory]) 238 251 AC_ARG_WITH(gmp, \ 239 252 [ --with-apint=PACKAGE use PACKAGE for arbitary integer arithmetic … … 305 318 dnl Check whether or not to configure and build various packages 306 319 dnl 307 AC_MSG_CHECKING(whether to configure and build texinfo) 308 if test "$enable_texinfo" != no && test -d Texinfo; then 320 321 AC_MSG_CHECKING(whether to configure and build gmp lib) 322 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 323 if test "$ac_gmp_ok" != yes && test -d gmp; then 324 AC_MSG_RESULT(yes) 325 enable_gmp=yes 326 CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" 327 ac_configure_args="$ac_configure_args --enable-gmp" 328 OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" 329 else 330 AC_MSG_RESULT(no) 331 enable_gmp=no 332 fi 333 elif test "$enable_gmp" = yes; then 334 if test ! -d gmp; then 335 AC_MSG_RESULT(no) 336 AC_MSG_ERROR(Can not find gmp subdir) 337 else 338 AC_MSG_RESULT(yes) 339 CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" 340 OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" 341 fi 342 else 343 AC_MSG_RESULT(no) 344 fi 345 346 AC_MSG_CHECKING(whether to configure and build smallgmp lib) 347 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 348 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ 349 test "$enable_gmp" != yes && test -d smallgmp; then 350 AC_MSG_RESULT(yes) 351 enable_smallgmp=yes 352 CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" 353 ac_configure_args="$ac_configure_args --enable-smallgmp --enable-gmp" 354 else 355 AC_MSG_RESULT(no) 356 enable_smallgmp=no 357 fi 358 elif test "$enable_smallgmp" = yes; then 359 if test ! -d smallgmp; then 360 AC_MSG_RESULT(no) 361 AC_MSG_ERROR(Can not find smallgmp subdir) 362 else 363 AC_MSG_RESULT(yes) 364 CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" 365 if test "$ac_gmp_ok" != yes && test "$enable_gmp" != yes; then 366 ac_configure_args="$ac_configure_args --enable-gmp" 367 fi 368 fi 369 else 370 AC_MSG_RESULT(${enable_smallgmp}) 371 fi 372 373 # Check whether we have at least one of smallgmp or gmp 374 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ 375 test "$enable_smallgmp" != yes && test "$enable_gmp" != yes; then 376 AC_MSG_ERROR(can neither find nor built gmp or smallgmp) 377 fi 378 379 # Check whether we need to cheat subsequent configures with --enable-gmp 380 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes; then 381 ac_configure_args="$ac_configure_args --enable-gmp" 382 fi 383 384 AC_MSG_CHECKING(whether to configure and build MP lib) 385 if test "$enable_MP" != yes && test "$enable_MP" != no; then 386 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ 387 (test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes); then 388 AC_MSG_RESULT(yes) 389 enable_MP=yes 390 CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" 391 ac_configure_args="$ac_configure_args --enable-MP" 392 else 393 AC_MSG_RESULT(no) 394 enable_MP=no 395 fi 396 elif test "$enable_MP" = yes; then 397 if test ! -d MP; then 398 AC_MSG_RESULT(no) 399 AC_MSG_ERROR(can not build MP without MP directory) 400 fi 401 if test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes; then 402 AC_MSG_RESULT(yes) 403 CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" 404 else 405 AC_MSG_RESULT(no) 406 AC_MSG_ERROR(can not build MP without gmp) 407 fi 408 else 409 AC_MSG_RESULT(no) 410 fi 411 412 AC_MSG_CHECKING(whether to configure and build factory lib) 413 if test "$enable_factory" != yes && test "$enable_factory" != no; then 414 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ 415 test -d factory; then 416 enable_factory=yes 417 AC_MSG_RESULT(yes) 418 CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" 419 ac_configure_args="$ac_configure_args --enable-factory" 420 else 421 enable_factory=no 422 AC_MSG_RESULT(no) 423 fi 424 elif test "$enable_factory" = yes; then 425 if test -d factory; then 426 AC_MSG_RESULT(yes) 427 CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" 428 else 429 AC_MSG_RESULT(no) 430 AC_MSG_ERROR(can not build factory without factory directory) 431 fi 432 else 433 AC_MSG_RESULT(no) 434 fi 435 436 AC_MSG_CHECKING(whether to configure and build libfac lib) 437 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 438 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ 439 test -d libfac && \ 440 (test "$ac_factory_ok" = yes || test "$enable_factory" = yes); then 441 enable_libfac=yes 442 AC_MSG_RESULT(yes) 443 CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" 444 ac_configure_args="$ac_configure_args --enable-libfac" 445 else 446 enable_libfac=no 447 AC_MSG_RESULT(no) 448 fi 449 elif test "$enable_libfac" = yes; then 450 if test ! -d libfac; then 451 AC_MSG_RESULT(no) 452 AC_MSG_ERROR(can not build libfac without libfac directory) 453 fi 454 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then 455 AC_MSG_RESULT(yes) 456 CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" 457 else 458 AC_MSG_RESULT(no) 459 AC_MSG_ERROR(Can not build libfac without factory) 460 fi 461 else 462 AC_MSG_RESULT(no) 463 fi 464 465 AC_MSG_CHECKING(whether to configure and build sgroup lib) 466 if test "$enable_sgroup" != yes && test "$enable_sgroup" != no; then 467 if test "$with_sgroup" != no && test "$ac_sgroup_ok" != yes && \ 468 test -d sgroup && \ 469 (test "$ac_MP_ok" = yes || test "$enable_MP" = yes); then 470 enable_sgroup=yes 471 AC_MSG_RESULT(yes) 472 CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" 473 ac_configure_args="$ac_configure_args --enable-sgroup" 474 else 475 enable_sgroup=no 476 AC_MSG_RESULT(no) 477 fi 478 elif test "$enable_sgroup" = yes; then 479 if test ! -d sgroup; then 480 AC_MSG_RESULT(no) 481 AC_MSG_ERROR(can not build sgroup without sgroup directory) 482 fi 483 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then 484 AC_MSG_RESULT(yes) 485 CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" 486 else 487 AC_MSG_RESULT(no) 488 AC_MSG_ERROR(Can not build sgroup without MP) 489 fi 490 else 491 AC_MSG_RESULT(no) 492 fi 493 494 BUILD_SUBDIRS="$CONFIG_SUBDIRS" 495 496 AC_MSG_CHECKING(whether to build mpr and use mtrack) 497 if test -d mpr && test "$ac_cv_singuname" = ix86-Linux && test "$enable_mtrack" != no; then 498 AC_MSG_RESULT(yes) 499 if test "$enable_mtrack" != yes; then 500 ac_configure_args="$ac_configure_args --enable-mtrack" 501 fi 502 enable_mtrack=yes 503 OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" mpr/Makefile" 504 BUILD_SUBDIRS="$BUILD_SUBDIRS mpr" 505 else 506 AC_MSG_RESULT(no) 507 enable_mtrack=no 508 fi 509 510 AC_MSG_CHECKING(whether to configure and build Singular) 511 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 512 if test "$with_Singular" != no && test -d Singular; then 513 enable_Singular=yes 514 AC_MSG_RESULT(yes) 515 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" 516 BUILD_SUBDIRS="$BUILD_SUBDIRS Singular" 517 ac_configure_args="$ac_configure_args --enable-Singular" 518 else 519 enable_Singular=no 520 AC_MSG_RESULT(no) 521 fi 522 elif test "$enable_Singular" = yes; then 523 if test -d Singular; then 524 AC_MSG_RESULT(yes) 525 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" 526 BUILD_SUBDIRS="$BUILD_SUBDIRS Singular" 527 else 528 AC_MSG_RESULT(no) 529 AC_MSG_ERROR(can not build Singular without Singular directory) 530 fi 531 else 532 AC_MSG_RESULT(no) 533 fi 534 535 AC_MSG_CHECKING(whether to configure and build Texinfo) 536 if test "$enable_Texinfo" != no && test -d Texinfo; then 309 537 AC_MSG_RESULT(yes) 310 538 enable_texinfo=yes 311 539 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texinfo" 540 BUILD_SUBDIRS="$BUILD_SUBDIRS Texinfo" 312 541 TEXI2DVI=${bindir}/texi2dvi 313 542 MAKEINFO="${bindir}/makeinfo --force" … … 316 545 AC_SUBST(MAKEINFO) 317 546 AC_SUBST(TEXINDEX) 547 if test "$enable_Texinfo" != yes; then 548 ac_configure_args="$ac_configure_args --enable-Texinfo" 549 fi 318 550 else 319 551 AC_MSG_RESULT(no) … … 326 558 327 559 328 AC_MSG_CHECKING(whether to configure and build gmp lib) 329 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 330 if test "$ac_gmp_ok" != yes && test -d gmp; then 331 AC_MSG_RESULT(yes) 332 enable_gmp=yes 333 CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" 334 ac_configure_args="$ac_configure_args --enable-gmp" 335 OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" 336 else 337 AC_MSG_RESULT(no) 338 enable_gmp=no 339 fi 340 elif test "$enable_gmp" = yes; then 341 if test ! -d gmp; then 342 AC_MSG_RESULT(no) 343 AC_MSG_ERROR(Can not find gmp subdir) 344 else 345 AC_MSG_RESULT(yes) 346 CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" 347 OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" 348 fi 349 else 350 AC_MSG_RESULT(no) 351 fi 352 353 AC_MSG_CHECKING(whether to configure and build smallgmp lib) 354 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 355 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ 356 test "$enable_gmp" != yes && test -d smallgmp; then 357 AC_MSG_RESULT(yes) 358 enable_smallgmp=yes 359 CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" 360 ac_configure_args="$ac_configure_args --enable-smallgmp --enable-gmp" 361 else 362 AC_MSG_RESULT(no) 363 enable_smallgmp=no 364 fi 365 elif test "$enable_smallgmp" = yes; then 366 if test ! -d smallgmp; then 367 AC_MSG_RESULT(no) 368 AC_MSG_ERROR(Can not find smallgmp subdir) 369 else 370 AC_MSG_RESULT(yes) 371 CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" 372 if test "$ac_gmp_ok" != yes && test "$enable_gmp" != yes; then 373 ac_configure_args="$ac_configure_args --enable-gmp" 374 fi 375 fi 376 else 377 AC_MSG_RESULT(${enable_smallgmp}) 378 fi 379 380 # Check whether we have at least one of smallgmp or gmp 381 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ 382 test "$enable_smallgmp" != yes && test "$enable_gmp" != yes; then 383 AC_MSG_ERROR(can neither find nor built gmp or smallgmp) 384 fi 385 386 # Check whether we need to cheat subsequent configures with --enable-gmp 387 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes; then 388 ac_configure_args="$ac_configure_args --enable-gmp" 389 fi 390 391 AC_MSG_CHECKING(whether to configure and build MP lib) 392 if test "$enable_MP" != yes && test "$enable_MP" != no; then 393 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ 394 (test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes); then 395 AC_MSG_RESULT(yes) 396 enable_MP=yes 397 CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" 398 ac_configure_args="$ac_configure_args --enable-MP" 399 else 400 AC_MSG_RESULT(no) 401 enable_MP=no 402 fi 403 elif test "$enable_MP" = yes; then 404 if test ! -d MP; then 405 AC_MSG_RESULT(no) 406 AC_MSG_ERROR(can not build MP without MP directory) 407 fi 408 if test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes; then 409 AC_MSG_RESULT(yes) 410 CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" 411 else 412 AC_MSG_RESULT(no) 413 AC_MSG_ERROR(can not build MP without gmp) 414 fi 415 else 416 AC_MSG_RESULT(no) 417 fi 418 419 AC_MSG_CHECKING(whether to configure and build factory lib) 420 if test "$enable_factory" != yes && test "$enable_factory" != no; then 421 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ 422 test -d factory; then 423 enable_factory=yes 424 AC_MSG_RESULT(yes) 425 CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" 426 ac_configure_args="$ac_configure_args --enable-factory" 427 else 428 enable_factory=no 429 AC_MSG_RESULT(no) 430 fi 431 elif test "$enable_factory" = yes; then 432 if test -d factory; then 433 AC_MSG_RESULT(yes) 434 CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" 435 else 436 AC_MSG_RESULT(no) 437 AC_MSG_ERROR(can not build factory without factory directory) 438 fi 439 else 440 AC_MSG_RESULT(no) 441 fi 442 443 AC_MSG_CHECKING(whether to configure and build libfac lib) 444 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 445 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ 446 test -d libfac && \ 447 (test "$ac_factory_ok" = yes || test "$enable_factory" = yes); then 448 enable_libfac=yes 449 AC_MSG_RESULT(yes) 450 CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" 451 ac_configure_args="$ac_configure_args --enable-libfac" 452 else 453 enable_libfac=no 454 AC_MSG_RESULT(no) 455 fi 456 elif test "$enable_libfac" = yes; then 457 if test ! -d libfac; then 458 AC_MSG_RESULT(no) 459 AC_MSG_ERROR(can not build libfac without libfac directory) 460 fi 461 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then 462 AC_MSG_RESULT(yes) 463 CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" 464 else 465 AC_MSG_RESULT(no) 466 AC_MSG_ERROR(Can not build libfac without factory) 467 fi 468 else 469 AC_MSG_RESULT(no) 470 fi 471 472 AC_MSG_CHECKING(whether to configure and build sgroup lib) 473 if test "$enable_sgroup" != yes && test "$enable_sgroup" != no; then 474 if test "$with_sgroup" != no && test "$ac_sgroup_ok" != yes && \ 475 test -d sgroup && \ 476 (test "$ac_MP_ok" = yes || test "$enable_MP" = yes); then 477 enable_sgroup=yes 478 AC_MSG_RESULT(yes) 479 CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" 480 ac_configure_args="$ac_configure_args --enable-sgroup" 481 else 482 enable_sgroup=no 483 AC_MSG_RESULT(no) 484 fi 485 elif test "$enable_sgroup" = yes; then 486 if test ! -d sgroup; then 487 AC_MSG_RESULT(no) 488 AC_MSG_ERROR(can not build sgroup without sgroup directory) 489 fi 490 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then 491 AC_MSG_RESULT(yes) 492 CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" 493 else 494 AC_MSG_RESULT(no) 495 AC_MSG_ERROR(Can not build sgroup without MP) 496 fi 497 else 498 AC_MSG_RESULT(no) 499 fi 500 501 AC_MSG_CHECKING(whether to configure and build Singular) 502 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 503 if test "$with_Singular" != no && test -d Singular; then 504 enable_Singular=yes 505 AC_MSG_RESULT(yes) 506 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" 507 ac_configure_args="$ac_configure_args --enable-Singular" 508 else 509 enable_Singular=no 510 AC_MSG_RESULT(no) 511 fi 512 elif test "$enable_Singular" = yes; then 513 if test -d Singular; then 514 AC_MSG_RESULT(yes) 515 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" 516 else 517 AC_MSG_RESULT(no) 518 AC_MSG_ERROR(can not build Singular without Singular directory) 519 fi 520 else 521 AC_MSG_RESULT(no) 522 fi 523 560 AC_MSG_CHECKING(whether to build Texi2html) 561 if test "$enable_Texi2html" != no && test -d Texi2html; then 562 AC_MSG_RESULT(yes) 563 BUILD_SUBDIRS="$BUILD_SUBDIRS Texi2html" 564 if test "$enable_Texi2html" != yes; then 565 ac_configure_args="$ac_configure_args --enable-Texi2html" 566 fi 567 else 568 AC_MSG_RESULT(no) 569 fi 570 571 AC_MSG_CHECKING(whether to build doc) 572 if test "$enable_doc" != no && test -d doc; then 573 AC_MSG_RESULT(yes) 574 BUILD_SUBDIRS="$BUILD_SUBDIRS doc" 575 if test "$enable_doc" != yes; then 576 enable_doc=yes 577 ac_configure_args="$ac_configure_args --enable-doc" 578 fi 579 else 580 enable_doc=no 581 AC_MSG_RESULT(no) 582 fi 583 584 AC_MSG_CHECKING(whether to build emacs) 585 if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then 586 AC_MSG_RESULT(yes) 587 BUILD_SUBDIRS="$BUILD_SUBDIRS emacs" 588 if test "$enable_emacs" != yes; then 589 ac_configure_args="$ac_configure_args --enable-emacs" 590 fi 591 else 592 AC_MSG_RESULT(no) 593 fi 524 594 525 595 dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll … … 605 675 fi 606 676 607 AC_MSG_CHECKING(whether to use mtrack) 608 if test -d mpr && test "$ac_cv_singuname" = ix86-Linux; then 609 AC_MSG_RESULT(yes) 610 ac_configure_args="$ac_configure_args --with-mtrack" 611 OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" mpr/Makefile" 612 BUILD_SUBDIRS="$BUILD_SUBDIRS mpr" 613 fi 677 678 AC_MSG_CHECKING(whether to use with mtrack) 679 if test "$with_mtrack" != no && test "$with_mtrack" != yes; then 680 if test "$enable_mtrack" = yes; then 681 with_mtrack=yes 682 else 683 with_mtrack=no 684 fi 685 ac_configure_args="$ac_configure_args --with-mtrack=$with_mtrack" 686 elif test "$with_mtrack" = yes && test "$enable_mtrack" != yes; then 687 with_mtrack=no 688 ac_configure_args="$ac_configure_args --with-mtrack=no" 689 fi 690 if test "$with_mtrack" != yes; then 691 AC_MSG_RESULT(no) 692 else 693 AC_MSG_RESULT(yes) 694 fi 695 614 696 615 697 AC_MSG_CHECKING(whether to use with Singular) … … 634 716 dnl 635 717 SUBDIRS="" 718 if test -d smallgmp; then 719 SUBDIRS="$SUBDIRS smallgmp" 720 fi 721 if test -d gmp; then 722 SUBDIRS="$SUBDIRS gmp" 723 fi 724 if test -d MP; then 725 SUBDIRS="$SUBDIRS MP" 726 fi 727 if test -d factory; then 728 SUBDIRS="$SUBDIRS factory" 729 fi 730 if test -d libfac; then 731 SUBDIRS="$SUBDIRS libfac" 732 fi 733 if test -d mpr; then 734 SUBDIRS="$SUBDIRS mpr" 735 fi 736 if test -d sgroup; then 737 SUBDIRS="$SUBDIRS sgroup" 738 fi 739 if test -d Singular; then 740 SUBDIRS="$SUBDIRS Singular" 741 fi 742 if test -d Texinfo; then 743 SUBDIRS="$SUBDIRS Texinfo" 744 fi 745 if test -d Texi2html; then 746 SUBDIRS="$SUBDIRS Texi2html" 747 fi 636 748 if test -d doc; then 637 749 SUBDIRS="$SUBDIRS doc" 638 750 fi 639 if test -d smallgmp; then 640 SUBDIRS="$SUBDIRS smallgmp" 641 fi 642 if test -d gmp; then 643 SUBDIRS="$SUBDIRS gmp" 644 fi 645 if test -d MP; then 646 SUBDIRS="$SUBDIRS MP" 647 fi 648 if test -d factory; then 649 SUBDIRS="$SUBDIRS factory" 650 fi 651 if test -d libfac; then 652 SUBDIRS="$SUBDIRS libfac" 751 if test -d emacs; then 752 SUBDIRS="$SUBDIRS emacs" 653 753 fi 654 754 if test -d rpm; then 655 755 SUBDIRS="$SUBDIRS rpm" 656 fi657 if test -d mpr; then658 SUBDIRS="$SUBDIRS mpr"659 fi660 if test -d Singular; then661 SUBDIRS="$SUBDIRS Singular"662 fi663 if test -d emacs; then664 SUBDIRS="$SUBDIRS emacs"665 BUILD_SUBDIRS="$BUILD_SUBDIRS emacs"666 fi667 if test -d Texi2html; then668 SUBDIRS="$SUBDIRS Texi2html"669 BUILD_SUBDIRS="$BUILD_SUBDIRS Texi2html"670 fi671 if test -d sgroup; then672 SUBDIRS="$SUBDIRS sgroup"673 756 fi 674 757 -
doc/texinfo.tex
r002ead raac46c 4 4 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi 5 5 % 6 \def\texinfoversion{1999-0 2-21.16}%6 \def\texinfoversion{1999-09-25.10} 7 7 % 8 8 % Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 … … 30 30 % Please try the latest version of texinfo.tex before submitting bug 31 31 % reports; you can get the latest version from: 32 % ftp://ftp.gnu.org/ pub/gnu/texinfo.tex32 % ftp://ftp.gnu.org/gnu/texinfo.tex 33 33 % (and all GNU mirrors, see http://www.gnu.org/order/ftp.html) 34 % ftp://t ug.org/tex/texinfo.tex35 % ftp:// ctan.org/macros/texinfo/texinfo.tex36 % (and all CTAN mirrors, finger ctan@ ctan.org for a list).34 % ftp://texinfo.org/tex/texinfo.tex 35 % ftp://us.ctan.org/macros/texinfo/texinfo.tex 36 % (and all CTAN mirrors, finger ctan@us.ctan.org for a list). 37 37 % /home/gd/gnu/doc/texinfo.tex on the GNU machines. 38 38 % The texinfo.tex in any given Texinfo distribution could well be out 39 39 % of date, so if that's what you're using, please check. 40 % T here is a small home page for Texinfoat http://texinfo.org/.40 % Texinfo has a small home page at http://texinfo.org/. 41 41 % 42 42 % Send bug reports to bug-texinfo@gnu.org. Please include including a … … 68 68 69 69 % Save some parts of plain tex whose names we will redefine. 70 71 70 \let\ptexb=\b 72 71 \let\ptexbullet=\bullet … … 88 87 \let\+ = \relax 89 88 90 91 89 \message{Basics,} 92 90 \chardef\other=12 … … 100 98 \ifx\putwordChapter\undefined \gdef\putwordChapter{Chapter}\fi 101 99 \ifx\putwordfile\undefined \gdef\putwordfile{file}\fi 100 \ifx\putwordin\undefined \gdef\putwordin{in}\fi 102 101 \ifx\putwordIndexIsEmpty\undefined \gdef\putwordIndexIsEmpty{(Index is empty)}\fi 103 102 \ifx\putwordIndexNonexistent\undefined \gdef\putwordIndexNonexistent{(Index is nonexistent)}\fi 104 103 \ifx\putwordInfo\undefined \gdef\putwordInfo{Info}\fi 104 \ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi 105 105 \ifx\putwordMethodon\undefined \gdef\putwordMethodon{Method on}\fi 106 106 \ifx\putwordNoTitle\undefined \gdef\putwordNoTitle{No Title}\fi … … 130 130 \ifx\putwordDefmac\undefined \gdef\putwordDefmac{Macro}\fi 131 131 \ifx\putwordDefspec\undefined \gdef\putwordDefspec{Special Form}\fi 132 \ifx\putwordDefivar\undefined \gdef\putwordDefivar{Instance Variable}\fi133 132 \ifx\putwordDefvar\undefined \gdef\putwordDefvar{Variable}\fi 134 133 \ifx\putwordDefopt\undefined \gdef\putwordDefopt{User Option}\fi … … 245 244 \fi 246 245 % 246 \ifpdfmakepagedest \pdfmkdest{\the\pageno} \fi 247 % 247 248 \ifcropmarks 248 249 \egroup % end of \vbox\bgroup … … 599 600 600 601 \def\needx#1{% 601 % Go intovertical mode, so we don't make a big box in the middle of a602 % Ensure vertical mode, so we don't make a big box in the middle of a 602 603 % paragraph. 603 604 \par 604 605 % 605 % Don't add any leading before our big empty box, but allow a page 606 % break, since the best break might be right here. 607 \allowbreak 608 \nointerlineskip 609 \vtop to #1\mil{\vfil}% 610 % 611 % TeX does not even consider page breaks if a penalty added to the 612 % main vertical list is 10000 or more. But in order to see if the 613 % empty box we just added fits on the page, we must make it consider 614 % page breaks. On the other hand, we don't want to actually break the 615 % page after the empty box. So we use a penalty of 9999. 616 % 617 % There is an extremely small chance that TeX will actually break the 618 % page at this \penalty, if there are no other feasible breakpoints in 619 % sight. (If the user is using lots of big @group commands, which 620 % almost-but-not-quite fill up a page, TeX will have a hard time doing 621 % good page breaking, for example.) However, I could not construct an 622 % example where a page broke at this \penalty; if it happens in a real 623 % document, then we can reconsider our strategy. 624 \penalty9999 625 % 626 % Back up by the size of the box, whether we did a page break or not. 627 \kern -#1\mil 628 % 629 % Do not allow a page break right after this kern. 630 \nobreak 606 % If the @need value is less than one line space, it's useless. 607 \dimen0 = #1\mil 608 \dimen2 = \ht\strutbox 609 \advance\dimen2 by \dp\strutbox 610 \ifdim\dimen0 > \dimen2 611 % 612 % Do a \strut just to make the height of this box be normal, so the 613 % normal leading is inserted relative to the preceding line. 614 % And a page break here is fine. 615 \vtop to #1\mil{\strut\vfil}% 616 % 617 % TeX does not even consider page breaks if a penalty added to the 618 % main vertical list is 10000 or more. But in order to see if the 619 % empty box we just added fits on the page, we must make it consider 620 % page breaks. On the other hand, we don't want to actually break the 621 % page after the empty box. So we use a penalty of 9999. 622 % 623 % There is an extremely small chance that TeX will actually break the 624 % page at this \penalty, if there are no other feasible breakpoints in 625 % sight. (If the user is using lots of big @group commands, which 626 % almost-but-not-quite fill up a page, TeX will have a hard time doing 627 % good page breaking, for example.) However, I could not construct an 628 % example where a page broke at this \penalty; if it happens in a real 629 % document, then we can reconsider our strategy. 630 \penalty9999 631 % 632 % Back up by the size of the box, whether we did a page break or not. 633 \kern -#1\mil 634 % 635 % Do not allow a page break right after this kern. 636 \nobreak 637 \fi 631 638 } 632 639 … … 755 762 \fi 756 763 \parindent = \defaultparindent 764 } 765 766 % @exampleindent NCHARS 767 % We'll use ems for NCHARS like @paragraphindent. 768 % It seems @exampleindent asis isn't necessary, but 769 % I preserve it to make it similar to @paragraphindent. 770 \def\exampleindent{\parsearg\doexampleindent} 771 \def\doexampleindent#1{% 772 \def\temp{#1}% 773 \ifx\temp\asisword 774 \else 775 \ifx\temp\noneword 776 \lispnarrowing = 0pt 777 \else 778 \lispnarrowing = #1em 779 \fi 780 \fi 757 781 } 758 782 … … 823 847 % @bye. 824 848 \outer\def\bye{\pagealignmacro\tracingstats=1\ptexend} 849 850 851 \message{pdf,} 852 % adobe `portable' document format 853 \newcount\tempnum 854 \newcount\lnkcount 855 \newtoks\filename 856 \newcount\filenamelength 857 \newcount\pgn 858 \newtoks\toksA 859 \newtoks\toksB 860 \newtoks\toksC 861 \newtoks\toksD 862 \newbox\boxA 863 \newcount\countA 864 \newif\ifpdf 865 \newif\ifpdfmakepagedest 866 867 \ifx\pdfoutput\undefined 868 \pdffalse 869 \let\pdfmkdest = \gobble 870 \let\pdfurl = \gobble 871 \let\endlink = \relax 872 \let\linkcolor = \relax 873 \let\pdfmakeoutlines = \relax 874 \else 875 \pdftrue 876 \pdfoutput = 1 877 \input pdfcolor 878 \def\dopdfimage#1#2#3{% 879 \def\imagewidth{#2}% 880 \def\imageheight{#3}% 881 \ifnum\pdftexversion < 14 882 \pdfimage 883 \else 884 \pdfximage 885 \fi 886 \ifx\empty\imagewidth\else width \imagewidth \fi 887 \ifx\empty\imageheight\else height \imageheight \fi 888 {#1.pdf}% 889 \ifnum\pdftexversion < 14 \else 890 \pdfrefximage \pdflastximage 891 \fi} 892 \def\pdfmkdest#1{\pdfdest name{#1@} xyz} 893 \def\pdfmkpgn#1{#1@} 894 \let\linkcolor = \Cyan 895 \def\endlink{\Black\pdfendlink} 896 % Adding outlines to PDF; macros for calculating structure of outlines 897 % come from Petr Olsak 898 \def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0% 899 \else \csname#1\endcsname \fi} 900 \def\advancenumber#1{\tempnum=\expnumber{#1}\relax 901 \advance\tempnum by1 902 \expandafter\xdef\csname#1\endcsname{\the\tempnum}} 903 \def\pdfmakeoutlines{{% 904 \openin 1 \jobname.toc 905 \ifeof 1\else\bgroup 906 \closein 1 907 \indexnofonts 908 \def\tt{} 909 % thanh's hack / proper braces in bookmarks 910 \edef\mylbrace{\iftrue \string{\else}\fi}\let\{=\mylbrace 911 \edef\myrbrace{\iffalse{\else\string}\fi}\let\}=\myrbrace 912 % 913 \def\chapentry ##1##2##3{} 914 \def\unnumbchapentry ##1##2{} 915 \def\secentry ##1##2##3##4{\advancenumber{chap##2}} 916 \def\unnumbsecentry ##1##2{} 917 \def\subsecentry ##1##2##3##4##5{\advancenumber{sec##2.##3}} 918 \def\unnumbsubsecentry ##1##2{} 919 \def\subsubsecentry ##1##2##3##4##5##6{\advancenumber{subsec##2.##3.##4}} 920 \def\unnumbsubsubsecentry ##1##2{} 921 \input \jobname.toc 922 \def\chapentry ##1##2##3{% 923 \pdfoutline goto name{\pdfmkpgn{##3}}count-\expnumber{chap##2}{##1}} 924 \def\unnumbchapentry ##1##2{% 925 \pdfoutline goto name{\pdfmkpgn{##2}}{##1}} 926 \def\secentry ##1##2##3##4{% 927 \pdfoutline goto name{\pdfmkpgn{##4}}count-\expnumber{sec##2.##3}{##1}} 928 \def\unnumbsecentry ##1##2{% 929 \pdfoutline goto name{\pdfmkpgn{##2}}{##1}} 930 \def\subsecentry ##1##2##3##4##5{% 931 \pdfoutline goto name{\pdfmkpgn{##5}}count-\expnumber{subsec##2.##3.##4}{##1}} 932 \def\unnumbsubsecentry ##1##2{% 933 \pdfoutline goto name{\pdfmkpgn{##2}}{##1}} 934 \def\subsubsecentry ##1##2##3##4##5##6{% 935 \pdfoutline goto name{\pdfmkpgn{##6}}{##1}} 936 \def\unnumbsubsubsecentry ##1##2{% 937 \pdfoutline goto name{\pdfmkpgn{##2}}{##1}} 938 \input \jobname.toc 939 \egroup\fi 940 }} 941 \def\makelinks #1,{% 942 \def\params{#1}\def\E{END}% 943 \ifx\params\E 944 \let\nextmakelinks=\relax 945 \else 946 \let\nextmakelinks=\makelinks 947 \ifnum\lnkcount>0,\fi 948 \picknum{#1}% 949 \startlink attr{/Border [0 0 0]} 950 goto name{\pdfmkpgn{\the\pgn}}% 951 \linkcolor #1% 952 \advance\lnkcount by 1% 953 \endlink 954 \fi 955 \nextmakelinks 956 } 957 \def\picknum#1{\expandafter\pn#1} 958 \def\pn#1{% 959 \def\p{#1}% 960 \ifx\p\lbrace 961 \let\nextpn=\ppn 962 \else 963 \let\nextpn=\ppnn 964 \def\first{#1} 965 \fi 966 \nextpn 967 } 968 \def\ppn#1{\pgn=#1\gobble} 969 \def\ppnn{\pgn=\first} 970 \def\pdfmklnk#1{\lnkcount=0\makelinks #1,END,} 971 \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks} 972 \def\skipspaces#1{\def\PP{#1}\def\D{|}% 973 \ifx\PP\D\let\nextsp\relax 974 \else\let\nextsp\skipspaces 975 \ifx\p\space\else\addtokens{\filename}{\PP}% 976 \advance\filenamelength by 1 977 \fi 978 \fi 979 \nextsp} 980 \def\getfilename#1{\filenamelength=0\expandafter\skipspaces#1|\relax} 981 \ifnum\pdftexversion < 14 982 \let \startlink \pdfannotlink 983 \else 984 \let \startlink \pdfstartlink 985 \fi 986 \def\pdfurl#1{% 987 \begingroup 988 \normalturnoffactive\def\@{@}% 989 \leavevmode\Red 990 \startlink attr{/Border [0 0 0]}% 991 user{/Subtype /Link /A << /S /URI /URI (#1) >>}% 992 % #1 993 \endgroup} 994 \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}} 995 \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks} 996 \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks} 997 \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}} 998 \def\maketoks{% 999 \expandafter\poptoks\the\toksA|ENDTOKS| 1000 \ifx\first0\adn0 1001 \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3 1002 \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6 1003 \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9 1004 \else 1005 \ifnum0=\countA\else\makelink\fi 1006 \ifx\first.\let\next=\done\else 1007 \let\next=\maketoks 1008 \addtokens{\toksB}{\the\toksD} 1009 \ifx\first,\addtokens{\toksB}{\space}\fi 1010 \fi 1011 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi 1012 \next} 1013 \def\makelink{\addtokens{\toksB}% 1014 {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0} 1015 \def\pdflink#1{% 1016 \startlink attr{/Border [0 0 0]} goto name{\mkpgn{#1}} 1017 \linkcolor #1\endlink} 1018 \def\mkpgn#1{#1@} 1019 \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st} 1020 \fi % \ifx\pdfoutput 825 1021 826 1022 … … 894 1090 \def\df{\let\tentt=\deftt \let\tenbf = \defbf \bf} 895 1091 896 % Fonts for indices and small examples (9pt). 897 % We actually use the slanted font rather than the italic, 898 % because texinfo normally uses the slanted fonts for that. 899 % Do not make many font distinctions in general in the index, since they 900 % aren't very useful. 901 \setfont\ninett\ttshape{9}{1000} 902 \setfont\ninettsl\ttslshape{10}{900} 903 \setfont\indrm\rmshape{9}{1000} 904 \setfont\indit\itshape{9}{1000} 905 \setfont\indsl\slshape{9}{1000} 906 \let\indtt=\ninett 907 \let\indttsl=\ninettsl 908 \let\indsf=\indrm 909 \let\indbf=\indrm 910 \setfont\indsc\scshape{10}{900} 911 \font\indi=cmmi9 912 \font\indsy=cmsy9 1092 % Fonts for indices, footnotes, small examples (9pt). 1093 \setfont\smallrm\rmshape{9}{1000} 1094 \setfont\smalltt\ttshape{9}{1000} 1095 \setfont\smallbf\bfshape{10}{900} 1096 \setfont\smallit\itshape{9}{1000} 1097 \setfont\smallsl\slshape{9}{1000} 1098 \setfont\smallsf\sfshape{9}{1000} 1099 \setfont\smallsc\scshape{10}{900} 1100 \setfont\smallttsl\ttslshape{10}{900} 1101 \font\smalli=cmmi9 1102 \font\smallsy=cmsy9 913 1103 914 1104 % Fonts for title page: … … 1024 1214 \resetmathfonts \setleading{15pt}} 1025 1215 \let\subsubsecfonts = \subsecfonts % Maybe make sssec fonts scaled magstephalf? 1026 \def\indexfonts{% 1027 \let\tenrm=\indrm \let\tenit=\indit \let\tensl=\indsl 1028 \let\tenbf=\indbf \let\tentt=\indtt \let\smallcaps=\indsc 1029 \let\tensf=\indsf \let\teni=\indi \let\tensy=\indsy \let\tenttsl=\indttsl 1030 \resetmathfonts \setleading{12pt}} 1216 \def\smallfonts{% 1217 \let\tenrm=\smallrm \let\tenit=\smallit \let\tensl=\smallsl 1218 \let\tenbf=\smallbf \let\tentt=\smalltt \let\smallcaps=\smallsc 1219 \let\tensf=\smallsf \let\teni=\smalli \let\tensy=\smallsy 1220 \let\tenttsl=\smallttsl 1221 \resetmathfonts \setleading{11pt}} 1031 1222 1032 1223 % Set up the default fonts, so we can use them for creating boxes. … … 1077 1268 \let\ttfont=\t 1078 1269 \def\samp#1{`\tclose{#1}'\null} 1079 \setfont\ smallrm\rmshape{8}{1000}1080 \font\ smallsy=cmsy91081 \def\key#1{{\ smallrm\textfont2=\smallsy \leavevmode\hbox{%1270 \setfont\keyrm\rmshape{8}{1000} 1271 \font\keysy=cmsy9 1272 \def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{% 1082 1273 \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{% 1083 1274 \vbox{\hrule\kern-0.4pt … … 1190 1381 % 1191 1382 \def\uref#1{\douref #1,,,\finish} 1192 \def\douref#1,#2,#3,#4\finish{% 1383 \def\douref#1,#2,#3,#4\finish{\begingroup 1384 \unsepspaces 1385 \pdfurl{#1}% 1193 1386 \setbox0 = \hbox{\ignorespaces #3}% 1194 1387 \ifdim\wd0 > 0pt … … 1197 1390 \setbox0 = \hbox{\ignorespaces #2}% 1198 1391 \ifdim\wd0 > 0pt 1199 \unhbox0\ (\code{#1})% second arg given, show both it and url 1392 \ifpdf 1393 \unhbox0 % PDF: 2nd arg given, show only it 1394 \else 1395 \unhbox0\ (\code{#1})% DVI: 2nd arg given, show both it and url 1396 \fi 1200 1397 \else 1201 1398 \code{#1}% only url given, so show it 1202 1399 \fi 1203 1400 \fi 1204 } 1205 1206 % rms does not like the angle brackets --karl, 17may97. 1207 % So now @email is just like @uref. 1401 \endlink 1402 \endgroup} 1403 1404 % rms does not like angle brackets --karl, 17may97. 1405 % So now @email is just like @uref, unless we are pdf. 1406 % 1208 1407 %\def\email#1{\angleleft{\tt #1}\angleright} 1209 \let\email=\uref 1408 \ifpdf 1409 \def\email#1{\doemail#1,,\finish} 1410 \def\doemail#1,#2,#3\finish{\begingroup 1411 \unsepspaces 1412 \pdfurl{mailto:#1}% 1413 \setbox0 = \hbox{\ignorespaces #2}% 1414 \ifdim\wd0>0pt\unhbox0\else\code{#1}\fi 1415 \endlink 1416 \endgroup} 1417 \else 1418 \let\email=\uref 1419 \fi 1210 1420 1211 1421 % Check if we are currently using a typewriter font. Since all the … … 1325 1535 \global\let\shortcontents = \relax 1326 1536 \fi 1537 % 1538 \ifpdf \pdfmakepagedesttrue \fi 1327 1539 % 1328 1540 \HEADINGSon … … 1891 2103 } 1892 2104 1893 % multitable syntax 1894 \def\tab{&\hskip1sp\relax} % 2/2/96 1895 % tiny skip here makes sure this column space is 1896 % maintained, even if it is never used. 2105 % This used to have \hskip1sp. But then the space in a template line is 2106 % not enough. That is bad. So let's go back to just & until we 2107 % encounter the problem it was intended to solve again. 2108 % --karl, nathan@acm.org, 20apr99. 2109 \def\tab{&} 1897 2110 1898 2111 % @multitable ... @end multitable definitions: … … 1975 2188 % current baselineskip. 1976 2189 \ifdim\multitablelinespace=0pt 2190 \setbox0=\vbox{X}\global\multitablelinespace=\the\baselineskip 2191 \global\advance\multitablelinespace by-\ht0 1977 2192 %% strut to put in table in case some entry doesn't have descenders, 1978 2193 %% to keep lines equally spaced 1979 2194 \let\multistrut = \strut 2195 \else 2196 %% FIXME: what is \box0 supposed to be? 2197 \gdef\multistrut{\vrule height\multitablelinespace depth\dp0 2198 width0pt\relax} \fi 1980 2199 %% Test to see if parskip is larger than space between lines of 1981 2200 %% table. If not, do nothing. 1982 2201 %% If so, set to same dimension as multitablelinespace. 1983 \else1984 \gdef\multistrut{\vrule height\multitablelinespace depth\dp01985 width0pt\relax} \fi1986 2202 \ifdim\multitableparskip>\multitablelinespace 1987 2203 \global\multitableparskip=\multitablelinespace … … 2045 2261 \let\deftypefn = \relax 2046 2262 \let\deftypefun = \relax 2263 \let\deftypeivar = \relax 2264 \let\deftypeop = \relax 2047 2265 \let\deftypevar = \relax 2048 2266 \let\deftypevr = \relax … … 2188 2406 % 2189 2407 \nullfont 2190 \let\tenrm = \nullfont \let\tenit = \nullfont \let\tensl = \nullfont 2191 \let\tenbf = \nullfont \let\tentt = \nullfont \let\smallcaps = \nullfont 2192 \let\tensf = \nullfont 2193 % Similarly for index fonts (mostly for their use in 2194 % smallexample) 2195 \let\indrm = \nullfont \let\indit = \nullfont \let\indsl = \nullfont 2196 \let\indbf = \nullfont \let\indtt = \nullfont \let\indsc = \nullfont 2197 \let\indsf = \nullfont 2408 \let\tenrm=\nullfont \let\tenit=\nullfont \let\tensl=\nullfont 2409 \let\tenbf=\nullfont \let\tentt=\nullfont \let\smallcaps=\nullfont 2410 \let\tensf=\nullfont 2411 % Similarly for index fonts (mostly for their use in smallexample). 2412 \let\smallrm=\nullfont \let\smallit=\nullfont \let\smallsl=\nullfont 2413 \let\smallbf=\nullfont \let\smalltt=\nullfont \let\smallsc=\nullfont 2414 \let\smallsf=\nullfont 2198 2415 % 2199 2416 % Don't complain when characters are missing from the fonts. … … 2459 2676 % Need these in case \tex is in effect and \{ is a \delimiter again. 2460 2677 % But can't use \lbracecmd and \rbracecmd because texindex assumes 2461 % braces and backslashes are used only as delimiters. 2678 % braces and backslashes are used only as delimiters. 2462 2679 \let\{ = \mylbrace 2463 2680 \let\} = \myrbrace … … 2572 2789 \let\uref=\indexdummyfont 2573 2790 \let\env=\indexdummyfont 2791 \let\acronym=\indexdummyfont 2574 2792 \let\command=\indexdummyfont 2575 2793 \let\option=\indexdummyfont … … 2725 2943 \dobreak \chapheadingskip{10000}% 2726 2944 % 2727 \ indexfonts \rm2945 \smallfonts \rm 2728 2946 \tolerance = 9500 2729 2947 \indexbreaks … … 2852 3070 % part of (the primitive) \par. Without it, a spurious underfull 2853 3071 % \hbox ensues. 2854 \ #2% The page number ends the paragraph. 3072 \ifpdf 3073 \pdfgettoks#2.\ \the\toksA % The page number ends the paragraph. 3074 \else 3075 \ #2% The page number ends the paragraph. 3076 \fi 2855 3077 \fi% 2856 3078 \par … … 3011 3233 3012 3234 \message{sectioning,} 3013 % Define chapters, sections, etc.3235 % Chapters, sections, etc. 3014 3236 3015 3237 \newcount\chapno … … 3020 3242 % This counter is funny since it counts through charcodes of letters A, B, ... 3021 3243 \newcount\appendixno \appendixno = `\@ 3022 \def\appendixletter{\char\the\appendixno} 3244 % \def\appendixletter{\char\the\appendixno} 3245 % We do the following for the sake of pdftex, which needs the actual 3246 % letter in the expansion, not just typeset. 3247 \def\appendixletter{% 3248 \ifnum\appendixno=`A A% 3249 \else\ifnum\appendixno=`B B% 3250 \else\ifnum\appendixno=`C C% 3251 \else\ifnum\appendixno=`D D% 3252 \else\ifnum\appendixno=`E E% 3253 \else\ifnum\appendixno=`F F% 3254 \else\ifnum\appendixno=`G G% 3255 \else\ifnum\appendixno=`H H% 3256 \else\ifnum\appendixno=`I I% 3257 \else\ifnum\appendixno=`J J% 3258 \else\ifnum\appendixno=`K K% 3259 \else\ifnum\appendixno=`L L% 3260 \else\ifnum\appendixno=`M M% 3261 \else\ifnum\appendixno=`N N% 3262 \else\ifnum\appendixno=`O O% 3263 \else\ifnum\appendixno=`P P% 3264 \else\ifnum\appendixno=`Q Q% 3265 \else\ifnum\appendixno=`R R% 3266 \else\ifnum\appendixno=`S S% 3267 \else\ifnum\appendixno=`T T% 3268 \else\ifnum\appendixno=`U U% 3269 \else\ifnum\appendixno=`V V% 3270 \else\ifnum\appendixno=`W W% 3271 \else\ifnum\appendixno=`X X% 3272 \else\ifnum\appendixno=`Y Y% 3273 \else\ifnum\appendixno=`Z Z% 3274 % The \the is necessary, despite appearances, because \appendixletter is 3275 % expanded while writing the .toc file. \char\appendixno is not 3276 % expandable, thus it is written literally, thus all appendixes come out 3277 % with the same letter (or @) in the toc without it. 3278 \else\char\the\appendixno 3279 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi 3280 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} 3023 3281 3024 3282 % Each @chapter defines this as the name of the chapter. … … 3493 3751 3494 3752 \message{toc,} 3753 % Table of contents. 3495 3754 \newwrite\tocfile 3496 3755 … … 3553 3812 \vfill \eject 3554 3813 \contentsalignmacro % in case @setchapternewpage odd is in effect 3814 \pdfmakeoutlines 3555 3815 \endgroup 3556 3816 \lastnegativepageno = \pageno … … 3589 3849 \let\shortcontents = \summarycontents 3590 3850 3851 \ifpdf 3852 \pdfcatalog{/PageMode /UseOutlines}% 3853 \fi 3854 3591 3855 % These macros generate individual entries in the table of contents. 3592 3856 % The first argument is the chapter or section name. … … 3599 3863 % See comments in \dochapentry re vbox and related settings 3600 3864 \def\shortchapentry#1#2#3{% 3601 \tocentry{\shortchaplabel{#2}\labelspace #1}{\doshortpageno {#3}}%3865 \tocentry{\shortchaplabel{#2}\labelspace #1}{\doshortpageno\bgroup#3\egroup}% 3602 3866 } 3603 3867 … … 3607 3871 % command in the toc file for appendices, instead of using \chapentry 3608 3872 % for both, but it doesn't seem worth it. 3609 \setbox0 = \hbox{\shortcontrm \putwordAppendix } 3610 \newdimen\shortappendixwidth \shortappendixwidth = \wd03611 3873 % 3874 \newdimen\shortappendixwidth 3875 % 3612 3876 \def\shortchaplabel#1{% 3877 % Compute width of word "Appendix", may change with language. 3878 \setbox0 = \hbox{\shortcontrm \putwordAppendix}% 3879 \shortappendixwidth = \wd0 3880 % 3613 3881 % We typeset #1 in a box of constant width, regardless of the text of 3614 3882 % #1, so the chapter titles will come out aligned. … … 3625 3893 3626 3894 \def\unnumbchapentry#1#2{\dochapentry{#1}{#2}} 3627 \def\shortunnumberedentry#1#2{\tocentry{#1}{\doshortpageno {#2}}}3895 \def\shortunnumberedentry#1#2{\tocentry{#1}{\doshortpageno\bgroup#2\egroup}} 3628 3896 3629 3897 % Sections. … … 3652 3920 \begingroup 3653 3921 \chapentryfonts 3654 \tocentry{#1}{\dopageno {#2}}%3922 \tocentry{#1}{\dopageno\bgroup#2\egroup}% 3655 3923 \endgroup 3656 3924 \nobreak\vskip .25\baselineskip plus.1\baselineskip … … 3659 3927 \def\dosecentry#1#2{\begingroup 3660 3928 \secentryfonts \leftskip=\tocindent 3661 \tocentry{#1}{\dopageno {#2}}%3929 \tocentry{#1}{\dopageno\bgroup#2\egroup}% 3662 3930 \endgroup} 3663 3931 3664 3932 \def\dosubsecentry#1#2{\begingroup 3665 3933 \subsecentryfonts \leftskip=2\tocindent 3666 \tocentry{#1}{\dopageno {#2}}%3934 \tocentry{#1}{\dopageno\bgroup#2\egroup}% 3667 3935 \endgroup} 3668 3936 3669 3937 \def\dosubsubsecentry#1#2{\begingroup 3670 3938 \subsubsecentryfonts \leftskip=3\tocindent 3671 \tocentry{#1}{\dopageno {#2}}%3939 \tocentry{#1}{\dopageno\bgroup#2\egroup}% 3672 3940 \endgroup} 3673 3941 … … 3697 3965 3698 3966 \message{environments,} 3967 % @foo ... @end foo. 3699 3968 3700 3969 % Since these characters are used in examples, it should be an even number of … … 3946 4215 \def\Esmalllisp{\nonfillfinish\endgroup}% 3947 4216 \def\Esmallexample{\nonfillfinish\endgroup}% 3948 \ indexfonts4217 \smallfonts 3949 4218 \lisp 3950 4219 } … … 3962 4231 \def\smalldisplayx{\begingroup 3963 4232 \def\Esmalldisplay{\nonfillfinish\endgroup}% 3964 \ indexfonts \rm4233 \smallfonts \rm 3965 4234 \display 3966 4235 } … … 3979 4248 \def\smallformatx{\begingroup 3980 4249 \def\Esmallformat{\nonfillfinish\endgroup}% 3981 \ indexfonts \rm4250 \smallfonts \rm 3982 4251 \format 3983 4252 } … … 4020 4289 4021 4290 \message{defuns,} 4022 % Define formatter for defuns 4023 % First, allow user to change definition object font (\df) internally 4291 % @defun etc. 4292 4293 % Allow user to change definition object font (\df) internally 4024 4294 \def\setdeffont #1 {\csname DEF#1\endcsname} 4025 4295 … … 4075 4345 \def\opnr{{\sf\char`\(}\global\advance\parencount by 1 } 4076 4346 \def\clnr{{\sf\char`\)}\global\advance\parencount by -1 } 4077 \ def\ampnr{\&}4347 \let\ampnr = \& 4078 4348 \def\lbrb{{\bf\char`\[}} 4079 4349 \def\rbrb{{\bf\char`\]}} 4350 4351 % Active &'s sneak into the index arguments, so make sure it's defined. 4352 { 4353 \catcode`& = 13 4354 \global\let& = \ampnr 4355 } 4080 4356 4081 4357 % First, defname, which formats the header line itself. … … 4142 4418 \begingroup\obeylines\activeparens\spacesplit{#3{#4}}} 4143 4419 4144 % @deftypemethod has an extra argument that nothing else does. Sigh.4420 % Used for @deftypemethod and @deftypeivar. 4145 4421 % #1 is the \E... control sequence to end the definition (which we define). 4146 4422 % #2 is the \...x control sequence for consecutive fns (which we define). 4147 4423 % #3 is the control sequence to call to resume processing. 4148 % #4, delimited by thespace, is the class name.4424 % #4, delimited by a space, is the class name. 4149 4425 % #5 is the method's return type. 4150 4426 % 4151 \def\deftypemethparsebody#1#2#3#4 #5 {\begingroup\inENV % 4152 \medbreak % 4153 % Define the end token that this defining construct specifies 4154 % so that it will exit this group. 4155 \def#1{\endgraf\endgroup\medbreak}% 4156 \def#2##1 ##2 {\begingroup\obeylines\activeparens\spacesplit{#3{##1}{##2}}}% 4157 \parindent=0in 4158 \advance\leftskip by \defbodyindent 4159 \exdentamount=\defbodyindent 4160 \begingroup\obeylines\activeparens\spacesplit{#3{#4}{#5}}} 4427 \def\deftypemethparsebody#1#2#3#4 #5 {\begingroup\inENV 4428 \medbreak 4429 \def#1{\endgraf\endgroup\medbreak}% 4430 \def#2##1 ##2 {\begingroup\obeylines\activeparens\spacesplit{#3{##1}{##2}}}% 4431 \parindent=0in 4432 \advance\leftskip by \defbodyindent 4433 \exdentamount=\defbodyindent 4434 \begingroup\obeylines\activeparens\spacesplit{#3{#4}{#5}}} 4435 4436 % Used for @deftypeop. The change from \deftypemethparsebody is an 4437 % extra argument at the beginning which is the `category', instead of it 4438 % being the hardwired string `Method' or `Instance Variable'. We have 4439 % to account for this both in the \...x definition and in parsing the 4440 % input at hand. Thus also need a control sequence (passed as #5) for 4441 % the \E... definition to assign the category name to. 4442 % 4443 \def\deftypeopparsebody#1#2#3#4#5 #6 {\begingroup\inENV 4444 \medbreak 4445 \def#1{\endgraf\endgroup\medbreak}% 4446 \def#2##1 ##2 ##3 {% 4447 \def#4{##1}% 4448 \begingroup\obeylines\activeparens\spacesplit{#3{##2}{##3}}}% 4449 \parindent=0in 4450 \advance\leftskip by \defbodyindent 4451 \exdentamount=\defbodyindent 4452 \begingroup\obeylines\activeparens\spacesplit{#3{#5}{#6}}} 4161 4453 4162 4454 \def\defopparsebody #1#2#3#4#5 {\begingroup\inENV % … … 4269 4561 % Use this to expand the args and terminate the paragraph they make up 4270 4562 4271 \def\defunargs 4563 \def\defunargs#1{\functionparens \sl 4272 4564 % Expand, preventing hyphenation at `-' chars. 4273 4565 % Note that groups don't affect changes in \hyphenchar. 4274 \hyphenchar\tensl=0 4566 % Set the font temporarily and use \font in case \setfont made \tensl a macro. 4567 {\tensl\hyphenchar\font=0}% 4275 4568 #1% 4276 \hyphenchar\tensl=45 4569 {\tensl\hyphenchar\font=45}% 4277 4570 \ifnum\parencount=0 \else \errmessage{Unbalanced parentheses in @def}\fi% 4278 4571 \interlinepenalty=10000 … … 4368 4661 } 4369 4662 4370 % This definition is run if you use @defunx4371 % anywhere other than immediately after a @defun or @defunx.4372 4373 \def\deffnx #1 {\errmessage{@deffnx in invalid context}}4374 \def\defunx #1 {\errmessage{@defunx in invalid context}}4375 \def\defmacx #1 {\errmessage{@defmacx in invalid context}}4376 \def\defspecx #1 {\errmessage{@defspecx in invalid context}}4377 \def\deftypefnx #1 {\errmessage{@deftypefnx in invalid context}}4378 \def\deftypemethodx #1 {\errmessage{@deftypemethodx in invalid context}}4379 \def\deftypefunx #1 {\errmessage{@deftypefunx in invalid context}}4380 4381 % @defmethod, and so on4382 4383 4663 % @defop CATEGORY CLASS OPERATION ARG... 4384 4664 % 4385 4665 \def\defop #1 {\def\defoptype{#1}% 4386 4666 \defopparsebody\Edefop\defopx\defopheader\defoptype} 4387 4388 \def\defopheader 4667 % 4668 \def\defopheader#1#2#3{% 4389 4669 \dosubind {fn}{\code{#2}}{\putwordon\ #1}% Make entry in function index 4390 \begingroup\defname {#2}{\defoptype {}\putwordon\ #1}%4670 \begingroup\defname {#2}{\defoptype\ \putwordon\ #1}% 4391 4671 \defunargs {#3}\endgroup % 4392 4672 } 4393 4673 4394 % @deftypemethod CLASS RETURN-TYPE METHOD ARG... 4674 % @deftypeop CATEGORY CLASS TYPE OPERATION ARG... 4675 % 4676 \def\deftypeop #1 {\def\deftypeopcategory{#1}% 4677 \deftypeopparsebody\Edeftypeop\deftypeopx\deftypeopheader 4678 \deftypeopcategory} 4679 % 4680 % #1 is the class name, #2 the data type, #3 the operation name, #4 the args. 4681 \def\deftypeopheader#1#2#3#4{% 4682 \dosubind{fn}{\code{#3}}{\putwordon\ \code{#1}}% entry in function index 4683 \begingroup 4684 \defname{\defheaderxcond#2\relax$$$#3} 4685 {\deftypeopcategory\ \putwordon\ \code{#1}}% 4686 \deftypefunargs{#4}% 4687 \endgroup 4688 } 4689 4690 % @deftypemethod CLASS TYPE METHOD ARG... 4395 4691 % 4396 4692 \def\deftypemethod{% … … 4406 4702 } 4407 4703 4704 % @deftypeivar CLASS TYPE VARNAME 4705 % 4706 \def\deftypeivar{% 4707 \deftypemethparsebody\Edeftypeivar\deftypeivarx\deftypeivarheader} 4708 % 4709 % #1 is the class name, #2 the data type, #3 the variable name. 4710 \def\deftypeivarheader#1#2#3{% 4711 \dosubind{vr}{\code{#3}}{\putwordof\ \code{#1}}% entry in variable index 4712 \begingroup 4713 \defname{#3}{\putwordInstanceVariableof\ \code{#1}}% 4714 \defvarargs{#3}% 4715 \endgroup 4716 } 4717 4408 4718 % @defmethod == @defop Method 4409 4719 % … … 4430 4740 } 4431 4741 4432 % @defivar == @defcv {Instance Variable}4433 4742 % @defivar CLASS VARNAME == @defcv {Instance Variable} CLASS VARNAME 4743 % 4434 4744 \def\defivar{\defvrparsebody\Edefivar\defivarx\defivarheader} 4435 4436 \def\defivarheader #1#2#3{% 4437 \dosubind {vr}{\code{#2}}{\putwordof\ #1}% Make entry in var index 4438 \begingroup\defname {#2}{\putwordDefivar\ \putwordof\ #1}% 4439 \defvarargs {#3}\endgroup % 4440 } 4441 4442 % These definitions are run if you use @defmethodx, etc., 4443 % anywhere other than immediately after a @defmethod, etc. 4444 4445 \def\defopx #1 {\errmessage{@defopx in invalid context}} 4446 \def\defmethodx #1 {\errmessage{@defmethodx in invalid context}} 4447 \def\defcvx #1 {\errmessage{@defcvx in invalid context}} 4448 \def\defivarx #1 {\errmessage{@defivarx in invalid context}} 4449 4450 % Now @defvar 4451 4745 % 4746 \def\defivarheader#1#2#3{% 4747 \dosubind {vr}{\code{#2}}{\putwordof\ #1}% entry in var index 4748 \begingroup 4749 \defname{#2}{\putwordInstanceVariableof\ #1}% 4750 \defvarargs{#3}% 4751 \endgroup 4752 } 4753 4754 % @defvar 4452 4755 % First, define the processing that is wanted for arguments of @defvar. 4453 4756 % This is actually simple: just print them in roman.