Changeset 55c796 in git
- Timestamp:
- Jun 16, 1998, 3:18:24 PM (26 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 9fc0dabe37f7bf2e447547676e8ee5c0406cafe0
- Parents:
- 1bed80cf250f5bc88e2d710355fe3822f16b6631
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r1bed80 r55c796 551 551 552 552 553 SINGULAR_MAJOR_VERSION=${SINGULAR_MAJOR_VERSION:-1}554 SINGULAR_MINOR_VERSION=${SINGULAR_MINOR_VERSION:-2}555 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:-0}556 SINGULAR_VERSION="${SINGULAR_VERSION:-$SINGULAR_MAJOR_VERSION.$SINGULAR_MINOR_VERSION.$SINGULAR_SUB_VERSION}"557 VERSION_DATE=${VERSION_DATE:-"June 1998"}558 559 560 cat >> confdefs.h <<EOF561 #define SINGULAR_MAJOR_VERSION ${SINGULAR_MAJOR_VERSION}562 EOF563 564 cat >> confdefs.h <<EOF565 #define SINGULAR_MINOR_VERSION ${SINGULAR_MINOR_VERSION}566 EOF567 568 cat >> confdefs.h <<EOF569 #define SINGULAR_SUB_VERSION ${SINGULAR_SUB_VERSION}570 EOF571 572 cat >> confdefs.h <<EOF573 #define S_VERSION1 "${SINGULAR_MAJOR_VERSION}.${SINGULAR_MINOR_VERSION}.${SINGULAR_SUB_VERSION}"574 EOF575 576 cat >> confdefs.h <<EOF577 #define S_VERSION2 "${VERSION_DATE}"578 EOF579 580 cat >> confdefs.h <<EOF581 #define SINGULAR_SUB_VERSION ${SINGULAR_SUB_VERSION}582 EOF583 584 585 553 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 586 echo "configure:5 87: checking uname for singular" >&5554 echo "configure:555: checking uname for singular" >&5 587 555 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 588 556 echo $ac_n "(cached) $ac_c" 1>&6 … … 611 579 612 580 581 # stupid Win programs do not like dots in their pathnames 582 if test "$ac_cv_singuname" = ix86-Win; then 583 VERSION_SEP="-" 584 else 585 VERSION_SEP="." 586 fi 587 588 589 SINGULAR_MAJOR_VERSION=${SINGULAR_MAJOR_VERSION:-1} 590 SINGULAR_MINOR_VERSION=${SINGULAR_MINOR_VERSION:-2} 591 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:-0} 592 SINGULAR_VERSION="${SINGULAR_VERSION:-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}" 593 VERSION_DATE=${VERSION_DATE:-"June 1998"} 594 595 596 cat >> confdefs.h <<EOF 597 #define SINGULAR_MAJOR_VERSION ${SINGULAR_MAJOR_VERSION} 598 EOF 599 600 cat >> confdefs.h <<EOF 601 #define SINGULAR_MINOR_VERSION ${SINGULAR_MINOR_VERSION} 602 EOF 603 604 cat >> confdefs.h <<EOF 605 #define SINGULAR_SUB_VERSION ${SINGULAR_SUB_VERSION} 606 EOF 607 608 cat >> confdefs.h <<EOF 609 #define S_VERSION1 "${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" 610 EOF 611 612 cat >> confdefs.h <<EOF 613 #define S_VERSION2 "${VERSION_DATE}" 614 EOF 615 616 cat >> confdefs.h <<EOF 617 #define SINGULAR_SUB_VERSION ${SINGULAR_SUB_VERSION} 618 EOF 619 620 621 613 622 if test "${CXXFLAGS+set}" != set; then 614 623 ac_cxxflags_set=no … … 629 638 set dummy gcc; ac_word=$2 630 639 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 631 echo "configure:6 32: checking for $ac_word" >&5640 echo "configure:641: checking for $ac_word" >&5 632 641 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 633 642 echo $ac_n "(cached) $ac_c" 1>&6 … … 658 667 set dummy cc; ac_word=$2 659 668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 660 echo "configure:6 61: checking for $ac_word" >&5669 echo "configure:670: checking for $ac_word" >&5 661 670 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 662 671 echo $ac_n "(cached) $ac_c" 1>&6 … … 706 715 707 716 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 708 echo "configure:7 09: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5717 echo "configure:718: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 709 718 710 719 ac_ext=c … … 716 725 717 726 cat > conftest.$ac_ext <<EOF 718 #line 7 19"configure"727 #line 728 "configure" 719 728 #include "confdefs.h" 720 729 main(){return(0);} 721 730 EOF 722 if { (eval echo configure:7 23: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then731 if { (eval echo configure:732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 723 732 ac_cv_prog_cc_works=yes 724 733 # If we can't run a trivial program, we are probably using a cross compiler. … … 740 749 fi 741 750 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 742 echo "configure:7 43: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5751 echo "configure:752: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 743 752 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 744 753 cross_compiling=$ac_cv_prog_cc_cross 745 754 746 755 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 747 echo "configure:7 48: checking whether we are using GNU C" >&5756 echo "configure:757: checking whether we are using GNU C" >&5 748 757 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 749 758 echo $ac_n "(cached) $ac_c" 1>&6 … … 754 763 #endif 755 764 EOF 756 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:7 57: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then765 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 757 766 ac_cv_prog_gcc=yes 758 767 else … … 769 778 CFLAGS= 770 779 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 771 echo "configure:7 72: checking whether ${CC-cc} accepts -g" >&5780 echo "configure:781: checking whether ${CC-cc} accepts -g" >&5 772 781 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 773 782 echo $ac_n "(cached) $ac_c" 1>&6 … … 797 806 798 807 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 799 echo "configure:80 0: checking how to run the C preprocessor" >&5808 echo "configure:809: checking how to run the C preprocessor" >&5 800 809 # On Suns, sometimes $CPP names a directory. 801 810 if test -n "$CPP" && test -d "$CPP"; then … … 812 821 # not just through cpp. 813 822 cat > conftest.$ac_ext <<EOF 814 #line 8 15"configure"823 #line 824 "configure" 815 824 #include "confdefs.h" 816 825 #include <assert.h> … … 818 827 EOF 819 828 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 820 { (eval echo configure:8 21: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }829 { (eval echo configure:830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 821 830 ac_err=`grep -v '^ *+' conftest.out` 822 831 if test -z "$ac_err"; then … … 829 838 CPP="${CC-cc} -E -traditional-cpp" 830 839 cat > conftest.$ac_ext <<EOF 831 #line 8 32"configure"840 #line 841 "configure" 832 841 #include "confdefs.h" 833 842 #include <assert.h> … … 835 844 EOF 836 845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 837 { (eval echo configure:8 38: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }846 { (eval echo configure:847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 838 847 ac_err=`grep -v '^ *+' conftest.out` 839 848 if test -z "$ac_err"; then … … 862 871 set dummy $ac_prog; ac_word=$2 863 872 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 864 echo "configure:8 65: checking for $ac_word" >&5873 echo "configure:874: checking for $ac_word" >&5 865 874 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 866 875 echo $ac_n "(cached) $ac_c" 1>&6 … … 893 902 894 903 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 895 echo "configure: 896: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5904 echo "configure:905: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 896 905 897 906 ac_ext=C … … 903 912 904 913 cat > conftest.$ac_ext <<EOF 905 #line 9 06"configure"914 #line 915 "configure" 906 915 #include "confdefs.h" 907 916 main(){return(0);} 908 917 EOF 909 if { (eval echo configure:91 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then918 if { (eval echo configure:919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 910 919 ac_cv_prog_cxx_works=yes 911 920 # If we can't run a trivial program, we are probably using a cross compiler. … … 933 942 fi 934 943 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 935 echo "configure:9 36: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5944 echo "configure:945: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 936 945 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 937 946 cross_compiling=$ac_cv_prog_cxx_cross 938 947 939 948 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 940 echo "configure:9 41: checking whether we are using GNU C++" >&5949 echo "configure:950: checking whether we are using GNU C++" >&5 941 950 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 942 951 echo $ac_n "(cached) $ac_c" 1>&6 … … 947 956 #endif 948 957 EOF 949 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:95 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then958 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 950 959 ac_cv_prog_gxx=yes 951 960 else … … 962 971 CXXFLAGS= 963 972 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 964 echo "configure:9 65: checking whether ${CXX-g++} accepts -g" >&5973 echo "configure:974: checking whether ${CXX-g++} accepts -g" >&5 965 974 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 966 975 echo $ac_n "(cached) $ac_c" 1>&6 … … 990 999 991 1000 echo $ac_n "checking for AIX""... $ac_c" 1>&6 992 echo "configure: 993: checking for AIX" >&51001 echo "configure:1002: checking for AIX" >&5 993 1002 cat > conftest.$ac_ext <<EOF 994 #line 995"configure"1003 #line 1004 "configure" 995 1004 #include "confdefs.h" 996 1005 #ifdef _AIX … … 1022 1031 # check whether the compiler accepts -pipe 1023 1032 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1024 echo "configure:10 25: checking whether compiler accepts -pipe" >&51033 echo "configure:1034: checking whether compiler accepts -pipe" >&5 1025 1034 temp_cflags=${CFLAGS} 1026 1035 CFLAGS="${CFLAGS} -pipe" … … 1029 1038 else 1030 1039 cat > conftest.$ac_ext <<EOF 1031 #line 10 32"configure"1040 #line 1041 "configure" 1032 1041 #include "confdefs.h" 1033 1042 … … 1036 1045 ; return 0; } 1037 1046 EOF 1038 if { (eval echo configure:10 39: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1047 if { (eval echo configure:1048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1039 1048 rm -rf conftest* 1040 1049 ac_cv_cxx_have_pipe=yes … … 1060 1069 # Customize CFLAGS 1061 1070 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1062 echo "configure:10 63: checking whether _AIX is defined" >&51071 echo "configure:1072: checking whether _AIX is defined" >&5 1063 1072 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1064 1073 echo $ac_n "(cached) $ac_c" 1>&6 1065 1074 else 1066 1075 cat > conftest.$ac_ext <<EOF 1067 #line 10 68"configure"1076 #line 1077 "configure" 1068 1077 #include "confdefs.h" 1069 1078 #ifdef _AIX … … 1116 1125 1117 1126 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1118 echo "configure:11 19: checking whether ${MAKE-make} sets \${MAKE}" >&51127 echo "configure:1128: checking whether ${MAKE-make} sets \${MAKE}" >&5 1119 1128 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1120 1129 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1167 1176 # expand bindir 1168 1177 test "x$bindir" = 'x${exec_prefix}/bin' && bindir="${exec_prefix}/bin" 1169 SINGULAR=${SINGULAR:-$bindir/Singular-$SINGULAR_MAJOR_VERSION .$SINGULAR_MINOR_VERSION.$SINGULAR_SUB_VERSION}1178 SINGULAR=${SINGULAR:-$bindir/Singular-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION} 1170 1179 1171 1180 cat >> confdefs.h <<EOF … … 1189 1198 if test "${with_lex+set}" != set; then 1190 1199 echo $ac_n "checking for flex""... $ac_c" 1>&6 1191 echo "configure:1 192: checking for flex" >&51200 echo "configure:1201: checking for flex" >&5 1192 1201 if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then 1193 1202 echo $ac_n "(cached) $ac_c" 1>&6 … … 1220 1229 set dummy $ac_prog; ac_word=$2 1221 1230 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1222 echo "configure:12 23: checking for $ac_word" >&51231 echo "configure:1232: checking for $ac_word" >&5 1223 1232 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 1224 1233 echo $ac_n "(cached) $ac_c" 1>&6 … … 1256 1265 if test "${with_perl5+set}" != set; then 1257 1266 echo $ac_n "checking for perl5""... $ac_c" 1>&6 1258 echo "configure:12 59: checking for perl5" >&51267 echo "configure:1268: checking for perl5" >&5 1259 1268 if eval "test \"`echo '$''{'ac_cv_prog_perl5'+set}'`\" = set"; then 1260 1269 echo $ac_n "(cached) $ac_c" 1>&6 … … 1293 1302 set dummy $ac_prog; ac_word=$2 1294 1303 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1295 echo "configure:1 296: checking for $ac_word" >&51304 echo "configure:1305: checking for $ac_word" >&5 1296 1305 if eval "test \"`echo '$''{'ac_cv_prog_PERL5'+set}'`\" = set"; then 1297 1306 echo $ac_n "(cached) $ac_c" 1>&6 … … 1332 1341 set dummy $ac_prog; ac_word=$2 1333 1342 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1334 echo "configure:13 35: checking for $ac_word" >&51343 echo "configure:1344: checking for $ac_word" >&5 1335 1344 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1336 1345 echo $ac_n "(cached) $ac_c" 1>&6 … … 1370 1379 set dummy $ac_prog; ac_word=$2 1371 1380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1372 echo "configure:13 73: checking for $ac_word" >&51381 echo "configure:1382: checking for $ac_word" >&5 1373 1382 if eval "test \"`echo '$''{'ac_cv_prog_INFO'+set}'`\" = set"; then 1374 1383 echo $ac_n "(cached) $ac_c" 1>&6 … … 1414 1423 set dummy $ac_prog; ac_word=$2 1415 1424 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1416 echo "configure:14 17: checking for $ac_word" >&51425 echo "configure:1426: checking for $ac_word" >&5 1417 1426 if eval "test \"`echo '$''{'ac_cv_prog_INFO'+set}'`\" = set"; then 1418 1427 echo $ac_n "(cached) $ac_c" 1>&6 … … 1454 1463 # ln -s 1455 1464 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1456 echo "configure:14 57: checking whether ln -s works" >&51465 echo "configure:1466: checking whether ln -s works" >&5 1457 1466 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1458 1467 echo $ac_n "(cached) $ac_c" 1>&6 … … 1477 1486 # lib checks 1478 1487 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1479 echo "configure:148 0: checking for atof in -lm" >&51488 echo "configure:1489: checking for atof in -lm" >&5 1480 1489 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1481 1490 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1485 1494 LIBS="-lm $LIBS" 1486 1495 cat > conftest.$ac_ext <<EOF 1487 #line 14 88"configure"1496 #line 1497 "configure" 1488 1497 #include "confdefs.h" 1489 1498 /* Override any gcc2 internal prototype to avoid an error. */ … … 1496 1505 ; return 0; } 1497 1506 EOF 1498 if { (eval echo configure:1 499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1507 if { (eval echo configure:1508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1499 1508 rm -rf conftest* 1500 1509 eval "ac_cv_lib_$ac_lib_var=yes" … … 1524 1533 1525 1534 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1526 echo "configure:15 27: checking for socket in -lbsd" >&51535 echo "configure:1536: checking for socket in -lbsd" >&5 1527 1536 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1528 1537 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1532 1541 LIBS="-lbsd $LIBS" 1533 1542 cat > conftest.$ac_ext <<EOF 1534 #line 15 35"configure"1543 #line 1544 "configure" 1535 1544 #include "confdefs.h" 1536 1545 /* Override any gcc2 internal prototype to avoid an error. */ … … 1543 1552 ; return 0; } 1544 1553 EOF 1545 if { (eval echo configure:15 46: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1554 if { (eval echo configure:1555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1546 1555 rm -rf conftest* 1547 1556 eval "ac_cv_lib_$ac_lib_var=yes" … … 1571 1580 1572 1581 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1573 echo "configure:15 74: checking for listen in -lsocket" >&51582 echo "configure:1583: checking for listen in -lsocket" >&5 1574 1583 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1575 1584 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1579 1588 LIBS="-lsocket $LIBS" 1580 1589 cat > conftest.$ac_ext <<EOF 1581 #line 15 82"configure"1590 #line 1591 "configure" 1582 1591 #include "confdefs.h" 1583 1592 /* Override any gcc2 internal prototype to avoid an error. */ … … 1590 1599 ; return 0; } 1591 1600 EOF 1592 if { (eval echo configure:1 593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1601 if { (eval echo configure:1602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1593 1602 rm -rf conftest* 1594 1603 eval "ac_cv_lib_$ac_lib_var=yes" … … 1618 1627 1619 1628 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1620 echo "configure:16 21: checking for gethostbyname in -lnsl" >&51629 echo "configure:1630: checking for gethostbyname in -lnsl" >&5 1621 1630 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1622 1631 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1626 1635 LIBS="-lnsl $LIBS" 1627 1636 cat > conftest.$ac_ext <<EOF 1628 #line 16 29"configure"1637 #line 1638 "configure" 1629 1638 #include "confdefs.h" 1630 1639 /* Override any gcc2 internal prototype to avoid an error. */ … … 1637 1646 ; return 0; } 1638 1647 EOF 1639 if { (eval echo configure:164 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1648 if { (eval echo configure:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1640 1649 rm -rf conftest* 1641 1650 eval "ac_cv_lib_$ac_lib_var=yes" … … 1665 1674 1666 1675 echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6 1667 echo "configure:16 68: checking for index in -lucb" >&51676 echo "configure:1677: checking for index in -lucb" >&5 1668 1677 ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'` 1669 1678 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1673 1682 LIBS="-lucb $LIBS" 1674 1683 cat > conftest.$ac_ext <<EOF 1675 #line 16 76"configure"1684 #line 1685 "configure" 1676 1685 #include "confdefs.h" 1677 1686 /* Override any gcc2 internal prototype to avoid an error. */ … … 1684 1693 ; return 0; } 1685 1694 EOF 1686 if { (eval echo configure:16 87: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1695 if { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1687 1696 rm -rf conftest* 1688 1697 eval "ac_cv_lib_$ac_lib_var=yes" … … 1714 1723 # heder file checks 1715 1724 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1716 echo "configure:17 17: checking for ANSI C header files" >&51725 echo "configure:1726: checking for ANSI C header files" >&5 1717 1726 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1718 1727 echo $ac_n "(cached) $ac_c" 1>&6 1719 1728 else 1720 1729 cat > conftest.$ac_ext <<EOF 1721 #line 17 22"configure"1730 #line 1731 "configure" 1722 1731 #include "confdefs.h" 1723 1732 #include <stdlib.h> … … 1727 1736 EOF 1728 1737 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1729 { (eval echo configure:173 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1738 { (eval echo configure:1739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1730 1739 ac_err=`grep -v '^ *+' conftest.out` 1731 1740 if test -z "$ac_err"; then … … 1744 1753 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1745 1754 cat > conftest.$ac_ext <<EOF 1746 #line 17 47"configure"1755 #line 1756 "configure" 1747 1756 #include "confdefs.h" 1748 1757 #include <string.h> … … 1762 1771 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1763 1772 cat > conftest.$ac_ext <<EOF 1764 #line 17 65"configure"1773 #line 1774 "configure" 1765 1774 #include "confdefs.h" 1766 1775 #include <stdlib.h> … … 1783 1792 else 1784 1793 cat > conftest.$ac_ext <<EOF 1785 #line 17 86"configure"1794 #line 1795 "configure" 1786 1795 #include "confdefs.h" 1787 1796 #include <ctype.h> … … 1794 1803 1795 1804 EOF 1796 if { (eval echo configure:1 797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null1805 if { (eval echo configure:1806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 1797 1806 then 1798 1807 : … … 1821 1830 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1822 1831 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1823 echo "configure:18 24: checking for $ac_hdr" >&51832 echo "configure:1833: checking for $ac_hdr" >&5 1824 1833 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1825 1834 echo $ac_n "(cached) $ac_c" 1>&6 1826 1835 else 1827 1836 cat > conftest.$ac_ext <<EOF 1828 #line 18 29"configure"1837 #line 1838 "configure" 1829 1838 #include "confdefs.h" 1830 1839 #include <$ac_hdr> 1831 1840 EOF 1832 1841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1833 { (eval echo configure:18 34: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1842 { (eval echo configure:1843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1834 1843 ac_err=`grep -v '^ *+' conftest.out` 1835 1844 if test -z "$ac_err"; then … … 1863 1872 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1864 1873 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1865 echo "configure:18 66: checking for $ac_hdr" >&51874 echo "configure:1875: checking for $ac_hdr" >&5 1866 1875 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1867 1876 echo $ac_n "(cached) $ac_c" 1>&6 1868 1877 else 1869 1878 cat > conftest.$ac_ext <<EOF 1870 #line 18 71"configure"1879 #line 1880 "configure" 1871 1880 #include "confdefs.h" 1872 1881 #include <$ac_hdr> 1873 1882 EOF 1874 1883 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1875 { (eval echo configure:18 76: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1884 { (eval echo configure:1885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1876 1885 ac_err=`grep -v '^ *+' conftest.out` 1877 1886 if test -z "$ac_err"; then … … 1902 1911 # typedefs, structures 1903 1912 echo $ac_n "checking for working const""... $ac_c" 1>&6 1904 echo "configure:19 05: checking for working const" >&51913 echo "configure:1914: checking for working const" >&5 1905 1914 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1906 1915 echo $ac_n "(cached) $ac_c" 1>&6 1907 1916 else 1908 1917 cat > conftest.$ac_ext <<EOF 1909 #line 191 0"configure"1918 #line 1919 "configure" 1910 1919 #include "confdefs.h" 1911 1920 … … 1956 1965 ; return 0; } 1957 1966 EOF 1958 if { (eval echo configure:19 59: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1967 if { (eval echo configure:1968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1959 1968 rm -rf conftest* 1960 1969 ac_cv_c_const=yes … … 1977 1986 1978 1987 echo $ac_n "checking for inline""... $ac_c" 1>&6 1979 echo "configure:198 0: checking for inline" >&51988 echo "configure:1989: checking for inline" >&5 1980 1989 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1981 1990 echo $ac_n "(cached) $ac_c" 1>&6 … … 1984 1993 for ac_kw in inline __inline__ __inline; do 1985 1994 cat > conftest.$ac_ext <<EOF 1986 #line 19 87"configure"1995 #line 1996 "configure" 1987 1996 #include "confdefs.h" 1988 1997 … … 1991 2000 ; return 0; } 1992 2001 EOF 1993 if { (eval echo configure: 1994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2002 if { (eval echo configure:2003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1994 2003 rm -rf conftest* 1995 2004 ac_cv_c_inline=$ac_kw; break … … 2017 2026 2018 2027 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2019 echo "configure:202 0: checking for size_t" >&52028 echo "configure:2029: checking for size_t" >&5 2020 2029 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2021 2030 echo $ac_n "(cached) $ac_c" 1>&6 2022 2031 else 2023 2032 cat > conftest.$ac_ext <<EOF 2024 #line 20 25"configure"2033 #line 2034 "configure" 2025 2034 #include "confdefs.h" 2026 2035 #include <sys/types.h> … … 2050 2059 2051 2060 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2052 echo "configure:20 53: checking whether time.h and sys/time.h may both be included" >&52061 echo "configure:2062: checking whether time.h and sys/time.h may both be included" >&5 2053 2062 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2054 2063 echo $ac_n "(cached) $ac_c" 1>&6 2055 2064 else 2056 2065 cat > conftest.$ac_ext <<EOF 2057 #line 20 58"configure"2066 #line 2067 "configure" 2058 2067 #include "confdefs.h" 2059 2068 #include <sys/types.h> … … 2064 2073 ; return 0; } 2065 2074 EOF 2066 if { (eval echo configure:20 67: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2075 if { (eval echo configure:2076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2067 2076 rm -rf conftest* 2068 2077 ac_cv_header_time=yes … … 2085 2094 2086 2095 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2087 echo "configure:20 88: checking whether struct tm is in sys/time.h or time.h" >&52096 echo "configure:2097: checking whether struct tm is in sys/time.h or time.h" >&5 2088 2097 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2089 2098 echo $ac_n "(cached) $ac_c" 1>&6 2090 2099 else 2091 2100 cat > conftest.$ac_ext <<EOF 2092 #line 2 093"configure"2101 #line 2102 "configure" 2093 2102 #include "confdefs.h" 2094 2103 #include <sys/types.h> … … 2098 2107 ; return 0; } 2099 2108 EOF 2100 if { (eval echo configure:21 01: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2109 if { (eval echo configure:2110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2101 2110 rm -rf conftest* 2102 2111 ac_cv_struct_tm=time.h … … 2123 2132 # for constant arguments. Useless! 2124 2133 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2125 echo "configure:21 26: checking for working alloca.h" >&52134 echo "configure:2135: checking for working alloca.h" >&5 2126 2135 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2127 2136 echo $ac_n "(cached) $ac_c" 1>&6 2128 2137 else 2129 2138 cat > conftest.$ac_ext <<EOF 2130 #line 21 31"configure"2139 #line 2140 "configure" 2131 2140 #include "confdefs.h" 2132 2141 #include <alloca.h> … … 2135 2144 ; return 0; } 2136 2145 EOF 2137 if { (eval echo configure:21 38: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2146 if { (eval echo configure:2147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2138 2147 rm -rf conftest* 2139 2148 ac_cv_header_alloca_h=yes … … 2156 2165 2157 2166 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2158 echo "configure:21 59: checking for alloca" >&52167 echo "configure:2168: checking for alloca" >&5 2159 2168 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2160 2169 echo $ac_n "(cached) $ac_c" 1>&6 2161 2170 else 2162 2171 cat > conftest.$ac_ext <<EOF 2163 #line 21 64"configure"2172 #line 2173 "configure" 2164 2173 #include "confdefs.h" 2165 2174 … … 2184 2193 ; return 0; } 2185 2194 EOF 2186 if { (eval echo configure:21 87: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2195 if { (eval echo configure:2196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2187 2196 rm -rf conftest* 2188 2197 ac_cv_func_alloca_works=yes … … 2216 2225 2217 2226 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2218 echo "configure:22 19: checking whether alloca needs Cray hooks" >&52227 echo "configure:2228: checking whether alloca needs Cray hooks" >&5 2219 2228 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2220 2229 echo $ac_n "(cached) $ac_c" 1>&6 2221 2230 else 2222 2231 cat > conftest.$ac_ext <<EOF 2223 #line 22 24"configure"2232 #line 2233 "configure" 2224 2233 #include "confdefs.h" 2225 2234 #if defined(CRAY) && ! defined(CRAY2) … … 2246 2255 for ac_func in _getb67 GETB67 getb67; do 2247 2256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2248 echo "configure:22 49: checking for $ac_func" >&52257 echo "configure:2258: checking for $ac_func" >&5 2249 2258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2250 2259 echo $ac_n "(cached) $ac_c" 1>&6 2251 2260 else 2252 2261 cat > conftest.$ac_ext <<EOF 2253 #line 22 54"configure"2262 #line 2263 "configure" 2254 2263 #include "confdefs.h" 2255 2264 /* System header to define __stub macros and hopefully few prototypes, … … 2274 2283 ; return 0; } 2275 2284 EOF 2276 if { (eval echo configure:22 77: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2285 if { (eval echo configure:2286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2277 2286 rm -rf conftest* 2278 2287 eval "ac_cv_func_$ac_func=yes" … … 2301 2310 2302 2311 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2303 echo "configure:23 04: checking stack direction for C alloca" >&52312 echo "configure:2313: checking stack direction for C alloca" >&5 2304 2313 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2305 2314 echo $ac_n "(cached) $ac_c" 1>&6 … … 2309 2318 else 2310 2319 cat > conftest.$ac_ext <<EOF 2311 #line 23 12"configure"2320 #line 2321 "configure" 2312 2321 #include "confdefs.h" 2313 2322 find_stack_direction () … … 2328 2337 } 2329 2338 EOF 2330 if { (eval echo configure:23 31: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2339 if { (eval echo configure:2340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2331 2340 then 2332 2341 ac_cv_c_stack_direction=1 … … 2351 2360 if test $ac_cv_prog_gcc = yes; then 2352 2361 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2353 echo "configure:23 54: checking whether ${CC-cc} needs -traditional" >&52362 echo "configure:2363: checking whether ${CC-cc} needs -traditional" >&5 2354 2363 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2355 2364 echo $ac_n "(cached) $ac_c" 1>&6 … … 2357 2366 ac_pattern="Autoconf.*'x'" 2358 2367 cat > conftest.$ac_ext <<EOF 2359 #line 236 0"configure"2368 #line 2369 "configure" 2360 2369 #include "confdefs.h" 2361 2370 #include <sgtty.h> … … 2375 2384 if test $ac_cv_prog_gcc_traditional = no; then 2376 2385 cat > conftest.$ac_ext <<EOF 2377 #line 23 78"configure"2386 #line 2387 "configure" 2378 2387 #include "confdefs.h" 2379 2388 #include <termio.h> … … 2400 2409 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2401 2410 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2402 echo "configure:24 03: checking for $ac_hdr" >&52411 echo "configure:2412: checking for $ac_hdr" >&5 2403 2412 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2404 2413 echo $ac_n "(cached) $ac_c" 1>&6 2405 2414 else 2406 2415 cat > conftest.$ac_ext <<EOF 2407 #line 24 08"configure"2416 #line 2417 "configure" 2408 2417 #include "confdefs.h" 2409 2418 #include <$ac_hdr> 2410 2419 EOF 2411 2420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2412 { (eval echo configure:24 13: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2421 { (eval echo configure:2422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2413 2422 ac_err=`grep -v '^ *+' conftest.out` 2414 2423 if test -z "$ac_err"; then … … 2439 2448 do 2440 2449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2441 echo "configure:24 42: checking for $ac_func" >&52450 echo "configure:2451: checking for $ac_func" >&5 2442 2451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2443 2452 echo $ac_n "(cached) $ac_c" 1>&6 2444 2453 else 2445 2454 cat > conftest.$ac_ext <<EOF 2446 #line 24 47"configure"2455 #line 2456 "configure" 2447 2456 #include "confdefs.h" 2448 2457 /* System header to define __stub macros and hopefully few prototypes, … … 2467 2476 ; return 0; } 2468 2477 EOF 2469 if { (eval echo configure:247 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2478 if { (eval echo configure:2479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2470 2479 rm -rf conftest* 2471 2480 eval "ac_cv_func_$ac_func=yes" … … 2492 2501 2493 2502 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2494 echo "configure:2 495: checking for working mmap" >&52503 echo "configure:2504: checking for working mmap" >&5 2495 2504 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2496 2505 echo $ac_n "(cached) $ac_c" 1>&6 … … 2500 2509 else 2501 2510 cat > conftest.$ac_ext <<EOF 2502 #line 25 03"configure"2511 #line 2512 "configure" 2503 2512 #include "confdefs.h" 2504 2513 … … 2640 2649 2641 2650 EOF 2642 if { (eval echo configure:26 43: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2651 if { (eval echo configure:2652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2643 2652 then 2644 2653 ac_cv_func_mmap_fixed_mapped=yes … … 2663 2672 2664 2673 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2665 echo "configure:26 66: checking return type of signal handlers" >&52674 echo "configure:2675: checking return type of signal handlers" >&5 2666 2675 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2667 2676 echo $ac_n "(cached) $ac_c" 1>&6 2668 2677 else 2669 2678 cat > conftest.$ac_ext <<EOF 2670 #line 26 71"configure"2679 #line 2680 "configure" 2671 2680 #include "confdefs.h" 2672 2681 #include <sys/types.h> … … 2685 2694 ; return 0; } 2686 2695 EOF 2687 if { (eval echo configure:26 88: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2696 if { (eval echo configure:2697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2688 2697 rm -rf conftest* 2689 2698 ac_cv_type_signal=void … … 2704 2713 2705 2714 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2706 echo "configure:27 07: checking for vprintf" >&52715 echo "configure:2716: checking for vprintf" >&5 2707 2716 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2708 2717 echo $ac_n "(cached) $ac_c" 1>&6 2709 2718 else 2710 2719 cat > conftest.$ac_ext <<EOF 2711 #line 27 12"configure"2720 #line 2721 "configure" 2712 2721 #include "confdefs.h" 2713 2722 /* System header to define __stub macros and hopefully few prototypes, … … 2732 2741 ; return 0; } 2733 2742 EOF 2734 if { (eval echo configure:27 35: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2743 if { (eval echo configure:2744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2735 2744 rm -rf conftest* 2736 2745 eval "ac_cv_func_vprintf=yes" … … 2756 2765 if test "$ac_cv_func_vprintf" != yes; then 2757 2766 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2758 echo "configure:27 59: checking for _doprnt" >&52767 echo "configure:2768: checking for _doprnt" >&5 2759 2768 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2760 2769 echo $ac_n "(cached) $ac_c" 1>&6 2761 2770 else 2762 2771 cat > conftest.$ac_ext <<EOF 2763 #line 27 64"configure"2772 #line 2773 "configure" 2764 2773 #include "confdefs.h" 2765 2774 /* System header to define __stub macros and hopefully few prototypes, … … 2784 2793 ; return 0; } 2785 2794 EOF 2786 if { (eval echo configure:27 87: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2795 if { (eval echo configure:2796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2787 2796 rm -rf conftest* 2788 2797 eval "ac_cv_func__doprnt=yes" … … 2811 2820 do 2812 2821 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2813 echo "configure:28 14: checking for $ac_func" >&52822 echo "configure:2823: checking for $ac_func" >&5 2814 2823 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2815 2824 echo $ac_n "(cached) $ac_c" 1>&6 2816 2825 else 2817 2826 cat > conftest.$ac_ext <<EOF 2818 #line 28 19"configure"2827 #line 2828 "configure" 2819 2828 #include "confdefs.h" 2820 2829 /* System header to define __stub macros and hopefully few prototypes, … … 2839 2848 ; return 0; } 2840 2849 EOF 2841 if { (eval echo configure:28 42: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2850 if { (eval echo configure:2851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2842 2851 rm -rf conftest* 2843 2852 eval "ac_cv_func_$ac_func=yes" … … 2867 2876 # arithmetic shifts 2868 2877 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 2869 echo "configure:287 0: checking whether your machine has correct arithmetic shifts" >&52878 echo "configure:2879: checking whether your machine has correct arithmetic shifts" >&5 2870 2879 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 2871 2880 echo $ac_n "(cached) $ac_c" 1>&6 … … 2880 2889 else 2881 2890 cat > conftest.$ac_ext <<EOF 2882 #line 28 83"configure"2891 #line 2892 "configure" 2883 2892 #include "confdefs.h" 2884 2893 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2885 2894 EOF 2886 if { (eval echo configure:28 87: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2895 if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2887 2896 then 2888 2897 ac_cv_shift=yes … … 2909 2918 # check for a peculiar constructor initialization 2910 2919 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 2911 echo "configure:29 12: checking whether explicit C++ constructor calls are allowed" >&52920 echo "configure:2921: checking whether explicit C++ constructor calls are allowed" >&5 2912 2921 2913 2922 ac_ext=C … … 2922 2931 else 2923 2932 cat > conftest.$ac_ext <<EOF 2924 #line 29 25"configure"2933 #line 2934 "configure" 2925 2934 #include "confdefs.h" 2926 2935 … … 2940 2949 ; return 0; } 2941 2950 EOF 2942 if { (eval echo configure:29 43: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2951 if { (eval echo configure:2952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2943 2952 rm -rf conftest* 2944 2953 ac_cv_explicit_const=yes … … 2969 2978 # sprintf returns number of printed chars 2970 2979 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 2971 echo "configure:29 72: checking whether vsprintf returns number of printed chars" >&52980 echo "configure:2981: checking whether vsprintf returns number of printed chars" >&5 2972 2981 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 2973 2982 echo $ac_n "(cached) $ac_c" 1>&6 … … 2977 2986 else 2978 2987 cat > conftest.$ac_ext <<EOF 2979 #line 298 0"configure"2988 #line 2989 "configure" 2980 2989 #include "confdefs.h" 2981 2990 #include <stdio.h> 2982 2991 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 2983 2992 EOF 2984 if { (eval echo configure:29 85: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2993 if { (eval echo configure:2994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2985 2994 then 2986 2995 ac_cv_returns_n_of_chars=yes … … 3008 3017 # determine ALIGN_8 3009 3018 echo $ac_n "checking size of char""... $ac_c" 1>&6 3010 echo "configure:30 11: checking size of char" >&53019 echo "configure:3020: checking size of char" >&5 3011 3020 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 3012 3021 echo $ac_n "(cached) $ac_c" 1>&6 … … 3016 3025 else 3017 3026 cat > conftest.$ac_ext <<EOF 3018 #line 30 19"configure"3027 #line 3028 "configure" 3019 3028 #include "confdefs.h" 3020 3029 #include <stdio.h> … … 3027 3036 } 3028 3037 EOF 3029 if { (eval echo configure:303 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3038 if { (eval echo configure:3039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3030 3039 then 3031 3040 ac_cv_sizeof_char=`cat conftestval` … … 3047 3056 3048 3057 echo $ac_n "checking size of short""... $ac_c" 1>&6 3049 echo "configure:305 0: checking size of short" >&53058 echo "configure:3059: checking size of short" >&5 3050 3059 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 3051 3060 echo $ac_n "(cached) $ac_c" 1>&6 … … 3055 3064 else 3056 3065 cat > conftest.$ac_ext <<EOF 3057 #line 30 58"configure"3066 #line 3067 "configure" 3058 3067 #include "confdefs.h" 3059 3068 #include <stdio.h> … … 3066 3075 } 3067 3076 EOF 3068 if { (eval echo configure:30 69: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3077 if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3069 3078 then 3070 3079 ac_cv_sizeof_short=`cat conftestval` … … 3086 3095 3087 3096 echo $ac_n "checking size of int""... $ac_c" 1>&6 3088 echo "configure:30 89: checking size of int" >&53097 echo "configure:3098: checking size of int" >&5 3089 3098 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3090 3099 echo $ac_n "(cached) $ac_c" 1>&6 … … 3094 3103 else 3095 3104 cat > conftest.$ac_ext <<EOF 3096 #line 3 097"configure"3105 #line 3106 "configure" 3097 3106 #include "confdefs.h" 3098 3107 #include <stdio.h> … … 3105 3114 } 3106 3115 EOF 3107 if { (eval echo configure:31 08: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3116 if { (eval echo configure:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3108 3117 then 3109 3118 ac_cv_sizeof_int=`cat conftestval` … … 3125 3134 3126 3135 echo $ac_n "checking size of long""... $ac_c" 1>&6 3127 echo "configure:31 28: checking size of long" >&53136 echo "configure:3137: checking size of long" >&5 3128 3137 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3129 3138 echo $ac_n "(cached) $ac_c" 1>&6 … … 3133 3142 else 3134 3143 cat > conftest.$ac_ext <<EOF 3135 #line 31 36"configure"3144 #line 3145 "configure" 3136 3145 #include "confdefs.h" 3137 3146 #include <stdio.h> … … 3144 3153 } 3145 3154 EOF 3146 if { (eval echo configure:31 47: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3155 if { (eval echo configure:3156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3147 3156 then 3148 3157 ac_cv_sizeof_long=`cat conftestval` … … 3164 3173 3165 3174 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3166 echo "configure:31 67: checking size of void*" >&53175 echo "configure:3176: checking size of void*" >&5 3167 3176 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3168 3177 echo $ac_n "(cached) $ac_c" 1>&6 … … 3172 3181 else 3173 3182 cat > conftest.$ac_ext <<EOF 3174 #line 31 75"configure"3183 #line 3184 "configure" 3175 3184 #include "confdefs.h" 3176 3185 #include <stdio.h> … … 3183 3192 } 3184 3193 EOF 3185 if { (eval echo configure:31 86: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3194 if { (eval echo configure:3195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3186 3195 then 3187 3196 ac_cv_sizeof_voidp=`cat conftestval` … … 3203 3212 3204 3213 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3205 echo "configure:32 06: checking whether byte ordering is bigendian" >&53214 echo "configure:3215: checking whether byte ordering is bigendian" >&5 3206 3215 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3207 3216 echo $ac_n "(cached) $ac_c" 1>&6 … … 3210 3219 # See if sys/param.h defines the BYTE_ORDER macro. 3211 3220 cat > conftest.$ac_ext <<EOF 3212 #line 32 13"configure"3221 #line 3222 "configure" 3213 3222 #include "confdefs.h" 3214 3223 #include <sys/types.h> … … 3221 3230 ; return 0; } 3222 3231 EOF 3223 if { (eval echo configure:32 24: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3232 if { (eval echo configure:3233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3224 3233 rm -rf conftest* 3225 3234 # It does; now see whether it defined to BIG_ENDIAN or not. 3226 3235 cat > conftest.$ac_ext <<EOF 3227 #line 32 28"configure"3236 #line 3237 "configure" 3228 3237 #include "confdefs.h" 3229 3238 #include <sys/types.h> … … 3236 3245 ; return 0; } 3237 3246 EOF 3238 if { (eval echo configure:32 39: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3247 if { (eval echo configure:3248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3239 3248 rm -rf conftest* 3240 3249 ac_cv_c_bigendian=yes … … 3256 3265 else 3257 3266 cat > conftest.$ac_ext <<EOF 3258 #line 32 59"configure"3267 #line 3268 "configure" 3259 3268 #include "confdefs.h" 3260 3269 main () { … … 3269 3278 } 3270 3279 EOF 3271 if { (eval echo configure:32 72: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3280 if { (eval echo configure:3281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3272 3281 then 3273 3282 ac_cv_c_bigendian=no … … 3380 3389 if test "$with_readline" != no; then 3381 3390 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3382 echo "configure:33 83: checking for tgetent in -lncurses" >&53391 echo "configure:3392: checking for tgetent in -lncurses" >&5 3383 3392 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3384 3393 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3388 3397 LIBS="-lncurses $LIBS" 3389 3398 cat > conftest.$ac_ext <<EOF 3390 #line 3 391"configure"3399 #line 3400 "configure" 3391 3400 #include "confdefs.h" 3392 3401 /* Override any gcc2 internal prototype to avoid an error. */ … … 3399 3408 ; return 0; } 3400 3409 EOF 3401 if { (eval echo configure:34 02: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3410 if { (eval echo configure:3411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3402 3411 rm -rf conftest* 3403 3412 eval "ac_cv_lib_$ac_lib_var=yes" … … 3426 3435 \ 3427 3436 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3428 echo "configure:34 29: checking for tgetent in -lcurses" >&53437 echo "configure:3438: checking for tgetent in -lcurses" >&5 3429 3438 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3430 3439 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3434 3443 LIBS="-lcurses $LIBS" 3435 3444 cat > conftest.$ac_ext <<EOF 3436 #line 34 37"configure"3445 #line 3446 "configure" 3437 3446 #include "confdefs.h" 3438 3447 /* Override any gcc2 internal prototype to avoid an error. */ … … 3445 3454 ; return 0; } 3446 3455 EOF 3447 if { (eval echo configure:34 48: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3456 if { (eval echo configure:3457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3448 3457 rm -rf conftest* 3449 3458 eval "ac_cv_lib_$ac_lib_var=yes" … … 3472 3481 \ 3473 3482 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3474 echo "configure:34 75: checking for tgetent in -ltermcap" >&53483 echo "configure:3484: checking for tgetent in -ltermcap" >&5 3475 3484 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3476 3485 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3480 3489 LIBS="-ltermcap $LIBS" 3481 3490 cat > conftest.$ac_ext <<EOF 3482 #line 34 83"configure"3491 #line 3492 "configure" 3483 3492 #include "confdefs.h" 3484 3493 /* Override any gcc2 internal prototype to avoid an error. */ … … 3491 3500 ; return 0; } 3492 3501 EOF 3493 if { (eval echo configure:3 494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3502 if { (eval echo configure:3503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3494 3503 rm -rf conftest* 3495 3504 eval "ac_cv_lib_$ac_lib_var=yes" … … 3523 3532 3524 3533 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3525 echo "configure:35 26: checking for rl_abort in -lreadline" >&53534 echo "configure:3535: checking for rl_abort in -lreadline" >&5 3526 3535 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3527 3536 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3531 3540 LIBS="-lreadline $LIBS" 3532 3541 cat > conftest.$ac_ext <<EOF 3533 #line 35 34"configure"3542 #line 3543 "configure" 3534 3543 #include "confdefs.h" 3535 3544 /* Override any gcc2 internal prototype to avoid an error. */ … … 3542 3551 ; return 0; } 3543 3552 EOF 3544 if { (eval echo configure:35 45: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3553 if { (eval echo configure:3554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3545 3554 rm -rf conftest* 3546 3555 eval "ac_cv_lib_$ac_lib_var=yes" … … 3573 3582 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3574 3583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3575 echo "configure:35 76: checking for $ac_hdr" >&53584 echo "configure:3585: checking for $ac_hdr" >&5 3576 3585 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3577 3586 echo $ac_n "(cached) $ac_c" 1>&6 3578 3587 else 3579 3588 cat > conftest.$ac_ext <<EOF 3580 #line 35 81"configure"3589 #line 3590 "configure" 3581 3590 #include "confdefs.h" 3582 3591 #include <$ac_hdr> 3583 3592 EOF 3584 3593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3585 { (eval echo configure:35 86: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3594 { (eval echo configure:3595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3586 3595 ac_err=`grep -v '^ *+' conftest.out` 3587 3596 if test -z "$ac_err"; then … … 3612 3621 test "$ac_cv_header_readline_readline_h" = yes; then 3613 3622 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 3614 echo "configure:36 15: checking whether readline.h is ok" >&53623 echo "configure:3624: checking whether readline.h is ok" >&5 3615 3624 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 3616 3625 echo $ac_n "(cached) $ac_c" 1>&6 3617 3626 else 3618 3627 cat > conftest.$ac_ext <<EOF 3619 #line 362 0"configure"3628 #line 3629 "configure" 3620 3629 #include "confdefs.h" 3621 3630 #include<unistd.h> … … 3642 3651 ; return 0; } 3643 3652 EOF 3644 if { (eval echo configure:36 45: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3653 if { (eval echo configure:3654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3645 3654 rm -rf conftest* 3646 3655 ac_cv_header_readline_readline_h_ok="yes" … … 3658 3667 #not ok -- try once more with explicitly declaring everything 3659 3668 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 3660 echo "configure:36 61: checking whether or not we nevertheless can use readline" >&53669 echo "configure:3670: checking whether or not we nevertheless can use readline" >&5 3661 3670 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 3662 3671 echo $ac_n "(cached) $ac_c" 1>&6 3663 3672 else 3664 3673 cat > conftest.$ac_ext <<EOF 3665 #line 36 66"configure"3674 #line 3675 "configure" 3666 3675 #include "confdefs.h" 3667 3676 #include <stdio.h> … … 3693 3702 ; return 0; } 3694 3703 EOF 3695 if { (eval echo configure:3 696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3704 if { (eval echo configure:3705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3696 3705 rm -rf conftest* 3697 3706 ac_cv_have_readline="yes" … … 3739 3748 if test "$with_dld" = yes; then 3740 3749 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 3741 echo "configure:37 42: checking for dld_init in -ldld" >&53750 echo "configure:3751: checking for dld_init in -ldld" >&5 3742 3751 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` 3743 3752 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3747 3756 LIBS="-ldld $LIBS" 3748 3757 cat > conftest.$ac_ext <<EOF 3749 #line 375 0"configure"3758 #line 3759 "configure" 3750 3759 #include "confdefs.h" 3751 3760 /* Override any gcc2 internal prototype to avoid an error. */ … … 3758 3767 ; return 0; } 3759 3768 EOF 3760 if { (eval echo configure:37 61: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3769 if { (eval echo configure:3770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3761 3770 rm -rf conftest* 3762 3771 eval "ac_cv_lib_$ac_lib_var=yes" … … 3785 3794 # gmp, smallgmp, MP, MPT, factory, libfac 3786 3795 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 3787 echo "configure:37 88: checking for mpq_init in -lgmp" >&53796 echo "configure:3797: checking for mpq_init in -lgmp" >&5 3788 3797 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 3789 3798 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3793 3802 LIBS="-lgmp $LIBS" 3794 3803 cat > conftest.$ac_ext <<EOF 3795 #line 3 796"configure"3804 #line 3805 "configure" 3796 3805 #include "confdefs.h" 3797 3806 /* Override any gcc2 internal prototype to avoid an error. */ … … 3804 3813 ; return 0; } 3805 3814 EOF 3806 if { (eval echo configure:38 07: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3815 if { (eval echo configure:3816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3807 3816 rm -rf conftest* 3808 3817 eval "ac_cv_lib_$ac_lib_var=yes" … … 3835 3844 fi 3836 3845 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 3837 echo "configure:38 38: checking for mpz_init in -lsmallgmp" >&53846 echo "configure:3847: checking for mpz_init in -lsmallgmp" >&5 3838 3847 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 3839 3848 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3843 3852 LIBS="-lsmallgmp $LIBS" 3844 3853 cat > conftest.$ac_ext <<EOF 3845 #line 38 46"configure"3854 #line 3855 "configure" 3846 3855 #include "confdefs.h" 3847 3856 /* Override any gcc2 internal prototype to avoid an error. */ … … 3854 3863 ; return 0; } 3855 3864 EOF 3856 if { (eval echo configure:38 57: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3865 if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3857 3866 rm -rf conftest* 3858 3867 eval "ac_cv_lib_$ac_lib_var=yes" … … 3882 3891 3883 3892 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 3884 echo "configure:38 85: checking for IMP_PutGmpInt in -lMP" >&53893 echo "configure:3894: checking for IMP_PutGmpInt in -lMP" >&5 3885 3894 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 3886 3895 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3890 3899 LIBS="-lMP $LIBS" 3891 3900 cat > conftest.$ac_ext <<EOF 3892 #line 3 893"configure"3901 #line 3902 "configure" 3893 3902 #include "confdefs.h" 3894 3903 /* Override any gcc2 internal prototype to avoid an error. */ … … 3901 3910 ; return 0; } 3902 3911 EOF 3903 if { (eval echo configure:39 04: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3912 if { (eval echo configure:3913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3904 3913 rm -rf conftest* 3905 3914 eval "ac_cv_lib_$ac_lib_var=yes" … … 3929 3938 3930 3939 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 3931 echo "configure:39 32: checking for MPT_GetTree in -lMPT" >&53940 echo "configure:3941: checking for MPT_GetTree in -lMPT" >&5 3932 3941 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 3933 3942 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3937 3946 LIBS="-lMPT $LIBS" 3938 3947 cat > conftest.$ac_ext <<EOF 3939 #line 394 0"configure"3948 #line 3949 "configure" 3940 3949 #include "confdefs.h" 3941 3950 /* Override any gcc2 internal prototype to avoid an error. */ … … 3948 3957 ; return 0; } 3949 3958 EOF 3950 if { (eval echo configure:39 51: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3959 if { (eval echo configure:3960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3951 3960 rm -rf conftest* 3952 3961 eval "ac_cv_lib_$ac_lib_var=yes" … … 3976 3985 3977 3986 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 3978 echo "configure:39 79: checking for atof in -lsingcf" >&53987 echo "configure:3988: checking for atof in -lsingcf" >&5 3979 3988 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 3980 3989 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3984 3993 LIBS="-lsingcf $LIBS" 3985 3994 cat > conftest.$ac_ext <<EOF 3986 #line 39 87"configure"3995 #line 3996 "configure" 3987 3996 #include "confdefs.h" 3988 3997 /* Override any gcc2 internal prototype to avoid an error. */ … … 3995 4004 ; return 0; } 3996 4005 EOF 3997 if { (eval echo configure: 3998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4006 if { (eval echo configure:4007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3998 4007 rm -rf conftest* 3999 4008 eval "ac_cv_lib_$ac_lib_var=yes" … … 4023 4032 4024 4033 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4025 echo "configure:40 26: checking for atof in -lsingfac" >&54034 echo "configure:4035: checking for atof in -lsingfac" >&5 4026 4035 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4027 4036 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4031 4040 LIBS="-lsingfac $LIBS" 4032 4041 cat > conftest.$ac_ext <<EOF 4033 #line 40 34"configure"4042 #line 4043 "configure" 4034 4043 #include "confdefs.h" 4035 4044 /* Override any gcc2 internal prototype to avoid an error. */ … … 4042 4051 ; return 0; } 4043 4052 EOF 4044 if { (eval echo configure:40 45: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4053 if { (eval echo configure:4054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4045 4054 rm -rf conftest* 4046 4055 eval "ac_cv_lib_$ac_lib_var=yes" … … 4074 4083 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4075 4084 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4076 echo "configure:40 77: checking for $ac_hdr" >&54085 echo "configure:4086: checking for $ac_hdr" >&5 4077 4086 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4078 4087 echo $ac_n "(cached) $ac_c" 1>&6 4079 4088 else 4080 4089 cat > conftest.$ac_ext <<EOF 4081 #line 40 82"configure"4090 #line 4091 "configure" 4082 4091 #include "confdefs.h" 4083 4092 #include <$ac_hdr> 4084 4093 EOF 4085 4094 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4086 { (eval echo configure:40 87: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4095 { (eval echo configure:4096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4087 4096 ac_err=`grep -v '^ *+' conftest.out` 4088 4097 if test -z "$ac_err"; then … … 4141 4150 # evaluate results 4142 4151 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4143 echo "configure:41 44: checking which apint package to use" >&54152 echo "configure:4153: checking which apint package to use" >&5 4144 4153 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 4145 4154 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 4182 4191 4183 4192 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4184 echo "configure:41 85: checking whether to have MP" >&54193 echo "configure:4194: checking whether to have MP" >&5 4185 4194 if test "${with_MP}" != yes && test "${with_MP}" != no; then 4186 4195 if (test "${will_have_gmp}" = yes) && \ … … 4213 4222 4214 4223 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4215 echo "configure:42 16: checking whether to have factory" >&54224 echo "configure:4225: checking whether to have factory" >&5 4216 4225 if test "${with_factory}" != yes && test "${with_factory}" != no; then 4217 4226 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 4244 4253 4245 4254 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 4246 echo "configure:42 47: checking whether to have libfac" >&54255 echo "configure:4256: checking whether to have libfac" >&5 4247 4256 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 4248 4257 if (test "${will_have_factory}" = yes) && \ … … 4276 4285 4277 4286 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 4278 echo "configure:42 79: checking whether to have dbm links" >&54287 echo "configure:4288: checking whether to have dbm links" >&5 4279 4288 if test "$with_dbm" != no; then 4280 4289 cat >> confdefs.h <<\EOF … … 4288 4297 4289 4298 echo $ac_n "checking which exponent types to use""... $ac_c" 1>&6 4290 echo "configure:4 291: checking which exponent types to use" >&54299 echo "configure:4300: checking which exponent types to use" >&5 4291 4300 if test "$with_exp_type" = "char"; then 4292 4301 echo "$ac_t""char" 1>&6 -
configure
r1bed80 r55c796 567 567 568 568 569 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 570 echo "configure:571: checking uname for singular" >&5 571 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 572 echo $ac_n "(cached) $ac_c" 1>&6 573 else 574 ac_cv_singuname="unknown" 575 if test -r "singuname.sh"; then 576 if (/bin/sh singuname.sh >/dev/null 2>&1) then 577 ac_cv_singuname=`/bin/sh singuname.sh` 578 fi 579 fi 580 581 fi 582 583 echo "$ac_t""$ac_cv_singuname" 1>&6 584 if test "$ac_cv_singuname" = unknown; then 585 { echo "configure: error: Unknown architecture: Check singuname.sh" 1>&2; exit 1; } 586 else 587 SINGUNAME=$ac_cv_singuname 588 589 fi 590 591 # stupid Win programs do not like dots in their pathnames 592 if test "$ac_cv_singuname" = ix86-Win; then 593 VERSION_SEP="-" 594 else 595 VERSION_SEP="." 596 fi 597 569 598 # make them to env variables 570 599 # pass them indirectly to subsequent configures … … 572 601 SINGULAR_MINOR_VERSION=2 573 602 SINGULAR_SUB_VERSION=0 574 SINGULAR_VERSION="${SINGULAR_MAJOR_VERSION} .${SINGULAR_MINOR_VERSION}.${SINGULAR_SUB_VERSION}"603 SINGULAR_VERSION="${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" 575 604 VERSION_DATE="June 1998" 576 605 export SINGULAR_MINOR_VERSION … … 582 611 583 612 584 echo $ac_n "checking uname for singular""... $ac_c" 1>&6585 echo "configure:586: checking uname for singular" >&5586 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then587 echo $ac_n "(cached) $ac_c" 1>&6588 else589 ac_cv_singuname="unknown"590 if test -r "singuname.sh"; then591 if (/bin/sh singuname.sh >/dev/null 2>&1) then592 ac_cv_singuname=`/bin/sh singuname.sh`593 fi594 fi595 596 fi597 598 echo "$ac_t""$ac_cv_singuname" 1>&6599 if test "$ac_cv_singuname" = unknown; then600 { echo "configure: error: Unknown architecture: Check singuname.sh" 1>&2; exit 1; }601 else602 SINGUNAME=$ac_cv_singuname603 604 fi605 613 606 614 … … 608 616 set dummy gcc; ac_word=$2 609 617 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 610 echo "configure:61 1: checking for $ac_word" >&5618 echo "configure:619: checking for $ac_word" >&5 611 619 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 612 620 echo $ac_n "(cached) $ac_c" 1>&6 … … 637 645 set dummy cc; ac_word=$2 638 646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 639 echo "configure:64 0: checking for $ac_word" >&5647 echo "configure:648: checking for $ac_word" >&5 640 648 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 641 649 echo $ac_n "(cached) $ac_c" 1>&6 … … 685 693 686 694 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 687 echo "configure:6 88: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5695 echo "configure:696: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 688 696 689 697 ac_ext=c … … 695 703 696 704 cat > conftest.$ac_ext <<EOF 697 #line 698"configure"705 #line 706 "configure" 698 706 #include "confdefs.h" 699 707 main(){return(0);} 700 708 EOF 701 if { (eval echo configure:7 02: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then709 if { (eval echo configure:710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 702 710 ac_cv_prog_cc_works=yes 703 711 # If we can't run a trivial program, we are probably using a cross compiler. … … 719 727 fi 720 728 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 721 echo "configure:7 22: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5729 echo "configure:730: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 722 730 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 723 731 cross_compiling=$ac_cv_prog_cc_cross 724 732 725 733 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 726 echo "configure:7 27: checking whether we are using GNU C" >&5734 echo "configure:735: checking whether we are using GNU C" >&5 727 735 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 728 736 echo $ac_n "(cached) $ac_c" 1>&6 … … 733 741 #endif 734 742 EOF 735 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:7 36: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then743 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 736 744 ac_cv_prog_gcc=yes 737 745 else … … 748 756 CFLAGS= 749 757 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 750 echo "configure:75 1: checking whether ${CC-cc} accepts -g" >&5758 echo "configure:759: checking whether ${CC-cc} accepts -g" >&5 751 759 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 752 760 echo $ac_n "(cached) $ac_c" 1>&6 … … 776 784 777 785 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 778 echo "configure:7 79: checking how to run the C preprocessor" >&5786 echo "configure:787: checking how to run the C preprocessor" >&5 779 787 # On Suns, sometimes $CPP names a directory. 780 788 if test -n "$CPP" && test -d "$CPP"; then … … 791 799 # not just through cpp. 792 800 cat > conftest.$ac_ext <<EOF 793 #line 794"configure"801 #line 802 "configure" 794 802 #include "confdefs.h" 795 803 #include <assert.h> … … 797 805 EOF 798 806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 799 { (eval echo configure:80 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }807 { (eval echo configure:808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 800 808 ac_err=`grep -v '^ *+' conftest.out` 801 809 if test -z "$ac_err"; then … … 808 816 CPP="${CC-cc} -E -traditional-cpp" 809 817 cat > conftest.$ac_ext <<EOF 810 #line 81 1"configure"818 #line 819 "configure" 811 819 #include "confdefs.h" 812 820 #include <assert.h> … … 814 822 EOF 815 823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 816 { (eval echo configure:8 17: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }824 { (eval echo configure:825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 817 825 ac_err=`grep -v '^ *+' conftest.out` 818 826 if test -z "$ac_err"; then … … 837 845 838 846 echo $ac_n "checking for AIX""... $ac_c" 1>&6 839 echo "configure:84 0: checking for AIX" >&5847 echo "configure:848: checking for AIX" >&5 840 848 cat > conftest.$ac_ext <<EOF 841 #line 8 42"configure"849 #line 850 "configure" 842 850 #include "confdefs.h" 843 851 #ifdef _AIX … … 866 874 set dummy $ac_prog; ac_word=$2 867 875 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 868 echo "configure:8 69: checking for $ac_word" >&5876 echo "configure:877: checking for $ac_word" >&5 869 877 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 870 878 echo $ac_n "(cached) $ac_c" 1>&6 … … 895 903 896 904 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 897 echo "configure: 898: checking whether ln -s works" >&5905 echo "configure:906: checking whether ln -s works" >&5 898 906 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 899 907 echo $ac_n "(cached) $ac_c" 1>&6 … … 947 955 948 956 # construct name of installed Singular executable 949 SINGULAR=${bindir}/Singular-${SINGULAR_MAJOR_VERSION} .${SINGULAR_MINOR_VERSION}.${SINGULAR_SUB_VERSION}957 SINGULAR=${bindir}/Singular-${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION} 950 958 export SINGULAR 951 959 … … 958 966 # check for AIX 959 967 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 960 echo "configure:96 1: checking whether _AIX is defined" >&5968 echo "configure:969: checking whether _AIX is defined" >&5 961 969 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 962 970 echo $ac_n "(cached) $ac_c" 1>&6 963 971 else 964 972 cat > conftest.$ac_ext <<EOF 965 #line 9 66"configure"973 #line 974 "configure" 966 974 #include "confdefs.h" 967 975 #ifdef _AIX … … 989 997 990 998 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 991 echo "configure: 992: checking for atof in -lm" >&5999 echo "configure:1000: checking for atof in -lm" >&5 992 1000 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 993 1001 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 997 1005 LIBS="-lm $LIBS" 998 1006 cat > conftest.$ac_ext <<EOF 999 #line 100 0"configure"1007 #line 1008 "configure" 1000 1008 #include "confdefs.h" 1001 1009 /* Override any gcc2 internal prototype to avoid an error. */ … … 1008 1016 ; return 0; } 1009 1017 EOF 1010 if { (eval echo configure:101 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1018 if { (eval echo configure:1019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1011 1019 rm -rf conftest* 1012 1020 eval "ac_cv_lib_$ac_lib_var=yes" … … 1036 1044 1037 1045 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1038 echo "configure:10 39: checking for socket in -lbsd" >&51046 echo "configure:1047: checking for socket in -lbsd" >&5 1039 1047 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1040 1048 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1044 1052 LIBS="-lbsd $LIBS" 1045 1053 cat > conftest.$ac_ext <<EOF 1046 #line 10 47"configure"1054 #line 1055 "configure" 1047 1055 #include "confdefs.h" 1048 1056 /* Override any gcc2 internal prototype to avoid an error. */ … … 1055 1063 ; return 0; } 1056 1064 EOF 1057 if { (eval echo configure:10 58: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1065 if { (eval echo configure:1066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1058 1066 rm -rf conftest* 1059 1067 eval "ac_cv_lib_$ac_lib_var=yes" … … 1083 1091 1084 1092 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1085 echo "configure:10 86: checking for listen in -lsocket" >&51093 echo "configure:1094: checking for listen in -lsocket" >&5 1086 1094 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1087 1095 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1091 1099 LIBS="-lsocket $LIBS" 1092 1100 cat > conftest.$ac_ext <<EOF 1093 #line 1 094"configure"1101 #line 1102 "configure" 1094 1102 #include "confdefs.h" 1095 1103 /* Override any gcc2 internal prototype to avoid an error. */ … … 1102 1110 ; return 0; } 1103 1111 EOF 1104 if { (eval echo configure:11 05: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1112 if { (eval echo configure:1113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1105 1113 rm -rf conftest* 1106 1114 eval "ac_cv_lib_$ac_lib_var=yes" … … 1130 1138 1131 1139 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1132 echo "configure:11 33: checking for gethostbyname in -lnsl" >&51140 echo "configure:1141: checking for gethostbyname in -lnsl" >&5 1133 1141 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1134 1142 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1138 1146 LIBS="-lnsl $LIBS" 1139 1147 cat > conftest.$ac_ext <<EOF 1140 #line 114 1"configure"1148 #line 1149 "configure" 1141 1149 #include "confdefs.h" 1142 1150 /* Override any gcc2 internal prototype to avoid an error. */ … … 1149 1157 ; return 0; } 1150 1158 EOF 1151 if { (eval echo configure:11 52: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1159 if { (eval echo configure:1160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1152 1160 rm -rf conftest* 1153 1161 eval "ac_cv_lib_$ac_lib_var=yes" … … 1177 1185 1178 1186 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 1179 echo "configure:118 0: checking for mpq_init in -lgmp" >&51187 echo "configure:1188: checking for mpq_init in -lgmp" >&5 1180 1188 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 1181 1189 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1185 1193 LIBS="-lgmp $LIBS" 1186 1194 cat > conftest.$ac_ext <<EOF 1187 #line 11 88"configure"1195 #line 1196 "configure" 1188 1196 #include "confdefs.h" 1189 1197 /* Override any gcc2 internal prototype to avoid an error. */ … … 1196 1204 ; return 0; } 1197 1205 EOF 1198 if { (eval echo configure:1 199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1206 if { (eval echo configure:1207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1199 1207 rm -rf conftest* 1200 1208 eval "ac_cv_lib_$ac_lib_var=yes" … … 1224 1232 1225 1233 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 1226 echo "configure:12 27: checking for mpz_init in -lsmallgmp" >&51234 echo "configure:1235: checking for mpz_init in -lsmallgmp" >&5 1227 1235 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 1228 1236 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1232 1240 LIBS="-lsmallgmp $LIBS" 1233 1241 cat > conftest.$ac_ext <<EOF 1234 #line 12 35"configure"1242 #line 1243 "configure" 1235 1243 #include "confdefs.h" 1236 1244 /* Override any gcc2 internal prototype to avoid an error. */ … … 1243 1251 ; return 0; } 1244 1252 EOF 1245 if { (eval echo configure:12 46: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1253 if { (eval echo configure:1254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1246 1254 rm -rf conftest* 1247 1255 eval "ac_cv_lib_$ac_lib_var=yes" … … 1271 1279 1272 1280 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 1273 echo "configure:12 74: checking for IMP_PutGmpInt in -lMP" >&51281 echo "configure:1282: checking for IMP_PutGmpInt in -lMP" >&5 1274 1282 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 1275 1283 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1279 1287 LIBS="-lMP $LIBS" 1280 1288 cat > conftest.$ac_ext <<EOF 1281 #line 12 82"configure"1289 #line 1290 "configure" 1282 1290 #include "confdefs.h" 1283 1291 /* Override any gcc2 internal prototype to avoid an error. */ … … 1290 1298 ; return 0; } 1291 1299 EOF 1292 if { (eval echo configure:1 293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1300 if { (eval echo configure:1301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1293 1301 rm -rf conftest* 1294 1302 eval "ac_cv_lib_$ac_lib_var=yes" … … 1318 1326 1319 1327 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 1320 echo "configure:132 1: checking for MPT_GetTree in -lMPT" >&51328 echo "configure:1329: checking for MPT_GetTree in -lMPT" >&5 1321 1329 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 1322 1330 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1326 1334 LIBS="-lMPT $LIBS" 1327 1335 cat > conftest.$ac_ext <<EOF 1328 #line 13 29"configure"1336 #line 1337 "configure" 1329 1337 #include "confdefs.h" 1330 1338 /* Override any gcc2 internal prototype to avoid an error. */ … … 1337 1345 ; return 0; } 1338 1346 EOF 1339 if { (eval echo configure:134 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1347 if { (eval echo configure:1348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1340 1348 rm -rf conftest* 1341 1349 eval "ac_cv_lib_$ac_lib_var=yes" … … 1365 1373 1366 1374 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 1367 echo "configure:13 68: checking for atof in -lsingcf" >&51375 echo "configure:1376: checking for atof in -lsingcf" >&5 1368 1376 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 1369 1377 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1373 1381 LIBS="-lsingcf $LIBS" 1374 1382 cat > conftest.$ac_ext <<EOF 1375 #line 13 76"configure"1383 #line 1384 "configure" 1376 1384 #include "confdefs.h" 1377 1385 /* Override any gcc2 internal prototype to avoid an error. */ … … 1384 1392 ; return 0; } 1385 1393 EOF 1386 if { (eval echo configure:13 87: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1394 if { (eval echo configure:1395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1387 1395 rm -rf conftest* 1388 1396 eval "ac_cv_lib_$ac_lib_var=yes" … … 1412 1420 1413 1421 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 1414 echo "configure:14 15: checking for atof in -lsingfac" >&51422 echo "configure:1423: checking for atof in -lsingfac" >&5 1415 1423 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 1416 1424 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1420 1428 LIBS="-lsingfac $LIBS" 1421 1429 cat > conftest.$ac_ext <<EOF 1422 #line 14 23"configure"1430 #line 1431 "configure" 1423 1431 #include "confdefs.h" 1424 1432 /* Override any gcc2 internal prototype to avoid an error. */ … … 1431 1439 ; return 0; } 1432 1440 EOF 1433 if { (eval echo configure:14 34: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1441 if { (eval echo configure:1442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1434 1442 rm -rf conftest* 1435 1443 eval "ac_cv_lib_$ac_lib_var=yes" … … 1463 1471 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1464 1472 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1465 echo "configure:14 66: checking for $ac_hdr" >&51473 echo "configure:1474: checking for $ac_hdr" >&5 1466 1474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1467 1475 echo $ac_n "(cached) $ac_c" 1>&6 1468 1476 else 1469 1477 cat > conftest.$ac_ext <<EOF 1470 #line 147 1"configure"1478 #line 1479 "configure" 1471 1479 #include "confdefs.h" 1472 1480 #include <$ac_hdr> 1473 1481 EOF 1474 1482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1475 { (eval echo configure:14 76: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1483 { (eval echo configure:1484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1476 1484 ac_err=`grep -v '^ *+' conftest.out` 1477 1485 if test -z "$ac_err"; then … … 1598 1606 1599 1607 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 1600 echo "configure:160 1: checking whether to configure and build gmp lib" >&51608 echo "configure:1609: checking whether to configure and build gmp lib" >&5 1601 1609 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 1602 1610 if test "$ac_gmp_ok" != yes && test -d gmp; then … … 1624 1632 1625 1633 echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6 1626 echo "configure:16 27: checking whether to configure and build smallgmp lib" >&51634 echo "configure:1635: checking whether to configure and build smallgmp lib" >&5 1627 1635 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 1628 1636 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ … … 1663 1671 1664 1672 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 1665 echo "configure:16 66: checking whether to configure and build MP lib" >&51673 echo "configure:1674: checking whether to configure and build MP lib" >&5 1666 1674 if test "$enable_MP" != yes && test "$enable_MP" != no; then 1667 1675 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ … … 1692 1700 1693 1701 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 1694 echo "configure:1 695: checking whether to configure and build factory lib" >&51702 echo "configure:1703: checking whether to configure and build factory lib" >&5 1695 1703 if test "$enable_factory" != yes && test "$enable_factory" != no; then 1696 1704 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ … … 1717 1725 1718 1726 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 1719 echo "configure:172 0: checking whether to configure and build libfac lib" >&51727 echo "configure:1728: checking whether to configure and build libfac lib" >&5 1720 1728 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 1721 1729 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ … … 1747 1755 1748 1756 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 1749 echo "configure:175 0: checking whether to configure and build sgroup lib" >&51757 echo "configure:1758: checking whether to configure and build sgroup lib" >&5 1750 1758 if test "$enable_sgroup" != yes && test "$enable_sgroup" != no; then 1751 1759 if test "$with_sgroup" != no && test "$ac_sgroup_ok" != yes && \ … … 1777 1785 1778 1786 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 1779 echo "configure:178 0: checking whether to configure and build Singular" >&51787 echo "configure:1788: checking whether to configure and build Singular" >&5 1780 1788 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 1781 1789 if test "$with_Singular" != no && test -d Singular; then … … 1802 1810 1803 1811 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 1804 echo "configure:18 05: checking which apint package to use" >&51812 echo "configure:1813: checking which apint package to use" >&5 1805 1813 if test "$with_apint" = gmp; then 1806 1814 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 1826 1834 1827 1835 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 1828 echo "configure:18 29: checking whether to use with MP" >&51836 echo "configure:1837: checking whether to use with MP" >&5 1829 1837 if test "$with_MP" = yes; then 1830 1838 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then … … 1845 1853 1846 1854 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 1847 echo "configure:18 48: checking whether to use with factory" >&51855 echo "configure:1856: checking whether to use with factory" >&5 1848 1856 if test "$with_factory" = yes; then 1849 1857 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 1864 1872 1865 1873 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 1866 echo "configure:18 67: checking whether to use with libfac" >&51874 echo "configure:1875: checking whether to use with libfac" >&5 1867 1875 if test "$with_libfac" = yes; then 1868 1876 if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then … … 1883 1891 1884 1892 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 1885 echo "configure:18 86: checking whether to use with Singular" >&51893 echo "configure:1894: checking whether to use with Singular" >&5 1886 1894 if test "$with_Singular" != no && test "$with_Singular" != yes; then 1887 1895 if test "$enable_Singular" = yes; then … … 1928 1936 1929 1937 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1930 echo "configure:193 1: checking whether ${MAKE-make} sets \${MAKE}" >&51938 echo "configure:1939: checking whether ${MAKE-make} sets \${MAKE}" >&5 1931 1939 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1932 1940 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 2120 2128 s%@infodir@%$infodir%g 2121 2129 s%@mandir@%$mandir%g 2130 s%@SINGUNAME@%$SINGUNAME%g 2122 2131 s%@SINGULAR_VERSION@%$SINGULAR_VERSION%g 2123 s%@SINGUNAME@%$SINGUNAME%g2124 2132 s%@CC@%$CC%g 2125 2133 s%@CPP@%$CPP%g
Note: See TracChangeset
for help on using the changeset viewer.