Changeset 43bcc5 in git
- Timestamp:
- Nov 29, 1999, 2:18:14 PM (24 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 21959cfde99e2b34993ef4bb1a03e6b58939bf78
- Parents:
- 8016eb4a88ac332912ef0c53446f5b0b353e403b
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.in
r8016eb r43bcc5 136 136 LN_S = @LN_S@ 137 137 MKINSTALLDIRS = ./mkinstalldirs 138 BINDIST_NAME = Singular-${S_VERSION}-${SINGUNAME} 139 SHAREDIST_NAME = Singular-${S_VERSION}-share 138 140 139 141 … … 152 154 done 153 155 154 install-local-dist: install-dist 155 ${MKINSTALLDIRS} ${localdir}/bin 156 ${LN_S} ${install_prefix}/${SINGUNAME}/Singular ${localdir}/bin/Singular-${S_VERSION} 157 158 dist: sharedist bindist 159 160 sharedist: 156 dist: ${SHAREDIST_NAME}.tgz ${BINDIST_NAME}.tgz 157 158 sharedist ${SHAREDIST_NAME}.tgz: 161 159 if test -e ${TMPDIR}; then rm -rf ${TMPDIR}; fi 162 160 ${MAKE} install-sharedist localdir=${TMPDIR} 163 cd ${TMPDIR}; tar czf Singular-${S_VERSION}-share.tgz Singular164 mv ${TMPDIR}/ Singular-${S_VERSION}-share.tgz .165 rm -rf ${TMPDIR} 166 167 bindist :161 cd ${TMPDIR}; tar czf ${SHAREDIST_NAME}.tgz Singular 162 mv ${TMPDIR}/${SHAREDIST_NAME}.tgz . 163 rm -rf ${TMPDIR} 164 165 bindist ${BINDIST_NAME}.tgz: 168 166 if test -e ${TMPDIR}; then rm -fr ${TMPDIR}; fi 169 167 ${MAKE} install-bindist localdir=${TMPDIR} 170 cd ${TMPDIR}; tar czf Singular-${S_VERSION}-${SINGUNAME}.tgz Singular 171 mv ${TMPDIR}/Singular-${S_VERSION}-${SINGUNAME}.tgz . 172 rm -rf ${TMPDIR} 168 cd ${TMPDIR}; tar czf ${BINDIST_NAME}.tgz Singular 169 mv ${TMPDIR}/Singular-${S_VERSION}-${SINGUNAME}.tgz . . 170 rm -rf ${TMPDIR} 171 172 install-local-dist: ${SHAREDIST_NAME}.tgz ${BINDIST_NAME}.tgz 173 cp ${SHAREDIST_NAME}.tgz ${BINDIST_NAME}.tgz ${localdir} 174 cd ${localdir}; tar xzf ${SHAREDIST_NAME}.tgz; tar xzf ${BINDIST_NAME}.tgz 175 rm -rf ${localdir}/${SHAREDIST_NAME}.tgz ${localdir}/${BINDIST_NAME}.tgz 176 ${MKINSTALLDIRS} ${localdir}/bin 177 ${LN_S} ${localdir}/Singular/${S_VERSION}/${SINGUNAME}/Singular ${localdir}/bin/Singular-${S_VERSION} 178 ${LN_S} ${localdir}/Singular/${S_VERSION}/${SINGUNAME}/ESingular ${localdir}/bin/ESingular-${S_VERSION} 179 180 173 181 174 182 BINDIR_NAME = Singular/${S_VERSION}/${SINGUNAME} … … 180 188 EMACSDIR_NAME = Singular/${S_VERSION}/emacs 181 189 182 BINDIST_NAME = Singular-${S_VERSION}-${SINGUNAME}183 SHAREDIST_NAME = Singular-${S_VERSION}-share184 190 ZIP = zip 185 191 -
Singular/configure
r8016eb r43bcc5 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.1 34 # Generated automatically using autoconf version 2.12 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 84 84 subdirs= 85 85 MFLAGS= MAKEFLAGS= 86 SHELL=${CONFIG_SHELL-/bin/sh}87 86 # Maximum number of lines to put in a shell here document. 88 87 ac_max_here_lines=12 … … 368 367 369 368 -version | --version | --versio | --versi | --vers) 370 echo "configure generated by autoconf version 2.1 3"369 echo "configure generated by autoconf version 2.12" 371 370 exit 0 ;; 372 371 … … 538 537 ac_cpp='$CPP $CPPFLAGS' 539 538 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 540 ac_link='${CC-cc} -o conftest ${ac_exeext}$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'539 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 541 540 cross_compiling=$ac_cv_prog_cc_cross 542 541 543 ac_exeext=544 ac_objext=o545 542 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 546 543 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 560 557 561 558 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 562 echo "configure:56 3: checking uname for singular" >&5559 echo "configure:560: checking uname for singular" >&5 563 560 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 564 561 echo $ac_n "(cached) $ac_c" 1>&6 … … 599 596 SINGULAR_MAJOR_VERSION=${SINGULAR_MAJOR_VERSION:-1} 600 597 SINGULAR_MINOR_VERSION=${SINGULAR_MINOR_VERSION:-3} 601 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:- 6}598 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:-7} 602 599 SINGULAR_VERSION="${SINGULAR_VERSION:-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}" 603 VERSION_DATE=${VERSION_DATE:-" October 1999"}600 VERSION_DATE=${VERSION_DATE:-"December 1999"} 604 601 605 602 … … 648 645 set dummy gcc; ac_word=$2 649 646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 650 echo "configure:6 51: checking for $ac_word" >&5647 echo "configure:648: checking for $ac_word" >&5 651 648 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 652 649 echo $ac_n "(cached) $ac_c" 1>&6 … … 655 652 ac_cv_prog_CC="$CC" # Let the user override the test. 656 653 else 657 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 658 ac_dummy="$PATH" 659 for ac_dir in $ac_dummy; do 654 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 655 for ac_dir in $PATH; do 660 656 test -z "$ac_dir" && ac_dir=. 661 657 if test -f $ac_dir/$ac_word; then … … 678 674 set dummy cc; ac_word=$2 679 675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 680 echo "configure:6 81: checking for $ac_word" >&5676 echo "configure:677: checking for $ac_word" >&5 681 677 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 682 678 echo $ac_n "(cached) $ac_c" 1>&6 … … 685 681 ac_cv_prog_CC="$CC" # Let the user override the test. 686 682 else 687 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"683 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 688 684 ac_prog_rejected=no 689 ac_dummy="$PATH" 690 for ac_dir in $ac_dummy; do 685 for ac_dir in $PATH; do 691 686 test -z "$ac_dir" && ac_dir=. 692 687 if test -f $ac_dir/$ac_word; then … … 723 718 fi 724 719 725 if test -z "$CC"; then726 case "`uname -s`" in727 *win32* | *WIN32*)728 # Extract the first word of "cl", so it can be a program name with args.729 set dummy cl; ac_word=$2730 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6731 echo "configure:732: checking for $ac_word" >&5732 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then733 echo $ac_n "(cached) $ac_c" 1>&6734 else735 if test -n "$CC"; then736 ac_cv_prog_CC="$CC" # Let the user override the test.737 else738 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"739 ac_dummy="$PATH"740 for ac_dir in $ac_dummy; do741 test -z "$ac_dir" && ac_dir=.742 if test -f $ac_dir/$ac_word; then743 ac_cv_prog_CC="cl"744 break745 fi746 done747 IFS="$ac_save_ifs"748 fi749 fi750 CC="$ac_cv_prog_CC"751 if test -n "$CC"; then752 echo "$ac_t""$CC" 1>&6753 else754 echo "$ac_t""no" 1>&6755 fi756 ;;757 esac758 fi759 720 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 760 721 fi 761 722 762 723 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 763 echo "configure:7 64: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5724 echo "configure:725: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 764 725 765 726 ac_ext=c … … 767 728 ac_cpp='$CPP $CPPFLAGS' 768 729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 769 ac_link='${CC-cc} -o conftest ${ac_exeext}$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'730 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 770 731 cross_compiling=$ac_cv_prog_cc_cross 771 732 772 cat > conftest.$ac_ext << EOF 773 774 #line 775 "configure" 775 #include "confdefs.h" 776 733 cat > conftest.$ac_ext <<EOF 734 #line 735 "configure" 735 #include "confdefs.h" 777 736 main(){return(0);} 778 737 EOF 779 if { (eval echo configure:7 80: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then738 if { (eval echo configure:739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 780 739 ac_cv_prog_cc_works=yes 781 740 # If we can't run a trivial program, we are probably using a cross compiler. … … 791 750 fi 792 751 rm -fr conftest* 793 ac_ext=c794 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.795 ac_cpp='$CPP $CPPFLAGS'796 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'797 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'798 cross_compiling=$ac_cv_prog_cc_cross799 752 800 753 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 … … 803 756 fi 804 757 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 805 echo "configure: 806: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5758 echo "configure:759: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 806 759 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 807 760 cross_compiling=$ac_cv_prog_cc_cross 808 761 809 762 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 810 echo "configure: 811: checking whether we are using GNU C" >&5763 echo "configure:764: checking whether we are using GNU C" >&5 811 764 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 812 765 echo $ac_n "(cached) $ac_c" 1>&6 … … 817 770 #endif 818 771 EOF 819 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then772 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 820 773 ac_cv_prog_gcc=yes 821 774 else … … 828 781 if test $ac_cv_prog_gcc = yes; then 829 782 GCC=yes 830 else 831 GCC= 832 fi 833 834 ac_test_CFLAGS="${CFLAGS+set}" 835 ac_save_CFLAGS="$CFLAGS" 836 CFLAGS= 837 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 838 echo "configure:839: checking whether ${CC-cc} accepts -g" >&5 783 ac_test_CFLAGS="${CFLAGS+set}" 784 ac_save_CFLAGS="$CFLAGS" 785 CFLAGS= 786 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 787 echo "configure:788: checking whether ${CC-cc} accepts -g" >&5 839 788 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 840 789 echo $ac_n "(cached) $ac_c" 1>&6 … … 851 800 852 801 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 853 if test "$ac_test_CFLAGS" = set; then 854 CFLAGS="$ac_save_CFLAGS" 855 elif test $ac_cv_prog_cc_g = yes; then 856 if test "$GCC" = yes; then 802 if test "$ac_test_CFLAGS" = set; then 803 CFLAGS="$ac_save_CFLAGS" 804 elif test $ac_cv_prog_cc_g = yes; then 857 805 CFLAGS="-g -O2" 858 806 else 859 CFLAGS="- g"807 CFLAGS="-O2" 860 808 fi 861 809 else 862 if test "$GCC" = yes; then 863 CFLAGS="-O2" 864 else 865 CFLAGS= 866 fi 810 GCC= 811 test "${CFLAGS+set}" = set || CFLAGS="-g" 867 812 fi 868 813 869 814 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 870 echo "configure:8 71: checking how to run the C preprocessor" >&5815 echo "configure:816: checking how to run the C preprocessor" >&5 871 816 # On Suns, sometimes $CPP names a directory. 872 817 if test -n "$CPP" && test -d "$CPP"; then … … 883 828 # not just through cpp. 884 829 cat > conftest.$ac_ext <<EOF 885 #line 8 86"configure"830 #line 831 "configure" 886 831 #include "confdefs.h" 887 832 #include <assert.h> … … 889 834 EOF 890 835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 891 { (eval echo configure:8 92: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`836 { (eval echo configure:837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 837 ac_err=`grep -v '^ *+' conftest.out` 893 838 if test -z "$ac_err"; then 894 839 : … … 900 845 CPP="${CC-cc} -E -traditional-cpp" 901 846 cat > conftest.$ac_ext <<EOF 902 #line 903"configure"847 #line 848 "configure" 903 848 #include "confdefs.h" 904 849 #include <assert.h> … … 906 851 EOF 907 852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 908 { (eval echo configure: 909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`853 { (eval echo configure:854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 854 ac_err=`grep -v '^ *+' conftest.out` 910 855 if test -z "$ac_err"; then 911 856 : … … 915 860 cat conftest.$ac_ext >&5 916 861 rm -rf conftest* 917 CPP="${CC-cc} -nologo -E"918 cat > conftest.$ac_ext <<EOF919 #line 920 "configure"920 #include "confdefs.h"921 #include <assert.h>922 Syntax Error923 EOF924 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"925 { (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }926 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`927 if test -z "$ac_err"; then928 :929 else930 echo "$ac_err" >&5931 echo "configure: failed program was:" >&5932 cat conftest.$ac_ext >&5933 rm -rf conftest*934 862 CPP=/lib/cpp 935 863 fi … … 937 865 fi 938 866 rm -f conftest* 939 fi940 rm -f conftest*941 867 ac_cv_prog_CPP="$CPP" 942 868 fi … … 947 873 echo "$ac_t""$CPP" 1>&6 948 874 949 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl875 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ 950 876 do 951 877 # Extract the first word of "$ac_prog", so it can be a program name with args. 952 878 set dummy $ac_prog; ac_word=$2 953 879 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 954 echo "configure: 955: checking for $ac_word" >&5880 echo "configure:881: checking for $ac_word" >&5 955 881 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 956 882 echo $ac_n "(cached) $ac_c" 1>&6 … … 959 885 ac_cv_prog_CXX="$CXX" # Let the user override the test. 960 886 else 961 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 962 ac_dummy="$PATH" 963 for ac_dir in $ac_dummy; do 887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 888 for ac_dir in $PATH; do 964 889 test -z "$ac_dir" && ac_dir=. 965 890 if test -f $ac_dir/$ac_word; then … … 984 909 985 910 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 986 echo "configure:9 87: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5911 echo "configure:912: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 987 912 988 913 ac_ext=C … … 990 915 ac_cpp='$CXXCPP $CPPFLAGS' 991 916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 992 ac_link='${CXX-g++} -o conftest ${ac_exeext}$CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'917 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 993 918 cross_compiling=$ac_cv_prog_cxx_cross 994 919 995 cat > conftest.$ac_ext << EOF 996 997 #line 998 "configure" 998 #include "confdefs.h" 999 1000 int main(){return(0);} 1001 EOF 1002 if { (eval echo configure:1003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 920 cat > conftest.$ac_ext <<EOF 921 #line 922 "configure" 922 #include "confdefs.h" 923 main(){return(0);} 924 EOF 925 if { (eval echo configure:926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1003 926 ac_cv_prog_cxx_works=yes 1004 927 # If we can't run a trivial program, we are probably using a cross compiler. … … 1018 941 ac_cpp='$CPP $CPPFLAGS' 1019 942 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1020 ac_link='${CC-cc} -o conftest ${ac_exeext}$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'943 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1021 944 cross_compiling=$ac_cv_prog_cc_cross 1022 945 … … 1026 949 fi 1027 950 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1028 echo "configure: 1029: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5951 echo "configure:952: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1029 952 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1030 953 cross_compiling=$ac_cv_prog_cxx_cross 1031 954 1032 955 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1033 echo "configure: 1034: checking whether we are using GNU C++" >&5956 echo "configure:957: checking whether we are using GNU C++" >&5 1034 957 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1035 958 echo $ac_n "(cached) $ac_c" 1>&6 … … 1040 963 #endif 1041 964 EOF 1042 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure: 1043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then965 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1043 966 ac_cv_prog_gxx=yes 1044 967 else … … 1051 974 if test $ac_cv_prog_gxx = yes; then 1052 975 GXX=yes 1053 else 1054 GXX= 1055 fi 1056 1057 ac_test_CXXFLAGS="${CXXFLAGS+set}" 1058 ac_save_CXXFLAGS="$CXXFLAGS" 1059 CXXFLAGS= 1060 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1061 echo "configure:1062: checking whether ${CXX-g++} accepts -g" >&5 976 ac_test_CXXFLAGS="${CXXFLAGS+set}" 977 ac_save_CXXFLAGS="$CXXFLAGS" 978 CXXFLAGS= 979 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 980 echo "configure:981: checking whether ${CXX-g++} accepts -g" >&5 1062 981 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1063 982 echo $ac_n "(cached) $ac_c" 1>&6 … … 1074 993 1075 994 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 1076 if test "$ac_test_CXXFLAGS" = set; then 1077 CXXFLAGS="$ac_save_CXXFLAGS" 1078 elif test $ac_cv_prog_cxx_g = yes; then 1079 if test "$GXX" = yes; then 995 if test "$ac_test_CXXFLAGS" = set; then 996 CXXFLAGS="$ac_save_CXXFLAGS" 997 elif test $ac_cv_prog_cxx_g = yes; then 1080 998 CXXFLAGS="-g -O2" 1081 999 else 1082 CXXFLAGS="- g"1000 CXXFLAGS="-O2" 1083 1001 fi 1084 1002 else 1085 if test "$GXX" = yes; then 1086 CXXFLAGS="-O2" 1087 else 1088 CXXFLAGS= 1089 fi 1003 GXX= 1004 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g" 1090 1005 fi 1091 1006 1092 1007 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1093 echo "configure:10 94: checking for AIX" >&51008 echo "configure:1009: checking for AIX" >&5 1094 1009 cat > conftest.$ac_ext <<EOF 1095 #line 10 96"configure"1010 #line 1011 "configure" 1096 1011 #include "confdefs.h" 1097 1012 #ifdef _AIX … … 1123 1038 # check whether the compiler accepts -pipe 1124 1039 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1125 echo "configure:1 126: checking whether compiler accepts -pipe" >&51040 echo "configure:1041: checking whether compiler accepts -pipe" >&5 1126 1041 temp_cflags=${CFLAGS} 1127 1042 CFLAGS="${CFLAGS} -pipe" … … 1130 1045 else 1131 1046 cat > conftest.$ac_ext <<EOF 1132 #line 1 133"configure"1047 #line 1048 "configure" 1133 1048 #include "confdefs.h" 1134 1049 … … 1137 1052 ; return 0; } 1138 1053 EOF 1139 if { (eval echo configure:1 140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1054 if { (eval echo configure:1055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1140 1055 rm -rf conftest* 1141 1056 ac_cv_cxx_have_pipe=yes … … 1161 1076 # Customize CFLAGS 1162 1077 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1163 echo "configure:1 164: checking whether _AIX is defined" >&51078 echo "configure:1079: checking whether _AIX is defined" >&5 1164 1079 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1165 1080 echo $ac_n "(cached) $ac_c" 1>&6 1166 1081 else 1167 1082 cat > conftest.$ac_ext <<EOF 1168 #line 1 169"configure"1083 #line 1084 "configure" 1169 1084 #include "confdefs.h" 1170 1085 #ifdef _AIX … … 1217 1132 1218 1133 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1219 echo "configure:1 220: checking whether ${MAKE-make} sets \${MAKE}" >&51134 echo "configure:1135: checking whether ${MAKE-make} sets \${MAKE}" >&5 1220 1135 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1221 1136 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1290 1205 if test "${with_lex+set}" != set; then 1291 1206 echo $ac_n "checking for flex""... $ac_c" 1>&6 1292 echo "configure:12 93: checking for flex" >&51207 echo "configure:1208: checking for flex" >&5 1293 1208 if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then 1294 1209 echo $ac_n "(cached) $ac_c" 1>&6 … … 1321 1236 set dummy $ac_prog; ac_word=$2 1322 1237 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1323 echo "configure:1 324: checking for $ac_word" >&51238 echo "configure:1239: checking for $ac_word" >&5 1324 1239 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 1325 1240 echo $ac_n "(cached) $ac_c" 1>&6 … … 1328 1243 ac_cv_prog_LEX="$LEX" # Let the user override the test. 1329 1244 else 1330 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1331 ac_dummy="$PATH" 1332 for ac_dir in $ac_dummy; do 1245 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1246 for ac_dir in $PATH; do 1333 1247 test -z "$ac_dir" && ac_dir=. 1334 1248 if test -f $ac_dir/$ac_word; then … … 1361 1275 set dummy $ac_prog; ac_word=$2 1362 1276 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1363 echo "configure:1 364: checking for $ac_word" >&51277 echo "configure:1278: checking for $ac_word" >&5 1364 1278 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1365 1279 echo $ac_n "(cached) $ac_c" 1>&6 … … 1368 1282 ac_cv_prog_BISON="$BISON" # Let the user override the test. 1369 1283 else 1370 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1371 ac_dummy="$PATH" 1372 for ac_dir in $ac_dummy; do 1284 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1285 for ac_dir in $PATH; do 1373 1286 test -z "$ac_dir" && ac_dir=. 1374 1287 if test -f $ac_dir/$ac_word; then … … 1396 1309 # ln -s 1397 1310 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1398 echo "configure:13 99: checking whether ln -s works" >&51311 echo "configure:1312: checking whether ln -s works" >&5 1399 1312 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1400 1313 echo $ac_n "(cached) $ac_c" 1>&6 … … 1419 1332 # lib checks 1420 1333 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1421 echo "configure:1 422: checking for atof in -lm" >&51334 echo "configure:1335: checking for atof in -lm" >&5 1422 1335 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1423 1336 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1427 1340 LIBS="-lm $LIBS" 1428 1341 cat > conftest.$ac_ext <<EOF 1429 #line 1 430"configure"1342 #line 1343 "configure" 1430 1343 #include "confdefs.h" 1431 1344 /* Override any gcc2 internal prototype to avoid an error. */ … … 1438 1351 ; return 0; } 1439 1352 EOF 1440 if { (eval echo configure:1 441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1353 if { (eval echo configure:1354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1441 1354 rm -rf conftest* 1442 1355 eval "ac_cv_lib_$ac_lib_var=yes" … … 1466 1379 1467 1380 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1468 echo "configure:1 469: checking for socket in -lbsd" >&51381 echo "configure:1382: checking for socket in -lbsd" >&5 1469 1382 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1470 1383 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1474 1387 LIBS="-lbsd $LIBS" 1475 1388 cat > conftest.$ac_ext <<EOF 1476 #line 1 477"configure"1389 #line 1390 "configure" 1477 1390 #include "confdefs.h" 1478 1391 /* Override any gcc2 internal prototype to avoid an error. */ … … 1485 1398 ; return 0; } 1486 1399 EOF 1487 if { (eval echo configure:14 88: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1400 if { (eval echo configure:1401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1488 1401 rm -rf conftest* 1489 1402 eval "ac_cv_lib_$ac_lib_var=yes" … … 1513 1426 1514 1427 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1515 echo "configure:1 516: checking for listen in -lsocket" >&51428 echo "configure:1429: checking for listen in -lsocket" >&5 1516 1429 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1517 1430 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1521 1434 LIBS="-lsocket $LIBS" 1522 1435 cat > conftest.$ac_ext <<EOF 1523 #line 1 524"configure"1436 #line 1437 "configure" 1524 1437 #include "confdefs.h" 1525 1438 /* Override any gcc2 internal prototype to avoid an error. */ … … 1532 1445 ; return 0; } 1533 1446 EOF 1534 if { (eval echo configure:1 535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1447 if { (eval echo configure:1448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1535 1448 rm -rf conftest* 1536 1449 eval "ac_cv_lib_$ac_lib_var=yes" … … 1560 1473 1561 1474 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1562 echo "configure:1 563: checking for gethostbyname in -lnsl" >&51475 echo "configure:1476: checking for gethostbyname in -lnsl" >&5 1563 1476 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1564 1477 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1568 1481 LIBS="-lnsl $LIBS" 1569 1482 cat > conftest.$ac_ext <<EOF 1570 #line 1 571"configure"1483 #line 1484 "configure" 1571 1484 #include "confdefs.h" 1572 1485 /* Override any gcc2 internal prototype to avoid an error. */ … … 1579 1492 ; return 0; } 1580 1493 EOF 1581 if { (eval echo configure:1 582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1494 if { (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1582 1495 rm -rf conftest* 1583 1496 eval "ac_cv_lib_$ac_lib_var=yes" … … 1607 1520 1608 1521 echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6 1609 echo "configure:1 610: checking for index in -lucb" >&51522 echo "configure:1523: checking for index in -lucb" >&5 1610 1523 ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'` 1611 1524 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1615 1528 LIBS="-lucb $LIBS" 1616 1529 cat > conftest.$ac_ext <<EOF 1617 #line 1 618"configure"1530 #line 1531 "configure" 1618 1531 #include "confdefs.h" 1619 1532 /* Override any gcc2 internal prototype to avoid an error. */ … … 1626 1539 ; return 0; } 1627 1540 EOF 1628 if { (eval echo configure:1 629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1541 if { (eval echo configure:1542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1629 1542 rm -rf conftest* 1630 1543 eval "ac_cv_lib_$ac_lib_var=yes" … … 1656 1569 # heder file checks 1657 1570 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1658 echo "configure:1 659: checking for ANSI C header files" >&51571 echo "configure:1572: checking for ANSI C header files" >&5 1659 1572 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1660 1573 echo $ac_n "(cached) $ac_c" 1>&6 1661 1574 else 1662 1575 cat > conftest.$ac_ext <<EOF 1663 #line 1 664"configure"1576 #line 1577 "configure" 1664 1577 #include "confdefs.h" 1665 1578 #include <stdlib.h> … … 1669 1582 EOF 1670 1583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1671 { (eval echo configure:1 672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`1584 { (eval echo configure:1585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1585 ac_err=`grep -v '^ *+' conftest.out` 1673 1586 if test -z "$ac_err"; then 1674 1587 rm -rf conftest* … … 1686 1599 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1687 1600 cat > conftest.$ac_ext <<EOF 1688 #line 16 89"configure"1601 #line 1602 "configure" 1689 1602 #include "confdefs.h" 1690 1603 #include <string.h> … … 1704 1617 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1705 1618 cat > conftest.$ac_ext <<EOF 1706 #line 1 707"configure"1619 #line 1620 "configure" 1707 1620 #include "confdefs.h" 1708 1621 #include <stdlib.h> … … 1725 1638 else 1726 1639 cat > conftest.$ac_ext <<EOF 1727 #line 1 728"configure"1640 #line 1641 "configure" 1728 1641 #include "confdefs.h" 1729 1642 #include <ctype.h> … … 1736 1649 1737 1650 EOF 1738 if { (eval echo configure:1 739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null1651 if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 1739 1652 then 1740 1653 : … … 1763 1676 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1764 1677 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1765 echo "configure:1 766: checking for $ac_hdr" >&51678 echo "configure:1679: checking for $ac_hdr" >&5 1766 1679 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1767 1680 echo $ac_n "(cached) $ac_c" 1>&6 1768 1681 else 1769 1682 cat > conftest.$ac_ext <<EOF 1770 #line 1 771"configure"1683 #line 1684 "configure" 1771 1684 #include "confdefs.h" 1772 1685 #include <$ac_hdr> 1773 1686 EOF 1774 1687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1775 { (eval echo configure:1 776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1776 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`1688 { (eval echo configure:1689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1689 ac_err=`grep -v '^ *+' conftest.out` 1777 1690 if test -z "$ac_err"; then 1778 1691 rm -rf conftest* … … 1805 1718 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1806 1719 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1807 echo "configure:1 808: checking for $ac_hdr" >&51720 echo "configure:1721: checking for $ac_hdr" >&5 1808 1721 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1809 1722 echo $ac_n "(cached) $ac_c" 1>&6 1810 1723 else 1811 1724 cat > conftest.$ac_ext <<EOF 1812 #line 1 813"configure"1725 #line 1726 "configure" 1813 1726 #include "confdefs.h" 1814 1727 #include <$ac_hdr> 1815 1728 EOF 1816 1729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1817 { (eval echo configure:1 818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1818 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`1730 { (eval echo configure:1731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1731 ac_err=`grep -v '^ *+' conftest.out` 1819 1732 if test -z "$ac_err"; then 1820 1733 rm -rf conftest* … … 1844 1757 # typedefs, structures 1845 1758 echo $ac_n "checking for working const""... $ac_c" 1>&6 1846 echo "configure:1 847: checking for working const" >&51759 echo "configure:1760: checking for working const" >&5 1847 1760 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1848 1761 echo $ac_n "(cached) $ac_c" 1>&6 1849 1762 else 1850 1763 cat > conftest.$ac_ext <<EOF 1851 #line 1 852"configure"1764 #line 1765 "configure" 1852 1765 #include "confdefs.h" 1853 1766 … … 1898 1811 ; return 0; } 1899 1812 EOF 1900 if { (eval echo configure:1 901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1813 if { (eval echo configure:1814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1901 1814 rm -rf conftest* 1902 1815 ac_cv_c_const=yes … … 1919 1832 1920 1833 echo $ac_n "checking for inline""... $ac_c" 1>&6 1921 echo "configure:1 922: checking for inline" >&51834 echo "configure:1835: checking for inline" >&5 1922 1835 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1923 1836 echo $ac_n "(cached) $ac_c" 1>&6 … … 1926 1839 for ac_kw in inline __inline__ __inline; do 1927 1840 cat > conftest.$ac_ext <<EOF 1928 #line 1 929"configure"1841 #line 1842 "configure" 1929 1842 #include "confdefs.h" 1930 1843 … … 1933 1846 ; return 0; } 1934 1847 EOF 1935 if { (eval echo configure:1 936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1848 if { (eval echo configure:1849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1936 1849 rm -rf conftest* 1937 1850 ac_cv_c_inline=$ac_kw; break … … 1959 1872 1960 1873 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1961 echo "configure:1 962: checking for size_t" >&51874 echo "configure:1875: checking for size_t" >&5 1962 1875 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1963 1876 echo $ac_n "(cached) $ac_c" 1>&6 1964 1877 else 1965 1878 cat > conftest.$ac_ext <<EOF 1966 #line 1 967"configure"1879 #line 1880 "configure" 1967 1880 #include "confdefs.h" 1968 1881 #include <sys/types.h> … … 1973 1886 EOF 1974 1887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1975 egrep " (^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then1888 egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 1976 1889 rm -rf conftest* 1977 1890 ac_cv_type_size_t=yes … … 1992 1905 1993 1906 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1994 echo "configure:19 95: checking whether time.h and sys/time.h may both be included" >&51907 echo "configure:1908: checking whether time.h and sys/time.h may both be included" >&5 1995 1908 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1996 1909 echo $ac_n "(cached) $ac_c" 1>&6 1997 1910 else 1998 1911 cat > conftest.$ac_ext <<EOF 1999 #line 2000"configure"1912 #line 1913 "configure" 2000 1913 #include "confdefs.h" 2001 1914 #include <sys/types.h> … … 2006 1919 ; return 0; } 2007 1920 EOF 2008 if { (eval echo configure: 2009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1921 if { (eval echo configure:1922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2009 1922 rm -rf conftest* 2010 1923 ac_cv_header_time=yes … … 2027 1940 2028 1941 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2029 echo "configure: 2030: checking whether struct tm is in sys/time.h or time.h" >&51942 echo "configure:1943: checking whether struct tm is in sys/time.h or time.h" >&5 2030 1943 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2031 1944 echo $ac_n "(cached) $ac_c" 1>&6 2032 1945 else 2033 1946 cat > conftest.$ac_ext <<EOF 2034 #line 2035"configure"1947 #line 1948 "configure" 2035 1948 #include "confdefs.h" 2036 1949 #include <sys/types.h> … … 2040 1953 ; return 0; } 2041 1954 EOF 2042 if { (eval echo configure: 2043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1955 if { (eval echo configure:1956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2043 1956 rm -rf conftest* 2044 1957 ac_cv_struct_tm=time.h … … 2065 1978 # for constant arguments. Useless! 2066 1979 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2067 echo "configure: 2068: checking for working alloca.h" >&51980 echo "configure:1981: checking for working alloca.h" >&5 2068 1981 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2069 1982 echo $ac_n "(cached) $ac_c" 1>&6 2070 1983 else 2071 1984 cat > conftest.$ac_ext <<EOF 2072 #line 2073"configure"1985 #line 1986 "configure" 2073 1986 #include "confdefs.h" 2074 1987 #include <alloca.h> … … 2077 1990 ; return 0; } 2078 1991 EOF 2079 if { (eval echo configure: 2080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1992 if { (eval echo configure:1993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2080 1993 rm -rf conftest* 2081 1994 ac_cv_header_alloca_h=yes … … 2098 2011 2099 2012 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2100 echo "configure:2 101: checking for alloca" >&52013 echo "configure:2014: checking for alloca" >&5 2101 2014 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2102 2015 echo $ac_n "(cached) $ac_c" 1>&6 2103 2016 else 2104 2017 cat > conftest.$ac_ext <<EOF 2105 #line 2 106"configure"2018 #line 2019 "configure" 2106 2019 #include "confdefs.h" 2107 2020 … … 2109 2022 # define alloca __builtin_alloca 2110 2023 #else 2111 # ifdef _MSC_VER 2112 # include <malloc.h> 2113 # define alloca _alloca 2024 # if HAVE_ALLOCA_H 2025 # include <alloca.h> 2114 2026 # else 2115 # if HAVE_ALLOCA_H2116 # include <alloca.h> 2027 # ifdef _AIX 2028 #pragma alloca 2117 2029 # else 2118 # ifdef _AIX 2119 #pragma alloca 2120 # else 2121 # ifndef alloca /* predefined by HP cc +Olibcalls */ 2030 # ifndef alloca /* predefined by HP cc +Olibcalls */ 2122 2031 char *alloca (); 2123 # endif2124 2032 # endif 2125 2033 # endif … … 2131 2039 ; return 0; } 2132 2040 EOF 2133 if { (eval echo configure:2 134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2041 if { (eval echo configure:2042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2134 2042 rm -rf conftest* 2135 2043 ac_cv_func_alloca_works=yes … … 2156 2064 # contain a buggy version. If you still want to use their alloca, 2157 2065 # use ar to extract alloca.o from them instead of compiling alloca.c. 2158 ALLOCA=alloca. ${ac_objext}2066 ALLOCA=alloca.o 2159 2067 cat >> confdefs.h <<\EOF 2160 2068 #define C_ALLOCA 1 … … 2163 2071 2164 2072 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2165 echo "configure:2 166: checking whether alloca needs Cray hooks" >&52073 echo "configure:2074: checking whether alloca needs Cray hooks" >&5 2166 2074 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2167 2075 echo $ac_n "(cached) $ac_c" 1>&6 2168 2076 else 2169 2077 cat > conftest.$ac_ext <<EOF 2170 #line 2 171"configure"2078 #line 2079 "configure" 2171 2079 #include "confdefs.h" 2172 2080 #if defined(CRAY) && ! defined(CRAY2) … … 2193 2101 for ac_func in _getb67 GETB67 getb67; do 2194 2102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2195 echo "configure:21 96: checking for $ac_func" >&52103 echo "configure:2104: checking for $ac_func" >&5 2196 2104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2197 2105 echo $ac_n "(cached) $ac_c" 1>&6 2198 2106 else 2199 2107 cat > conftest.$ac_ext <<EOF 2200 #line 2 201"configure"2108 #line 2109 "configure" 2201 2109 #include "confdefs.h" 2202 2110 /* System header to define __stub macros and hopefully few prototypes, … … 2221 2129 ; return 0; } 2222 2130 EOF 2223 if { (eval echo configure:2 224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2131 if { (eval echo configure:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2224 2132 rm -rf conftest* 2225 2133 eval "ac_cv_func_$ac_func=yes" … … 2248 2156 2249 2157 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2250 echo "configure:2 251: checking stack direction for C alloca" >&52158 echo "configure:2159: checking stack direction for C alloca" >&5 2251 2159 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2252 2160 echo $ac_n "(cached) $ac_c" 1>&6 … … 2256 2164 else 2257 2165 cat > conftest.$ac_ext <<EOF 2258 #line 2 259"configure"2166 #line 2167 "configure" 2259 2167 #include "confdefs.h" 2260 2168 find_stack_direction () … … 2275 2183 } 2276 2184 EOF 2277 if { (eval echo configure:2 278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2185 if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2278 2186 then 2279 2187 ac_cv_c_stack_direction=1 … … 2298 2206 if test $ac_cv_prog_gcc = yes; then 2299 2207 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2300 echo "configure:2 301: checking whether ${CC-cc} needs -traditional" >&52208 echo "configure:2209: checking whether ${CC-cc} needs -traditional" >&5 2301 2209 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2302 2210 echo $ac_n "(cached) $ac_c" 1>&6 … … 2304 2212 ac_pattern="Autoconf.*'x'" 2305 2213 cat > conftest.$ac_ext <<EOF 2306 #line 2 307"configure"2214 #line 2215 "configure" 2307 2215 #include "confdefs.h" 2308 2216 #include <sgtty.h> … … 2322 2230 if test $ac_cv_prog_gcc_traditional = no; then 2323 2231 cat > conftest.$ac_ext <<EOF 2324 #line 2 325"configure"2232 #line 2233 "configure" 2325 2233 #include "confdefs.h" 2326 2234 #include <termio.h> … … 2347 2255 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2348 2256 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2349 echo "configure:2 350: checking for $ac_hdr" >&52257 echo "configure:2258: checking for $ac_hdr" >&5 2350 2258 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2351 2259 echo $ac_n "(cached) $ac_c" 1>&6 2352 2260 else 2353 2261 cat > conftest.$ac_ext <<EOF 2354 #line 2 355"configure"2262 #line 2263 "configure" 2355 2263 #include "confdefs.h" 2356 2264 #include <$ac_hdr> 2357 2265 EOF 2358 2266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2359 { (eval echo configure:2 360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`2267 { (eval echo configure:2268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2268 ac_err=`grep -v '^ *+' conftest.out` 2361 2269 if test -z "$ac_err"; then 2362 2270 rm -rf conftest* … … 2386 2294 do 2387 2295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2388 echo "configure:2 389: checking for $ac_func" >&52296 echo "configure:2297: checking for $ac_func" >&5 2389 2297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2390 2298 echo $ac_n "(cached) $ac_c" 1>&6 2391 2299 else 2392 2300 cat > conftest.$ac_ext <<EOF 2393 #line 23 94"configure"2301 #line 2302 "configure" 2394 2302 #include "confdefs.h" 2395 2303 /* System header to define __stub macros and hopefully few prototypes, … … 2414 2322 ; return 0; } 2415 2323 EOF 2416 if { (eval echo configure:2 417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2324 if { (eval echo configure:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2417 2325 rm -rf conftest* 2418 2326 eval "ac_cv_func_$ac_func=yes" … … 2439 2347 2440 2348 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2441 echo "configure:2 442: checking for working mmap" >&52349 echo "configure:2350: checking for working mmap" >&5 2442 2350 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2443 2351 echo $ac_n "(cached) $ac_c" 1>&6 … … 2447 2355 else 2448 2356 cat > conftest.$ac_ext <<EOF 2449 #line 2 450"configure"2357 #line 2358 "configure" 2450 2358 #include "confdefs.h" 2451 2359 … … 2587 2495 2588 2496 EOF 2589 if { (eval echo configure:2 590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2497 if { (eval echo configure:2498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2590 2498 then 2591 2499 ac_cv_func_mmap_fixed_mapped=yes … … 2610 2518 2611 2519 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2612 echo "configure:2 613: checking return type of signal handlers" >&52520 echo "configure:2521: checking return type of signal handlers" >&5 2613 2521 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2614 2522 echo $ac_n "(cached) $ac_c" 1>&6 2615 2523 else 2616 2524 cat > conftest.$ac_ext <<EOF 2617 #line 2 618"configure"2525 #line 2526 "configure" 2618 2526 #include "confdefs.h" 2619 2527 #include <sys/types.h> … … 2632 2540 ; return 0; } 2633 2541 EOF 2634 if { (eval echo configure:2 635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2542 if { (eval echo configure:2543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2635 2543 rm -rf conftest* 2636 2544 ac_cv_type_signal=void … … 2651 2559 2652 2560 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2653 echo "configure:2 654: checking for vprintf" >&52561 echo "configure:2562: checking for vprintf" >&5 2654 2562 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2655 2563 echo $ac_n "(cached) $ac_c" 1>&6 2656 2564 else 2657 2565 cat > conftest.$ac_ext <<EOF 2658 #line 2 659"configure"2566 #line 2567 "configure" 2659 2567 #include "confdefs.h" 2660 2568 /* System header to define __stub macros and hopefully few prototypes, … … 2679 2587 ; return 0; } 2680 2588 EOF 2681 if { (eval echo configure:2 682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2589 if { (eval echo configure:2590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2682 2590 rm -rf conftest* 2683 2591 eval "ac_cv_func_vprintf=yes" … … 2703 2611 if test "$ac_cv_func_vprintf" != yes; then 2704 2612 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2705 echo "configure:2 706: checking for _doprnt" >&52613 echo "configure:2614: checking for _doprnt" >&5 2706 2614 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2707 2615 echo $ac_n "(cached) $ac_c" 1>&6 2708 2616 else 2709 2617 cat > conftest.$ac_ext <<EOF 2710 #line 2 711"configure"2618 #line 2619 "configure" 2711 2619 #include "confdefs.h" 2712 2620 /* System header to define __stub macros and hopefully few prototypes, … … 2731 2639 ; return 0; } 2732 2640 EOF 2733 if { (eval echo configure:2 734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2641 if { (eval echo configure:2642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2734 2642 rm -rf conftest* 2735 2643 eval "ac_cv_func__doprnt=yes" … … 2758 2666 do 2759 2667 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2760 echo "configure:2 761: checking for $ac_func" >&52668 echo "configure:2669: checking for $ac_func" >&5 2761 2669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2762 2670 echo $ac_n "(cached) $ac_c" 1>&6 2763 2671 else 2764 2672 cat > conftest.$ac_ext <<EOF 2765 #line 2 766"configure"2673 #line 2674 "configure" 2766 2674 #include "confdefs.h" 2767 2675 /* System header to define __stub macros and hopefully few prototypes, … … 2786 2694 ; return 0; } 2787 2695 EOF 2788 if { (eval echo configure:2 789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2696 if { (eval echo configure:2697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2789 2697 rm -rf conftest* 2790 2698 eval "ac_cv_func_$ac_func=yes" … … 2814 2722 # arithmetic shifts 2815 2723 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 2816 echo "configure:2 817: checking whether your machine has correct arithmetic shifts" >&52724 echo "configure:2725: checking whether your machine has correct arithmetic shifts" >&5 2817 2725 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 2818 2726 echo $ac_n "(cached) $ac_c" 1>&6 … … 2827 2735 else 2828 2736 cat > conftest.$ac_ext <<EOF 2829 #line 2 830"configure"2737 #line 2738 "configure" 2830 2738 #include "confdefs.h" 2831 2739 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2832 2740 EOF 2833 if { (eval echo configure:2 834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2741 if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2834 2742 then 2835 2743 ac_cv_shift=yes … … 2856 2764 # check for a peculiar constructor initialization 2857 2765 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 2858 echo "configure:2 859: checking whether explicit C++ constructor calls are allowed" >&52766 echo "configure:2767: checking whether explicit C++ constructor calls are allowed" >&5 2859 2767 2860 2768 ac_ext=C … … 2862 2770 ac_cpp='$CXXCPP $CPPFLAGS' 2863 2771 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2864 ac_link='${CXX-g++} -o conftest ${ac_exeext}$CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'2772 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2865 2773 cross_compiling=$ac_cv_prog_cxx_cross 2866 2774 … … 2869 2777 else 2870 2778 cat > conftest.$ac_ext <<EOF 2871 #line 2 872"configure"2779 #line 2780 "configure" 2872 2780 #include "confdefs.h" 2873 2781 … … 2887 2795 ; return 0; } 2888 2796 EOF 2889 if { (eval echo configure:2 890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2797 if { (eval echo configure:2798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2890 2798 rm -rf conftest* 2891 2799 ac_cv_explicit_const=yes … … 2903 2811 ac_cpp='$CPP $CPPFLAGS' 2904 2812 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2905 ac_link='${CC-cc} -o conftest ${ac_exeext}$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'2813 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2906 2814 cross_compiling=$ac_cv_prog_cc_cross 2907 2815 … … 2916 2824 # sprintf returns number of printed chars 2917 2825 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 2918 echo "configure:2 919: checking whether vsprintf returns number of printed chars" >&52826 echo "configure:2827: checking whether vsprintf returns number of printed chars" >&5 2919 2827 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 2920 2828 echo $ac_n "(cached) $ac_c" 1>&6 … … 2924 2832 else 2925 2833 cat > conftest.$ac_ext <<EOF 2926 #line 2 927"configure"2834 #line 2835 "configure" 2927 2835 #include "confdefs.h" 2928 2836 #include <stdio.h> 2929 2837 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 2930 2838 EOF 2931 if { (eval echo configure:2 932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2839 if { (eval echo configure:2840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2932 2840 then 2933 2841 ac_cv_returns_n_of_chars=yes … … 2955 2863 # determine ALIGN_8 2956 2864 echo $ac_n "checking size of char""... $ac_c" 1>&6 2957 echo "configure:2 958: checking size of char" >&52865 echo "configure:2866: checking size of char" >&5 2958 2866 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 2959 2867 echo $ac_n "(cached) $ac_c" 1>&6 … … 2963 2871 else 2964 2872 cat > conftest.$ac_ext <<EOF 2965 #line 2 966"configure"2873 #line 2874 "configure" 2966 2874 #include "confdefs.h" 2967 2875 #include <stdio.h> … … 2974 2882 } 2975 2883 EOF 2976 if { (eval echo configure:2 977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2884 if { (eval echo configure:2885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2977 2885 then 2978 2886 ac_cv_sizeof_char=`cat conftestval` … … 2994 2902 2995 2903 echo $ac_n "checking size of short""... $ac_c" 1>&6 2996 echo "configure:29 97: checking size of short" >&52904 echo "configure:2905: checking size of short" >&5 2997 2905 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 2998 2906 echo $ac_n "(cached) $ac_c" 1>&6 … … 3002 2910 else 3003 2911 cat > conftest.$ac_ext <<EOF 3004 #line 3005"configure"2912 #line 2913 "configure" 3005 2913 #include "confdefs.h" 3006 2914 #include <stdio.h> … … 3013 2921 } 3014 2922 EOF 3015 if { (eval echo configure: 3016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2923 if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3016 2924 then 3017 2925 ac_cv_sizeof_short=`cat conftestval` … … 3033 2941 3034 2942 echo $ac_n "checking size of int""... $ac_c" 1>&6 3035 echo "configure: 3036: checking size of int" >&52943 echo "configure:2944: checking size of int" >&5 3036 2944 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3037 2945 echo $ac_n "(cached) $ac_c" 1>&6 … … 3041 2949 else 3042 2950 cat > conftest.$ac_ext <<EOF 3043 #line 3044"configure"2951 #line 2952 "configure" 3044 2952 #include "confdefs.h" 3045 2953 #include <stdio.h> … … 3052 2960 } 3053 2961 EOF 3054 if { (eval echo configure: 3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null2962 if { (eval echo configure:2963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3055 2963 then 3056 2964 ac_cv_sizeof_int=`cat conftestval` … … 3072 2980 3073 2981 echo $ac_n "checking size of long""... $ac_c" 1>&6 3074 echo "configure: 3075: checking size of long" >&52982 echo "configure:2983: checking size of long" >&5 3075 2983 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3076 2984 echo $ac_n "(cached) $ac_c" 1>&6 … … 3080 2988 else 3081 2989 cat > conftest.$ac_ext <<EOF 3082 #line 3083"configure"2990 #line 2991 "configure" 3083 2991 #include "confdefs.h" 3084 2992 #include <stdio.h> … … 3091 2999 } 3092 3000 EOF 3093 if { (eval echo configure:30 94: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3001 if { (eval echo configure:3002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3094 3002 then 3095 3003 ac_cv_sizeof_long=`cat conftestval` … … 3111 3019 3112 3020 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3113 echo "configure:3 114: checking size of void*" >&53021 echo "configure:3022: checking size of void*" >&5 3114 3022 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3115 3023 echo $ac_n "(cached) $ac_c" 1>&6 … … 3119 3027 else 3120 3028 cat > conftest.$ac_ext <<EOF 3121 #line 3 122"configure"3029 #line 3030 "configure" 3122 3030 #include "confdefs.h" 3123 3031 #include <stdio.h> … … 3130 3038 } 3131 3039 EOF 3132 if { (eval echo configure:3 133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3040 if { (eval echo configure:3041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3133 3041 then 3134 3042 ac_cv_sizeof_voidp=`cat conftestval` … … 3150 3058 3151 3059 echo $ac_n "checking size of double""... $ac_c" 1>&6 3152 echo "configure:3 153: checking size of double" >&53060 echo "configure:3061: checking size of double" >&5 3153 3061 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3154 3062 echo $ac_n "(cached) $ac_c" 1>&6 … … 3158 3066 else 3159 3067 cat > conftest.$ac_ext <<EOF 3160 #line 3 161"configure"3068 #line 3069 "configure" 3161 3069 #include "confdefs.h" 3162 3070 #include <stdio.h> … … 3169 3077 } 3170 3078 EOF 3171 if { (eval echo configure:3 172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3079 if { (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3172 3080 then 3173 3081 ac_cv_sizeof_double=`cat conftestval` … … 3189 3097 3190 3098 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3191 echo "configure:31 92: checking whether byte ordering is bigendian" >&53099 echo "configure:3100: checking whether byte ordering is bigendian" >&5 3192 3100 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3193 3101 echo $ac_n "(cached) $ac_c" 1>&6 … … 3196 3104 # See if sys/param.h defines the BYTE_ORDER macro. 3197 3105 cat > conftest.$ac_ext <<EOF 3198 #line 31 99"configure"3106 #line 3107 "configure" 3199 3107 #include "confdefs.h" 3200 3108 #include <sys/types.h> … … 3207 3115 ; return 0; } 3208 3116 EOF 3209 if { (eval echo configure:3 210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3117 if { (eval echo configure:3118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3210 3118 rm -rf conftest* 3211 3119 # It does; now see whether it defined to BIG_ENDIAN or not. 3212 3120 cat > conftest.$ac_ext <<EOF 3213 #line 3 214"configure"3121 #line 3122 "configure" 3214 3122 #include "confdefs.h" 3215 3123 #include <sys/types.h> … … 3222 3130 ; return 0; } 3223 3131 EOF 3224 if { (eval echo configure:3 225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3132 if { (eval echo configure:3133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3225 3133 rm -rf conftest* 3226 3134 ac_cv_c_bigendian=yes … … 3242 3150 else 3243 3151 cat > conftest.$ac_ext <<EOF 3244 #line 3 245"configure"3152 #line 3153 "configure" 3245 3153 #include "confdefs.h" 3246 3154 main () { … … 3255 3163 } 3256 3164 EOF 3257 if { (eval echo configure:3 258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3165 if { (eval echo configure:3166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3258 3166 then 3259 3167 ac_cv_c_bigendian=no … … 3292 3200 3293 3201 echo $ac_n "checking size of system page""... $ac_c" 1>&6 3294 echo "configure:32 95: checking size of system page" >&53202 echo "configure:3203: checking size of system page" >&5 3295 3203 if eval "test \"`echo '$''{'ac_cv_pagesize'+set}'`\" = set"; then 3296 3204 echo $ac_n "(cached) $ac_c" 1>&6 … … 3300 3208 else 3301 3209 cat > conftest.$ac_ext <<EOF 3302 #line 3 303"configure"3210 #line 3211 "configure" 3303 3211 #include "confdefs.h" 3304 3212 #include <stdio.h> … … 3314 3222 } 3315 3223 EOF 3316 if { (eval echo configure:3 317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3224 if { (eval echo configure:3225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3317 3225 then 3318 3226 ac_cv_pagesize=`cat conftestval` … … 3338 3246 3339 3247 echo $ac_n "checking for page aligned valloc""... $ac_c" 1>&6 3340 echo "configure:3 341: checking for page aligned valloc" >&53248 echo "configure:3249: checking for page aligned valloc" >&5 3341 3249 if eval "test \"`echo '$''{'ac_cv_have_page_alignment'+set}'`\" = set"; then 3342 3250 echo $ac_n "(cached) $ac_c" 1>&6 … … 3384 3292 else 3385 3293 cat > conftest.$ac_ext <<EOF 3386 #line 3 387"configure"3294 #line 3295 "configure" 3387 3295 #include "confdefs.h" 3388 3296 … … 3391 3299 3392 3300 EOF 3393 if { (eval echo configure:33 94: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3301 if { (eval echo configure:3302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3394 3302 then 3395 3303 ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat conftestval` … … 3408 3316 else 3409 3317 cat > conftest.$ac_ext <<EOF 3410 #line 3 411"configure"3318 #line 3319 "configure" 3411 3319 #include "confdefs.h" 3412 3320 … … 3415 3323 3416 3324 EOF 3417 if { (eval echo configure:3 418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3325 if { (eval echo configure:3326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3418 3326 then 3419 3327 ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat conftestval` … … 3435 3343 else 3436 3344 cat > conftest.$ac_ext <<EOF 3437 #line 3 438"configure"3345 #line 3346 "configure" 3438 3346 #include "confdefs.h" 3439 3347 … … 3444 3352 3445 3353 EOF 3446 if { (eval echo configure:3 447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3354 if { (eval echo configure:3355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3447 3355 then 3448 3356 ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat conftestval` … … 3461 3369 else 3462 3370 cat > conftest.$ac_ext <<EOF 3463 #line 3 464"configure"3371 #line 3372 "configure" 3464 3372 #include "confdefs.h" 3465 3373 … … 3470 3378 3471 3379 EOF 3472 if { (eval echo configure:3 473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}&& (./conftest; exit) 2>/dev/null3380 if { (eval echo configure:3381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3473 3381 then 3474 3382 ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat conftestval` … … 3605 3513 if test "${with_perl5+set}" != set; then 3606 3514 echo $ac_n "checking for perl5""... $ac_c" 1>&6 3607 echo "configure:3 608: checking for perl5" >&53515 echo "configure:3516: checking for perl5" >&5 3608 3516 if eval "test \"`echo '$''{'ac_cv_prog_perl5'+set}'`\" = set"; then 3609 3517 echo $ac_n "(cached) $ac_c" 1>&6 … … 3642 3550 set dummy $ac_prog; ac_word=$2 3643 3551 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3644 echo "configure:3 645: checking for $ac_word" >&53552 echo "configure:3553: checking for $ac_word" >&5 3645 3553 if eval "test \"`echo '$''{'ac_cv_prog_PERL5'+set}'`\" = set"; then 3646 3554 echo $ac_n "(cached) $ac_c" 1>&6 … … 3649 3557 ac_cv_prog_PERL5="$PERL5" # Let the user override the test. 3650 3558 else 3651 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3652 ac_dummy="$PATH" 3653 for ac_dir in $ac_dummy; do 3559 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 3560 for ac_dir in $PATH; do 3654 3561 test -z "$ac_dir" && ac_dir=. 3655 3562 if test -f $ac_dir/$ac_word; then … … 3682 3589 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3683 3590 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3684 echo "configure:3 685: checking for $ac_hdr" >&53591 echo "configure:3592: checking for $ac_hdr" >&5 3685 3592 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3686 3593 echo $ac_n "(cached) $ac_c" 1>&6 3687 3594 else 3688 3595 cat > conftest.$ac_ext <<EOF 3689 #line 3 690"configure"3596 #line 3597 "configure" 3690 3597 #include "confdefs.h" 3691 3598 #include <$ac_hdr> 3692 3599 EOF 3693 3600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3694 { (eval echo configure:36 95: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`3601 { (eval echo configure:3602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3602 ac_err=`grep -v '^ *+' conftest.out` 3696 3603 if test -z "$ac_err"; then 3697 3604 rm -rf conftest* … … 3722 3629 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3723 3630 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3724 echo "configure:3 725: checking for $ac_hdr" >&53631 echo "configure:3632: checking for $ac_hdr" >&5 3725 3632 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3726 3633 echo $ac_n "(cached) $ac_c" 1>&6 3727 3634 else 3728 3635 cat > conftest.$ac_ext <<EOF 3729 #line 3 730"configure"3636 #line 3637 "configure" 3730 3637 #include "confdefs.h" 3731 3638 #include <$ac_hdr> 3732 3639 EOF 3733 3640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3734 { (eval echo configure:3 735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`3641 { (eval echo configure:3642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3642 ac_err=`grep -v '^ *+' conftest.out` 3736 3643 if test -z "$ac_err"; then 3737 3644 rm -rf conftest* … … 3762 3669 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3763 3670 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3764 echo "configure:3 765: checking for $ac_hdr" >&53671 echo "configure:3672: checking for $ac_hdr" >&5 3765 3672 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3766 3673 echo $ac_n "(cached) $ac_c" 1>&6 3767 3674 else 3768 3675 cat > conftest.$ac_ext <<EOF 3769 #line 3 770"configure"3676 #line 3677 "configure" 3770 3677 #include "confdefs.h" 3771 3678 #include <$ac_hdr> 3772 3679 EOF 3773 3680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3774 { (eval echo configure:3 775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3775 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`3681 { (eval echo configure:3682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3682 ac_err=`grep -v '^ *+' conftest.out` 3776 3683 if test -z "$ac_err"; then 3777 3684 rm -rf conftest* … … 3802 3709 if test "$with_readline" != no; then 3803 3710 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3804 echo "configure:3 805: checking for tgetent in -lncurses" >&53711 echo "configure:3712: checking for tgetent in -lncurses" >&5 3805 3712 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3806 3713 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3810 3717 LIBS="-lncurses $LIBS" 3811 3718 cat > conftest.$ac_ext <<EOF 3812 #line 3 813"configure"3719 #line 3720 "configure" 3813 3720 #include "confdefs.h" 3814 3721 /* Override any gcc2 internal prototype to avoid an error. */ … … 3821 3728 ; return 0; } 3822 3729 EOF 3823 if { (eval echo configure:3 824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3730 if { (eval echo configure:3731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3824 3731 rm -rf conftest* 3825 3732 eval "ac_cv_lib_$ac_lib_var=yes" … … 3848 3755 \ 3849 3756 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3850 echo "configure:3 851: checking for tgetent in -lcurses" >&53757 echo "configure:3758: checking for tgetent in -lcurses" >&5 3851 3758 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3852 3759 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3856 3763 LIBS="-lcurses $LIBS" 3857 3764 cat > conftest.$ac_ext <<EOF 3858 #line 3 859"configure"3765 #line 3766 "configure" 3859 3766 #include "confdefs.h" 3860 3767 /* Override any gcc2 internal prototype to avoid an error. */ … … 3867 3774 ; return 0; } 3868 3775 EOF 3869 if { (eval echo configure:3 870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3776 if { (eval echo configure:3777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3870 3777 rm -rf conftest* 3871 3778 eval "ac_cv_lib_$ac_lib_var=yes" … … 3894 3801 \ 3895 3802 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3896 echo "configure:38 97: checking for tgetent in -ltermcap" >&53803 echo "configure:3804: checking for tgetent in -ltermcap" >&5 3897 3804 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3898 3805 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3902 3809 LIBS="-ltermcap $LIBS" 3903 3810 cat > conftest.$ac_ext <<EOF 3904 #line 3 905"configure"3811 #line 3812 "configure" 3905 3812 #include "confdefs.h" 3906 3813 /* Override any gcc2 internal prototype to avoid an error. */ … … 3913 3820 ; return 0; } 3914 3821 EOF 3915 if { (eval echo configure:3 916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3822 if { (eval echo configure:3823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3916 3823 rm -rf conftest* 3917 3824 eval "ac_cv_lib_$ac_lib_var=yes" … … 3945 3852 3946 3853 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3947 echo "configure:3 948: checking for rl_abort in -lreadline" >&53854 echo "configure:3855: checking for rl_abort in -lreadline" >&5 3948 3855 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3949 3856 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3953 3860 LIBS="-lreadline $LIBS" 3954 3861 cat > conftest.$ac_ext <<EOF 3955 #line 3 956"configure"3862 #line 3863 "configure" 3956 3863 #include "confdefs.h" 3957 3864 /* Override any gcc2 internal prototype to avoid an error. */ … … 3964 3871 ; return 0; } 3965 3872 EOF 3966 if { (eval echo configure:3 967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3873 if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3967 3874 rm -rf conftest* 3968 3875 eval "ac_cv_lib_$ac_lib_var=yes" … … 3995 3902 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3996 3903 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3997 echo "configure:39 98: checking for $ac_hdr" >&53904 echo "configure:3905: checking for $ac_hdr" >&5 3998 3905 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3999 3906 echo $ac_n "(cached) $ac_c" 1>&6 4000 3907 else 4001 3908 cat > conftest.$ac_ext <<EOF 4002 #line 4003"configure"3909 #line 3910 "configure" 4003 3910 #include "confdefs.h" 4004 3911 #include <$ac_hdr> 4005 3912 EOF 4006 3913 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4007 { (eval echo configure: 4008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4008 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`3914 { (eval echo configure:3915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3915 ac_err=`grep -v '^ *+' conftest.out` 4009 3916 if test -z "$ac_err"; then 4010 3917 rm -rf conftest* … … 4034 3941 test "$ac_cv_header_readline_readline_h" = yes; then 4035 3942 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 4036 echo "configure: 4037: checking whether readline.h is ok" >&53943 echo "configure:3944: checking whether readline.h is ok" >&5 4037 3944 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 4038 3945 echo $ac_n "(cached) $ac_c" 1>&6 4039 3946 else 4040 3947 cat > conftest.$ac_ext <<EOF 4041 #line 4042"configure"3948 #line 3949 "configure" 4042 3949 #include "confdefs.h" 4043 3950 #include<unistd.h> … … 4064 3971 ; return 0; } 4065 3972 EOF 4066 if { (eval echo configure: 4067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3973 if { (eval echo configure:3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4067 3974 rm -rf conftest* 4068 3975 ac_cv_header_readline_readline_h_ok="yes" … … 4080 3987 #not ok -- try once more with explicitly declaring everything 4081 3988 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 4082 echo "configure: 4083: checking whether or not we nevertheless can use readline" >&53989 echo "configure:3990: checking whether or not we nevertheless can use readline" >&5 4083 3990 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 4084 3991 echo $ac_n "(cached) $ac_c" 1>&6 4085 3992 else 4086 3993 cat > conftest.$ac_ext <<EOF 4087 #line 4088"configure"3994 #line 3995 "configure" 4088 3995 #include "confdefs.h" 4089 3996 #include <stdio.h> … … 4115 4022 ; return 0; } 4116 4023 EOF 4117 if { (eval echo configure:4 118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4024 if { (eval echo configure:4025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4118 4025 rm -rf conftest* 4119 4026 ac_cv_have_readline="yes" … … 4146 4053 echo "configure: warning: building without readline: disabling fancy display" 1>&2 4147 4054 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 4148 echo "configure:4 149: checking for tgetent in -lncurses" >&54055 echo "configure:4056: checking for tgetent in -lncurses" >&5 4149 4056 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 4150 4057 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4154 4061 LIBS="-lncurses $LIBS" 4155 4062 cat > conftest.$ac_ext <<EOF 4156 #line 4 157"configure"4063 #line 4064 "configure" 4157 4064 #include "confdefs.h" 4158 4065 /* Override any gcc2 internal prototype to avoid an error. */ … … 4165 4072 ; return 0; } 4166 4073 EOF 4167 if { (eval echo configure:4 168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4074 if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4168 4075 rm -rf conftest* 4169 4076 eval "ac_cv_lib_$ac_lib_var=yes" … … 4192 4099 \ 4193 4100 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 4194 echo "configure:41 95: checking for tgetent in -lcurses" >&54101 echo "configure:4102: checking for tgetent in -lcurses" >&5 4195 4102 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 4196 4103 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4200 4107 LIBS="-lcurses $LIBS" 4201 4108 cat > conftest.$ac_ext <<EOF 4202 #line 4 203"configure"4109 #line 4110 "configure" 4203 4110 #include "confdefs.h" 4204 4111 /* Override any gcc2 internal prototype to avoid an error. */ … … 4211 4118 ; return 0; } 4212 4119 EOF 4213 if { (eval echo configure:4 214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4120 if { (eval echo configure:4121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4214 4121 rm -rf conftest* 4215 4122 eval "ac_cv_lib_$ac_lib_var=yes" … … 4238 4145 \ 4239 4146 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 4240 echo "configure:4 241: checking for tgetent in -ltermcap" >&54147 echo "configure:4148: checking for tgetent in -ltermcap" >&5 4241 4148 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 4242 4149 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4246 4153 LIBS="-ltermcap $LIBS" 4247 4154 cat > conftest.$ac_ext <<EOF 4248 #line 4 249"configure"4155 #line 4156 "configure" 4249 4156 #include "confdefs.h" 4250 4157 /* Override any gcc2 internal prototype to avoid an error. */ … … 4257 4164 ; return 0; } 4258 4165 EOF 4259 if { (eval echo configure:4 260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4166 if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4260 4167 rm -rf conftest* 4261 4168 eval "ac_cv_lib_$ac_lib_var=yes" … … 4296 4203 else 4297 4204 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 4298 echo "configure:42 99: checking for tgetent in -lncurses" >&54205 echo "configure:4206: checking for tgetent in -lncurses" >&5 4299 4206 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 4300 4207 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4304 4211 LIBS="-lncurses $LIBS" 4305 4212 cat > conftest.$ac_ext <<EOF 4306 #line 4 307"configure"4213 #line 4214 "configure" 4307 4214 #include "confdefs.h" 4308 4215 /* Override any gcc2 internal prototype to avoid an error. */ … … 4315 4222 ; return 0; } 4316 4223 EOF 4317 if { (eval echo configure:4 318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4224 if { (eval echo configure:4225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4318 4225 rm -rf conftest* 4319 4226 eval "ac_cv_lib_$ac_lib_var=yes" … … 4342 4249 \ 4343 4250 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 4344 echo "configure:4 345: checking for tgetent in -lcurses" >&54251 echo "configure:4252: checking for tgetent in -lcurses" >&5 4345 4252 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 4346 4253 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4350 4257 LIBS="-lcurses $LIBS" 4351 4258 cat > conftest.$ac_ext <<EOF 4352 #line 4 353"configure"4259 #line 4260 "configure" 4353 4260 #include "confdefs.h" 4354 4261 /* Override any gcc2 internal prototype to avoid an error. */ … … 4361 4268 ; return 0; } 4362 4269 EOF 4363 if { (eval echo configure:4 364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4270 if { (eval echo configure:4271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4364 4271 rm -rf conftest* 4365 4272 eval "ac_cv_lib_$ac_lib_var=yes" … … 4388 4295 \ 4389 4296 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 4390 echo "configure:4 391: checking for tgetent in -ltermcap" >&54297 echo "configure:4298: checking for tgetent in -ltermcap" >&5 4391 4298 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 4392 4299 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4396 4303 LIBS="-ltermcap $LIBS" 4397 4304 cat > conftest.$ac_ext <<EOF 4398 #line 43 99"configure"4305 #line 4306 "configure" 4399 4306 #include "confdefs.h" 4400 4307 /* Override any gcc2 internal prototype to avoid an error. */ … … 4407 4314 ; return 0; } 4408 4315 EOF 4409 if { (eval echo configure:4 410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4316 if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4410 4317 rm -rf conftest* 4411 4318 eval "ac_cv_lib_$ac_lib_var=yes" … … 4449 4356 # gmp, smallgmp, MP, MPT, factory, libfac 4450 4357 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 4451 echo "configure:4 452: checking for mpq_init in -lgmp" >&54358 echo "configure:4359: checking for mpq_init in -lgmp" >&5 4452 4359 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 4453 4360 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4457 4364 LIBS="-lgmp $LIBS" 4458 4365 cat > conftest.$ac_ext <<EOF 4459 #line 4 460"configure"4366 #line 4367 "configure" 4460 4367 #include "confdefs.h" 4461 4368 /* Override any gcc2 internal prototype to avoid an error. */ … … 4468 4375 ; return 0; } 4469 4376 EOF 4470 if { (eval echo configure:4 471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4377 if { (eval echo configure:4378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4471 4378 rm -rf conftest* 4472 4379 eval "ac_cv_lib_$ac_lib_var=yes" … … 4499 4406 fi 4500 4407 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 4501 echo "configure:4 502: checking for mpz_init in -lsmallgmp" >&54408 echo "configure:4409: checking for mpz_init in -lsmallgmp" >&5 4502 4409 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 4503 4410 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4507 4414 LIBS="-lsmallgmp $LIBS" 4508 4415 cat > conftest.$ac_ext <<EOF 4509 #line 4 510"configure"4416 #line 4417 "configure" 4510 4417 #include "confdefs.h" 4511 4418 /* Override any gcc2 internal prototype to avoid an error. */ … … 4518 4425 ; return 0; } 4519 4426 EOF 4520 if { (eval echo configure:4 521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4427 if { (eval echo configure:4428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4521 4428 rm -rf conftest* 4522 4429 eval "ac_cv_lib_$ac_lib_var=yes" … … 4546 4453 4547 4454 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4548 echo "configure:4 549: checking for IMP_PutGmpInt in -lMP" >&54455 echo "configure:4456: checking for IMP_PutGmpInt in -lMP" >&5 4549 4456 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4550 4457 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4554 4461 LIBS="-lMP $LIBS" 4555 4462 cat > conftest.$ac_ext <<EOF 4556 #line 4 557"configure"4463 #line 4464 "configure" 4557 4464 #include "confdefs.h" 4558 4465 /* Override any gcc2 internal prototype to avoid an error. */ … … 4565 4472 ; return 0; } 4566 4473 EOF 4567 if { (eval echo configure:4 568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4474 if { (eval echo configure:4475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4568 4475 rm -rf conftest* 4569 4476 eval "ac_cv_lib_$ac_lib_var=yes" … … 4593 4500 4594 4501 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4595 echo "configure:45 96: checking for MPT_GetTree in -lMPT" >&54502 echo "configure:4503: checking for MPT_GetTree in -lMPT" >&5 4596 4503 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4597 4504 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4601 4508 LIBS="-lMPT $LIBS" 4602 4509 cat > conftest.$ac_ext <<EOF 4603 #line 4 604"configure"4510 #line 4511 "configure" 4604 4511 #include "confdefs.h" 4605 4512 /* Override any gcc2 internal prototype to avoid an error. */ … … 4612 4519 ; return 0; } 4613 4520 EOF 4614 if { (eval echo configure:4 615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4521 if { (eval echo configure:4522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4615 4522 rm -rf conftest* 4616 4523 eval "ac_cv_lib_$ac_lib_var=yes" … … 4640 4547 4641 4548 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4642 echo "configure:4 643: checking for atof in -lsingcf" >&54549 echo "configure:4550: checking for atof in -lsingcf" >&5 4643 4550 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4644 4551 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4648 4555 LIBS="-lsingcf $LIBS" 4649 4556 cat > conftest.$ac_ext <<EOF 4650 #line 4 651"configure"4557 #line 4558 "configure" 4651 4558 #include "confdefs.h" 4652 4559 /* Override any gcc2 internal prototype to avoid an error. */ … … 4659 4566 ; return 0; } 4660 4567 EOF 4661 if { (eval echo configure:4 662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4568 if { (eval echo configure:4569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4662 4569 rm -rf conftest* 4663 4570 eval "ac_cv_lib_$ac_lib_var=yes" … … 4687 4594 4688 4595 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4689 echo "configure:4 690: checking for atof in -lsingfac" >&54596 echo "configure:4597: checking for atof in -lsingfac" >&5 4690 4597 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4691 4598 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4695 4602 LIBS="-lsingfac $LIBS" 4696 4603 cat > conftest.$ac_ext <<EOF 4697 #line 46 98"configure"4604 #line 4605 "configure" 4698 4605 #include "confdefs.h" 4699 4606 /* Override any gcc2 internal prototype to avoid an error. */ … … 4706 4613 ; return 0; } 4707 4614 EOF 4708 if { (eval echo configure:4 709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4615 if { (eval echo configure:4616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4709 4616 rm -rf conftest* 4710 4617 eval "ac_cv_lib_$ac_lib_var=yes" … … 4738 4645 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4739 4646 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4740 echo "configure:4 741: checking for $ac_hdr" >&54647 echo "configure:4648: checking for $ac_hdr" >&5 4741 4648 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4742 4649 echo $ac_n "(cached) $ac_c" 1>&6 4743 4650 else 4744 4651 cat > conftest.$ac_ext <<EOF 4745 #line 4 746"configure"4652 #line 4653 "configure" 4746 4653 #include "confdefs.h" 4747 4654 #include <$ac_hdr> 4748 4655 EOF 4749 4656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4750 { (eval echo configure:4 751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`4657 { (eval echo configure:4658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4658 ac_err=`grep -v '^ *+' conftest.out` 4752 4659 if test -z "$ac_err"; then 4753 4660 rm -rf conftest* … … 4805 4712 # evaluate results 4806 4713 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4807 echo "configure:4 808: checking which apint package to use" >&54714 echo "configure:4715: checking which apint package to use" >&5 4808 4715 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 4809 4716 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 4849 4756 if test "$with_dl" != no; then 4850 4757 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 4851 echo "configure:4 852: checking for dlopen in -ldl" >&54758 echo "configure:4759: checking for dlopen in -ldl" >&5 4852 4759 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 4853 4760 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4857 4764 LIBS="-ldl $LIBS" 4858 4765 cat > conftest.$ac_ext <<EOF 4859 #line 4 860"configure"4766 #line 4767 "configure" 4860 4767 #include "confdefs.h" 4861 4768 /* Override any gcc2 internal prototype to avoid an error. */ … … 4868 4775 ; return 0; } 4869 4776 EOF 4870 if { (eval echo configure:4 871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4777 if { (eval echo configure:4778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4871 4778 rm -rf conftest* 4872 4779 eval "ac_cv_lib_$ac_lib_var=yes" … … 4906 4813 fi 4907 4814 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4908 echo "configure:4 909: checking for shl_load in -ldld" >&54815 echo "configure:4816: checking for shl_load in -ldld" >&5 4909 4816 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4910 4817 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4914 4821 LIBS="-ldld $LIBS" 4915 4822 cat > conftest.$ac_ext <<EOF 4916 #line 4 917"configure"4823 #line 4824 "configure" 4917 4824 #include "confdefs.h" 4918 4825 /* Override any gcc2 internal prototype to avoid an error. */ … … 4925 4832 ; return 0; } 4926 4833 EOF 4927 if { (eval echo configure:4 928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4928 4835 rm -rf conftest* 4929 4836 eval "ac_cv_lib_$ac_lib_var=yes" … … 4965 4872 4966 4873 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4967 echo "configure:4 968: checking whether to have MP" >&54874 echo "configure:4875: checking whether to have MP" >&5 4968 4875 if test "${with_MP}" != yes && test "${with_MP}" != no; then 4969 4876 if (test "${will_have_gmp}" = yes) && \ … … 4996 4903 4997 4904 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4998 echo "configure:49 99: checking whether to have factory" >&54905 echo "configure:4906: checking whether to have factory" >&5 4999 4906 if test "${with_factory}" != yes && test "${with_factory}" != no; then 5000 4907 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 5027 4934 5028 4935 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 5029 echo "configure: 5030: checking whether to have libfac" >&54936 echo "configure:4937: checking whether to have libfac" >&5 5030 4937 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 5031 4938 if (test "${will_have_factory}" = yes) && \ … … 5059 4966 5060 4967 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 5061 echo "configure: 5062: checking whether to have dbm links" >&54968 echo "configure:4969: checking whether to have dbm links" >&5 5062 4969 if test "$with_dbm" != no; then 5063 4970 cat >> confdefs.h <<\EOF … … 5071 4978 5072 4979 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 5073 echo "configure: 5074: checking whether to have namespaces" >&54980 echo "configure:4981: checking whether to have namespaces" >&5 5074 4981 if test "$with_namespaces" != yes; then 5075 4982 echo "$ac_t""no" 1>&6 … … 5083 4990 5084 4991 echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6 5085 echo "configure: 5086: checking whether to have dynamic loading" >&54992 echo "configure:4993: checking whether to have dynamic loading" >&5 5086 4993 if test "$with_dl" != yes; then 5087 4994 echo "$ac_t""no" 1>&6 … … 5096 5003 HPUX-9) 5097 5004 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 5098 echo "configure:50 99: checking for shl_load in -ldld" >&55005 echo "configure:5006: checking for shl_load in -ldld" >&5 5099 5006 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 5100 5007 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5104 5011 LIBS="-ldld $LIBS" 5105 5012 cat > conftest.$ac_ext <<EOF 5106 #line 5 107"configure"5013 #line 5014 "configure" 5107 5014 #include "confdefs.h" 5108 5015 /* Override any gcc2 internal prototype to avoid an error. */ … … 5115 5022 ; return 0; } 5116 5023 EOF 5117 if { (eval echo configure:5 118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5024 if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5118 5025 rm -rf conftest* 5119 5026 eval "ac_cv_lib_$ac_lib_var=yes" … … 5147 5054 HPUX-10) 5148 5055 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 5149 echo "configure:5 150: checking for shl_load in -ldld" >&55056 echo "configure:5057: checking for shl_load in -ldld" >&5 5150 5057 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 5151 5058 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5155 5062 LIBS="-ldld $LIBS" 5156 5063 cat > conftest.$ac_ext <<EOF 5157 #line 5 158"configure"5064 #line 5065 "configure" 5158 5065 #include "confdefs.h" 5159 5066 /* Override any gcc2 internal prototype to avoid an error. */ … … 5166 5073 ; return 0; } 5167 5074 EOF 5168 if { (eval echo configure:5 169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5075 if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5169 5076 rm -rf conftest* 5170 5077 eval "ac_cv_lib_$ac_lib_var=yes" … … 5205 5112 5206 5113 echo $ac_n "checking whether to use mtrack""... $ac_c" 1>&6 5207 echo "configure:5 208: checking whether to use mtrack" >&55114 echo "configure:5115: checking whether to use mtrack" >&5 5208 5115 if test "$with_mtrack" = yes && test "$ac_cv_singuname" = ix86-Linux; then 5209 5116 echo "$ac_t""yes" 1>&6 … … 5219 5126 5220 5127 echo $ac_n "checking which exponent type to use""... $ac_c" 1>&6 5221 echo "configure:5 222: checking which exponent type to use" >&55128 echo "configure:5129: checking which exponent type to use" >&5 5222 5129 if test "$with_exp_type" = "char"; then 5223 5130 echo "$ac_t""char" 1>&6 … … 5275 5182 # and sets the high bit in the cache file unless we assign to the vars. 5276 5183 (set) 2>&1 | 5277 case `(ac_space=' '; set | grep ac_space) 2>&1` in5184 case `(ac_space=' '; set) 2>&1` in 5278 5185 *ac_space=\ *) 5279 5186 # `set' does not quote correctly, so add quotes (double-quote substitution … … 5342 5249 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 5343 5250 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 5344 echo "$CONFIG_STATUS generated by autoconf version 2.1 3"5251 echo "$CONFIG_STATUS generated by autoconf version 2.12" 5345 5252 exit 0 ;; 5346 5253 -help | --help | --hel | --he | --h) … … 5361 5268 $ac_vpsub 5362 5269 $extrasub 5363 s%@SHELL@%$SHELL%g5364 5270 s%@CFLAGS@%$CFLAGS%g 5365 5271 s%@CPPFLAGS@%$CPPFLAGS%g 5366 5272 s%@CXXFLAGS@%$CXXFLAGS%g 5367 s%@FFLAGS@%$FFLAGS%g5368 5273 s%@DEFS@%$DEFS%g 5369 5274 s%@LDFLAGS@%$LDFLAGS%g -
Singular/configure.in
r8016eb r43bcc5 43 43 SINGULAR_MAJOR_VERSION=${SINGULAR_MAJOR_VERSION:-1} 44 44 SINGULAR_MINOR_VERSION=${SINGULAR_MINOR_VERSION:-3} 45 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:- 6}45 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:-7} 46 46 SINGULAR_VERSION="${SINGULAR_VERSION:-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}" 47 VERSION_DATE=${VERSION_DATE:-" October 1999"}47 VERSION_DATE=${VERSION_DATE:-"December 1999"} 48 48 49 49 dnl pass them on into the Makefiles -
configure
r8016eb r43bcc5 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.1 34 # Generated automatically using autoconf version 2.12 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 102 102 subdirs= 103 103 MFLAGS= MAKEFLAGS= 104 SHELL=${CONFIG_SHELL-/bin/sh}105 104 # Maximum number of lines to put in a shell here document. 106 105 ac_max_here_lines=12 … … 386 385 387 386 -version | --version | --versio | --versi | --vers) 388 echo "configure generated by autoconf version 2.1 3"387 echo "configure generated by autoconf version 2.12" 389 388 exit 0 ;; 390 389 … … 556 555 ac_cpp='$CPP $CPPFLAGS' 557 556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 558 ac_link='${CC-cc} -o conftest ${ac_exeext}$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'557 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 559 558 cross_compiling=$ac_cv_prog_cc_cross 560 559 561 ac_exeext=562 ac_objext=o563 560 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 564 561 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 591 588 592 589 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 593 echo "configure:59 4: checking uname for singular" >&5590 echo "configure:591: checking uname for singular" >&5 594 591 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 595 592 echo $ac_n "(cached) $ac_c" 1>&6 … … 618 615 SINGULAR_MAJOR_VERSION=1 619 616 SINGULAR_MINOR_VERSION=3 620 SINGULAR_SUB_VERSION= 6617 SINGULAR_SUB_VERSION=7 621 618 SINGULAR_SHORT_VERSION="${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}" 622 619 SINGULAR_VERSION="${SINGULAR_SHORT_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" 623 VERSION_DATE=" October 1999"620 VERSION_DATE="December 1999" 624 621 625 622 export SINGULAR_MINOR_VERSION … … 636 633 set dummy gcc; ac_word=$2 637 634 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 638 echo "configure:63 9: checking for $ac_word" >&5635 echo "configure:636: checking for $ac_word" >&5 639 636 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 640 637 echo $ac_n "(cached) $ac_c" 1>&6 … … 643 640 ac_cv_prog_CC="$CC" # Let the user override the test. 644 641 else 645 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 646 ac_dummy="$PATH" 647 for ac_dir in $ac_dummy; do 642 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 643 for ac_dir in $PATH; do 648 644 test -z "$ac_dir" && ac_dir=. 649 645 if test -f $ac_dir/$ac_word; then … … 666 662 set dummy cc; ac_word=$2 667 663 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 668 echo "configure:66 9: checking for $ac_word" >&5664 echo "configure:665: checking for $ac_word" >&5 669 665 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 670 666 echo $ac_n "(cached) $ac_c" 1>&6 … … 673 669 ac_cv_prog_CC="$CC" # Let the user override the test. 674 670 else 675 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"671 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 676 672 ac_prog_rejected=no 677 ac_dummy="$PATH" 678 for ac_dir in $ac_dummy; do 673 for ac_dir in $PATH; do 679 674 test -z "$ac_dir" && ac_dir=. 680 675 if test -f $ac_dir/$ac_word; then … … 711 706 fi 712 707 713 if test -z "$CC"; then714 case "`uname -s`" in715 *win32* | *WIN32*)716 # Extract the first word of "cl", so it can be a program name with args.717 set dummy cl; ac_word=$2718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6719 echo "configure:720: checking for $ac_word" >&5720 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then721 echo $ac_n "(cached) $ac_c" 1>&6722 else723 if test -n "$CC"; then724 ac_cv_prog_CC="$CC" # Let the user override the test.725 else726 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"727 ac_dummy="$PATH"728 for ac_dir in $ac_dummy; do729 test -z "$ac_dir" && ac_dir=.730 if test -f $ac_dir/$ac_word; then731 ac_cv_prog_CC="cl"732 break733 fi734 done735 IFS="$ac_save_ifs"736 fi737 fi738 CC="$ac_cv_prog_CC"739 if test -n "$CC"; then740 echo "$ac_t""$CC" 1>&6741 else742 echo "$ac_t""no" 1>&6743 fi744 ;;745 esac746 fi747 708 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 748 709 fi 749 710 750 711 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 751 echo "configure:7 52: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5712 echo "configure:713: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 752 713 753 714 ac_ext=c … … 755 716 ac_cpp='$CPP $CPPFLAGS' 756 717 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 757 ac_link='${CC-cc} -o conftest ${ac_exeext}$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'718 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 758 719 cross_compiling=$ac_cv_prog_cc_cross 759 720 760 cat > conftest.$ac_ext << EOF 761 762 #line 763 "configure" 721 cat > conftest.$ac_ext <<EOF 722 #line 723 "configure" 763 723 #include "confdefs.h" 764 765 724 main(){return(0);} 766 725 EOF 767 if { (eval echo configure:7 68: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then726 if { (eval echo configure:727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 768 727 ac_cv_prog_cc_works=yes 769 728 # If we can't run a trivial program, we are probably using a cross compiler. … … 779 738 fi 780 739 rm -fr conftest* 781 ac_ext=c782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.783 ac_cpp='$CPP $CPPFLAGS'784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'786 cross_compiling=$ac_cv_prog_cc_cross787 740 788 741 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 … … 791 744 fi 792 745 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 793 echo "configure:7 94: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5746 echo "configure:747: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 794 747 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 795 748 cross_compiling=$ac_cv_prog_cc_cross 796 749 797 750 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 798 echo "configure:7 99: checking whether we are using GNU C" >&5751 echo "configure:752: checking whether we are using GNU C" >&5 799 752 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 800 753 echo $ac_n "(cached) $ac_c" 1>&6 … … 805 758 #endif 806 759 EOF 807 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then760 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 808 761 ac_cv_prog_gcc=yes 809 762 else … … 816 769 if test $ac_cv_prog_gcc = yes; then 817 770 GCC=yes 818 else 819 GCC= 820 fi 821 822 ac_test_CFLAGS="${CFLAGS+set}" 823 ac_save_CFLAGS="$CFLAGS" 824 CFLAGS= 825 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 826 echo "configure:827: checking whether ${CC-cc} accepts -g" >&5 771 ac_test_CFLAGS="${CFLAGS+set}" 772 ac_save_CFLAGS="$CFLAGS" 773 CFLAGS= 774 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 775 echo "configure:776: checking whether ${CC-cc} accepts -g" >&5 827 776 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 828 777 echo $ac_n "(cached) $ac_c" 1>&6 … … 839 788 840 789 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 841 if test "$ac_test_CFLAGS" = set; then 842 CFLAGS="$ac_save_CFLAGS" 843 elif test $ac_cv_prog_cc_g = yes; then 844 if test "$GCC" = yes; then 790 if test "$ac_test_CFLAGS" = set; then 791 CFLAGS="$ac_save_CFLAGS" 792 elif test $ac_cv_prog_cc_g = yes; then 845 793 CFLAGS="-g -O2" 846 794 else 847 CFLAGS="-g"848 fi849 else850 if test "$GCC" = yes; then851 795 CFLAGS="-O2" 852 else 853 CFLAGS= 854 fi 796 fi 797 else 798 GCC= 799 test "${CFLAGS+set}" = set || CFLAGS="-g" 855 800 fi 856 801 857 802 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 858 echo "configure:8 59: checking how to run the C preprocessor" >&5803 echo "configure:804: checking how to run the C preprocessor" >&5 859 804 # On Suns, sometimes $CPP names a directory. 860 805 if test -n "$CPP" && test -d "$CPP"; then … … 871 816 # not just through cpp. 872 817 cat > conftest.$ac_ext <<EOF 873 #line 8 74"configure"818 #line 819 "configure" 874 819 #include "confdefs.h" 875 820 #include <assert.h> … … 877 822 EOF 878 823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 879 { (eval echo configure:8 80: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }880 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`824 { (eval echo configure:825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 825 ac_err=`grep -v '^ *+' conftest.out` 881 826 if test -z "$ac_err"; then 882 827 : … … 888 833 CPP="${CC-cc} -E -traditional-cpp" 889 834 cat > conftest.$ac_ext <<EOF 890 #line 8 91"configure"835 #line 836 "configure" 891 836 #include "confdefs.h" 892 837 #include <assert.h> … … 894 839 EOF 895 840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 896 { (eval echo configure:8 97: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`841 { (eval echo configure:842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 842 ac_err=`grep -v '^ *+' conftest.out` 898 843 if test -z "$ac_err"; then 899 844 : … … 903 848 cat conftest.$ac_ext >&5 904 849 rm -rf conftest* 905 CPP="${CC-cc} -nologo -E"906 cat > conftest.$ac_ext <<EOF907 #line 908 "configure"908 #include "confdefs.h"909 #include <assert.h>910 Syntax Error911 EOF912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"913 { (eval echo configure:914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`915 if test -z "$ac_err"; then916 :917 else918 echo "$ac_err" >&5919 echo "configure: failed program was:" >&5920 cat conftest.$ac_ext >&5921 rm -rf conftest*922 850 CPP=/lib/cpp 923 fi924 rm -f conftest*925 851 fi 926 852 rm -f conftest* … … 961 887 # IRIX /sbin/install 962 888 # AIX /bin/install 963 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag964 889 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 965 890 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 966 891 # ./install, which can be erroneously created by make from ./install.sh. 967 892 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 968 echo "configure: 969: checking for a BSD compatible install" >&5893 echo "configure:894: checking for a BSD compatible install" >&5 969 894 if test -z "$INSTALL"; then 970 895 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 971 896 echo $ac_n "(cached) $ac_c" 1>&6 972 897 else 973 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" :"898 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" 974 899 for ac_dir in $PATH; do 975 900 # Account for people who put trailing slashes in PATH elements. … … 978 903 *) 979 904 # OSF1 and SCO ODT 3.0 have their own names for install. 980 # Don't use installbsd from OSF since it installs stuff as root 981 # by default. 982 for ac_prog in ginstall scoinst install; do 905 for ac_prog in ginstall installbsd scoinst install; do 983 906 if test -f $ac_dir/$ac_prog; then 984 907 if test $ac_prog = install && 985 908 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 986 909 # AIX install. It has an incompatible calling convention. 910 # OSF/1 installbsd also uses dspmsg, but is usable. 987 911 : 988 912 else … … 1014 938 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1015 939 1016 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'1017 1018 940 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1019 941 1020 942 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1021 echo "configure: 1022: checking for AIX" >&5943 echo "configure:944: checking for AIX" >&5 1022 944 cat > conftest.$ac_ext <<EOF 1023 #line 1024"configure"945 #line 946 "configure" 1024 946 #include "confdefs.h" 1025 947 #ifdef _AIX … … 1048 970 set dummy $ac_prog; ac_word=$2 1049 971 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1050 echo "configure: 1051: checking for $ac_word" >&5972 echo "configure:973: checking for $ac_word" >&5 1051 973 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 1052 974 echo $ac_n "(cached) $ac_c" 1>&6 … … 1055 977 ac_cv_prog_PERL="$PERL" # Let the user override the test. 1056 978 else 1057 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1058 ac_dummy="$PATH" 1059 for ac_dir in $ac_dummy; do 979 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 980 for ac_dir in $PATH; do 1060 981 test -z "$ac_dir" && ac_dir=. 1061 982 if test -f $ac_dir/$ac_word; then … … 1080 1001 set dummy latex2html; ac_word=$2 1081 1002 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1082 echo "configure:10 83: checking for $ac_word" >&51003 echo "configure:1004: checking for $ac_word" >&5 1083 1004 if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then 1084 1005 echo $ac_n "(cached) $ac_c" 1>&6 … … 1087 1008 ac_cv_prog_LATEX2HTML="$LATEX2HTML" # Let the user override the test. 1088 1009 else 1089 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1090 ac_dummy="$PATH" 1091 for ac_dir in $ac_dummy; do 1010 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1011 for ac_dir in $PATH; do 1092 1012 test -z "$ac_dir" && ac_dir=. 1093 1013 if test -f $ac_dir/$ac_word; then … … 1107 1027 1108 1028 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1109 echo "configure:1 110: checking whether ln -s works" >&51029 echo "configure:1030: checking whether ln -s works" >&5 1110 1030 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1111 1031 echo $ac_n "(cached) $ac_c" 1>&6 … … 1139 1059 set dummy texi2html; ac_word=$2 1140 1060 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1141 echo "configure:1 142: checking for $ac_word" >&51061 echo "configure:1062: checking for $ac_word" >&5 1142 1062 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then 1143 1063 echo $ac_n "(cached) $ac_c" 1>&6 … … 1146 1066 ac_cv_prog_TEXI2HTML="$TEXI2HTML" # Let the user override the test. 1147 1067 else 1148 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1149 ac_dummy="$PATH" 1150 for ac_dir in $ac_dummy; do 1068 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1069 for ac_dir in $PATH; do 1151 1070 test -z "$ac_dir" && ac_dir=. 1152 1071 if test -f $ac_dir/$ac_word; then … … 1213 1132 # check for AIX 1214 1133 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1215 echo "configure:1 216: checking whether _AIX is defined" >&51134 echo "configure:1135: checking whether _AIX is defined" >&5 1216 1135 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1217 1136 echo $ac_n "(cached) $ac_c" 1>&6 1218 1137 else 1219 1138 cat > conftest.$ac_ext <<EOF 1220 #line 1 221"configure"1139 #line 1140 "configure" 1221 1140 #include "confdefs.h" 1222 1141 #ifdef _AIX … … 1244 1163 1245 1164 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1246 echo "configure:1 247: checking for atof in -lm" >&51165 echo "configure:1166: checking for atof in -lm" >&5 1247 1166 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1248 1167 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1252 1171 LIBS="-lm $LIBS" 1253 1172 cat > conftest.$ac_ext <<EOF 1254 #line 1 255"configure"1173 #line 1174 "configure" 1255 1174 #include "confdefs.h" 1256 1175 /* Override any gcc2 internal prototype to avoid an error. */ … … 1263 1182 ; return 0; } 1264 1183 EOF 1265 if { (eval echo configure:1 266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1184 if { (eval echo configure:1185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1266 1185 rm -rf conftest* 1267 1186 eval "ac_cv_lib_$ac_lib_var=yes" … … 1291 1210 1292 1211 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1293 echo "configure:12 94: checking for socket in -lbsd" >&51212 echo "configure:1213: checking for socket in -lbsd" >&5 1294 1213 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1295 1214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1299 1218 LIBS="-lbsd $LIBS" 1300 1219 cat > conftest.$ac_ext <<EOF 1301 #line 1 302"configure"1220 #line 1221 "configure" 1302 1221 #include "confdefs.h" 1303 1222 /* Override any gcc2 internal prototype to avoid an error. */ … … 1310 1229 ; return 0; } 1311 1230 EOF 1312 if { (eval echo configure:1 313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1231 if { (eval echo configure:1232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1313 1232 rm -rf conftest* 1314 1233 eval "ac_cv_lib_$ac_lib_var=yes" … … 1338 1257 1339 1258 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1340 echo "configure:1 341: checking for listen in -lsocket" >&51259 echo "configure:1260: checking for listen in -lsocket" >&5 1341 1260 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1342 1261 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1346 1265 LIBS="-lsocket $LIBS" 1347 1266 cat > conftest.$ac_ext <<EOF 1348 #line 1 349"configure"1267 #line 1268 "configure" 1349 1268 #include "confdefs.h" 1350 1269 /* Override any gcc2 internal prototype to avoid an error. */ … … 1357 1276 ; return 0; } 1358 1277 EOF 1359 if { (eval echo configure:1 360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1278 if { (eval echo configure:1279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1360 1279 rm -rf conftest* 1361 1280 eval "ac_cv_lib_$ac_lib_var=yes" … … 1385 1304 1386 1305 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1387 echo "configure:13 88: checking for gethostbyname in -lnsl" >&51306 echo "configure:1307: checking for gethostbyname in -lnsl" >&5 1388 1307 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1389 1308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1393 1312 LIBS="-lnsl $LIBS" 1394 1313 cat > conftest.$ac_ext <<EOF 1395 #line 13 96"configure"1314 #line 1315 "configure" 1396 1315 #include "confdefs.h" 1397 1316 /* Override any gcc2 internal prototype to avoid an error. */ … … 1404 1323 ; return 0; } 1405 1324 EOF 1406 if { (eval echo configure:1 407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1325 if { (eval echo configure:1326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1407 1326 rm -rf conftest* 1408 1327 eval "ac_cv_lib_$ac_lib_var=yes" … … 1432 1351 1433 1352 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 1434 echo "configure:1 435: checking for mpq_init in -lgmp" >&51353 echo "configure:1354: checking for mpq_init in -lgmp" >&5 1435 1354 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 1436 1355 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1440 1359 LIBS="-lgmp $LIBS" 1441 1360 cat > conftest.$ac_ext <<EOF 1442 #line 1 443"configure"1361 #line 1362 "configure" 1443 1362 #include "confdefs.h" 1444 1363 /* Override any gcc2 internal prototype to avoid an error. */ … … 1451 1370 ; return 0; } 1452 1371 EOF 1453 if { (eval echo configure:1 454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1372 if { (eval echo configure:1373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1454 1373 rm -rf conftest* 1455 1374 eval "ac_cv_lib_$ac_lib_var=yes" … … 1479 1398 1480 1399 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 1481 echo "configure:14 82: checking for mpz_init in -lsmallgmp" >&51400 echo "configure:1401: checking for mpz_init in -lsmallgmp" >&5 1482 1401 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 1483 1402 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1487 1406 LIBS="-lsmallgmp $LIBS" 1488 1407 cat > conftest.$ac_ext <<EOF 1489 #line 14 90"configure"1408 #line 1409 "configure" 1490 1409 #include "confdefs.h" 1491 1410 /* Override any gcc2 internal prototype to avoid an error. */ … … 1498 1417 ; return 0; } 1499 1418 EOF 1500 if { (eval echo configure:1 501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1419 if { (eval echo configure:1420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1501 1420 rm -rf conftest* 1502 1421 eval "ac_cv_lib_$ac_lib_var=yes" … … 1526 1445 1527 1446 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 1528 echo "configure:1 529: checking for IMP_PutGmpInt in -lMP" >&51447 echo "configure:1448: checking for IMP_PutGmpInt in -lMP" >&5 1529 1448 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 1530 1449 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1534 1453 LIBS="-lMP $LIBS" 1535 1454 cat > conftest.$ac_ext <<EOF 1536 #line 1 537"configure"1455 #line 1456 "configure" 1537 1456 #include "confdefs.h" 1538 1457 /* Override any gcc2 internal prototype to avoid an error. */ … … 1545 1464 ; return 0; } 1546 1465 EOF 1547 if { (eval echo configure:1 548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1466 if { (eval echo configure:1467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1548 1467 rm -rf conftest* 1549 1468 eval "ac_cv_lib_$ac_lib_var=yes" … … 1573 1492 1574 1493 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 1575 echo "configure:1 576: checking for MPT_GetTree in -lMPT" >&51494 echo "configure:1495: checking for MPT_GetTree in -lMPT" >&5 1576 1495 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 1577 1496 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1581 1500 LIBS="-lMPT $LIBS" 1582 1501 cat > conftest.$ac_ext <<EOF 1583 #line 15 84"configure"1502 #line 1503 "configure" 1584 1503 #include "confdefs.h" 1585 1504 /* Override any gcc2 internal prototype to avoid an error. */ … … 1592 1511 ; return 0; } 1593 1512 EOF 1594 if { (eval echo configure:15 95: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1513 if { (eval echo configure:1514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1595 1514 rm -rf conftest* 1596 1515 eval "ac_cv_lib_$ac_lib_var=yes" … … 1620 1539 1621 1540 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 1622 echo "configure:1 623: checking for atof in -lsingcf" >&51541 echo "configure:1542: checking for atof in -lsingcf" >&5 1623 1542 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 1624 1543 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1628 1547 LIBS="-lsingcf $LIBS" 1629 1548 cat > conftest.$ac_ext <<EOF 1630 #line 1 631"configure"1549 #line 1550 "configure" 1631 1550 #include "confdefs.h" 1632 1551 /* Override any gcc2 internal prototype to avoid an error. */ … … 1639 1558 ; return 0; } 1640 1559 EOF 1641 if { (eval echo configure:1 642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1560 if { (eval echo configure:1561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1642 1561 rm -rf conftest* 1643 1562 eval "ac_cv_lib_$ac_lib_var=yes" … … 1667 1586 1668 1587 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 1669 echo "configure:1 670: checking for atof in -lsingfac" >&51588 echo "configure:1589: checking for atof in -lsingfac" >&5 1670 1589 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 1671 1590 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1675 1594 LIBS="-lsingfac $LIBS" 1676 1595 cat > conftest.$ac_ext <<EOF 1677 #line 1 678"configure"1596 #line 1597 "configure" 1678 1597 #include "confdefs.h" 1679 1598 /* Override any gcc2 internal prototype to avoid an error. */ … … 1686 1605 ; return 0; } 1687 1606 EOF 1688 if { (eval echo configure:16 89: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1607 if { (eval echo configure:1608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1689 1608 rm -rf conftest* 1690 1609 eval "ac_cv_lib_$ac_lib_var=yes" … … 1718 1637 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1719 1638 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1720 echo "configure:1 721: checking for $ac_hdr" >&51639 echo "configure:1640: checking for $ac_hdr" >&5 1721 1640 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1722 1641 echo $ac_n "(cached) $ac_c" 1>&6 1723 1642 else 1724 1643 cat > conftest.$ac_ext <<EOF 1725 #line 1 726"configure"1644 #line 1645 "configure" 1726 1645 #include "confdefs.h" 1727 1646 #include <$ac_hdr> 1728 1647 EOF 1729 1648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1730 { (eval echo configure:1 731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1731 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`1649 { (eval echo configure:1650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1650 ac_err=`grep -v '^ *+' conftest.out` 1732 1651 if test -z "$ac_err"; then 1733 1652 rm -rf conftest* … … 1870 1789 1871 1790 echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6 1872 echo "configure:1 873: checking which tmp dir to use" >&51791 echo "configure:1792: checking which tmp dir to use" >&5 1873 1792 if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then 1874 1793 if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1) … … 1887 1806 if test "${with_perl5+set}" != set; then 1888 1807 echo $ac_n "checking for perl5""... $ac_c" 1>&6 1889 echo "configure:18 90: checking for perl5" >&51808 echo "configure:1809: checking for perl5" >&5 1890 1809 if eval "test \"`echo '$''{'ac_cv_prog_perl5'+set}'`\" = set"; then 1891 1810 echo $ac_n "(cached) $ac_c" 1>&6 … … 1924 1843 set dummy $ac_prog; ac_word=$2 1925 1844 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1926 echo "configure:1 927: checking for $ac_word" >&51845 echo "configure:1846: checking for $ac_word" >&5 1927 1846 if eval "test \"`echo '$''{'ac_cv_prog_PERL5'+set}'`\" = set"; then 1928 1847 echo $ac_n "(cached) $ac_c" 1>&6 … … 1931 1850 ac_cv_prog_PERL5="$PERL5" # Let the user override the test. 1932 1851 else 1933 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1934 ac_dummy="$PATH" 1935 for ac_dir in $ac_dummy; do 1852 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1853 for ac_dir in $PATH; do 1936 1854 test -z "$ac_dir" && ac_dir=. 1937 1855 if test -f $ac_dir/$ac_word; then … … 1960 1878 1961 1879 echo $ac_n "checking whether to configure and build texinfo""... $ac_c" 1>&6 1962 echo "configure:1 963: checking whether to configure and build texinfo" >&51880 echo "configure:1881: checking whether to configure and build texinfo" >&5 1963 1881 if test "$enable_texinfo" != no && test -d Texinfo; then 1964 1882 echo "$ac_t""yes" 1>&6 … … 1982 1900 1983 1901 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 1984 echo "configure:19 85: checking whether to configure and build gmp lib" >&51902 echo "configure:1903: checking whether to configure and build gmp lib" >&5 1985 1903 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 1986 1904 if test "$ac_gmp_ok" != yes && test -d gmp; then … … 2008 1926 2009 1927 echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6 2010 echo "configure: 2011: checking whether to configure and build smallgmp lib" >&51928 echo "configure:1929: checking whether to configure and build smallgmp lib" >&5 2011 1929 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 2012 1930 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ … … 2047 1965 2048 1966 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 2049 echo "configure: 2050: checking whether to configure and build MP lib" >&51967 echo "configure:1968: checking whether to configure and build MP lib" >&5 2050 1968 if test "$enable_MP" != yes && test "$enable_MP" != no; then 2051 1969 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ … … 2076 1994 2077 1995 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 2078 echo "configure: 2079: checking whether to configure and build factory lib" >&51996 echo "configure:1997: checking whether to configure and build factory lib" >&5 2079 1997 if test "$enable_factory" != yes && test "$enable_factory" != no; then 2080 1998 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ … … 2101 2019 2102 2020 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 2103 echo "configure:2 104: checking whether to configure and build libfac lib" >&52021 echo "configure:2022: checking whether to configure and build libfac lib" >&5 2104 2022 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 2105 2023 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ … … 2131 2049 2132 2050 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 2133 echo "configure:2 134: checking whether to configure and build sgroup lib" >&52051 echo "configure:2052: checking whether to configure and build sgroup lib" >&5 2134 2052 if test "$enable_sgroup" != yes && test "$enable_sgroup" != no; then 2135 2053 if test "$with_sgroup" != no && test "$ac_sgroup_ok" != yes && \ … … 2161 2079 2162 2080 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 2163 echo "configure:2 164: checking whether to configure and build Singular" >&52081 echo "configure:2082: checking whether to configure and build Singular" >&5 2164 2082 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 2165 2083 if test "$with_Singular" != no && test -d Singular; then … … 2186 2104 2187 2105 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 2188 echo "configure:21 89: checking which apint package to use" >&52106 echo "configure:2107: checking which apint package to use" >&5 2189 2107 if test "$with_apint" = gmp; then 2190 2108 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 2210 2128 2211 2129 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 2212 echo "configure:2 213: checking whether to use with MP" >&52130 echo "configure:2131: checking whether to use with MP" >&5 2213 2131 if test "$with_MP" = yes; then 2214 2132 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then … … 2229 2147 2230 2148 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 2231 echo "configure:2 232: checking whether to use with factory" >&52149 echo "configure:2150: checking whether to use with factory" >&5 2232 2150 if test "$with_factory" = yes; then 2233 2151 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 2248 2166 2249 2167 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 2250 echo "configure:2 251: checking whether to use with libfac" >&52168 echo "configure:2169: checking whether to use with libfac" >&5 2251 2169 if test "$with_libfac" = yes; then 2252 2170 if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then … … 2267 2185 2268 2186 echo $ac_n "checking whether to use mtrack""... $ac_c" 1>&6 2269 echo "configure:2 270: checking whether to use mtrack" >&52187 echo "configure:2188: checking whether to use mtrack" >&5 2270 2188 if test -d mpr && test "$ac_cv_singuname" = ix86-Linux; then 2271 2189 echo "$ac_t""yes" 1>&6 … … 2276 2194 2277 2195 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 2278 echo "configure:2 279: checking whether to use with Singular" >&52196 echo "configure:2197: checking whether to use with Singular" >&5 2279 2197 if test "$with_Singular" != no && test "$with_Singular" != yes; then 2280 2198 if test "$enable_Singular" = yes; then … … 2335 2253 2336 2254 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2337 echo "configure:2 338: checking whether ${MAKE-make} sets \${MAKE}" >&52255 echo "configure:2256: checking whether ${MAKE-make} sets \${MAKE}" >&5 2338 2256 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2339 2257 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 2390 2308 # and sets the high bit in the cache file unless we assign to the vars. 2391 2309 (set) 2>&1 | 2392 case `(ac_space=' '; set | grep ac_space) 2>&1` in2310 case `(ac_space=' '; set) 2>&1` in 2393 2311 *ac_space=\ *) 2394 2312 # `set' does not quote correctly, so add quotes (double-quote substitution … … 2469 2387 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 2470 2388 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 2471 echo "$CONFIG_STATUS generated by autoconf version 2.1 3"2389 echo "$CONFIG_STATUS generated by autoconf version 2.12" 2472 2390 exit 0 ;; 2473 2391 -help | --help | --hel | --he | --h) … … 2489 2407 $ac_vpsub 2490 2408 $extrasub 2491 s%@SHELL@%$SHELL%g2492 2409 s%@CFLAGS@%$CFLAGS%g 2493 2410 s%@CPPFLAGS@%$CPPFLAGS%g 2494 2411 s%@CXXFLAGS@%$CXXFLAGS%g 2495 s%@FFLAGS@%$FFLAGS%g2496 2412 s%@DEFS@%$DEFS%g 2497 2413 s%@LDFLAGS@%$LDFLAGS%g … … 2519 2435 s%@CPP@%$CPP%g 2520 2436 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 2521 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g2522 2437 s%@INSTALL_DATA@%$INSTALL_DATA%g 2523 2438 s%@PERL@%$PERL%g -
configure.in
r8016eb r43bcc5 46 46 SINGULAR_MAJOR_VERSION=1 47 47 SINGULAR_MINOR_VERSION=3 48 SINGULAR_SUB_VERSION= 648 SINGULAR_SUB_VERSION=7 49 49 SINGULAR_SHORT_VERSION="${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}" 50 50 SINGULAR_VERSION="${SINGULAR_SHORT_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" 51 VERSION_DATE=" October 1999"51 VERSION_DATE="December 1999" 52 52 53 53 export SINGULAR_MINOR_VERSION
Note: See TracChangeset
for help on using the changeset viewer.