Changeset 4d7834 in git
- Timestamp:
- Nov 8, 2002, 2:28:44 PM (21 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 451d80f18c1cbefa75c06e66f8c1c26d3a60a34d
- Parents:
- 77902fb464a01730079e45070e95c7f14299670e
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/clapsing.cc
r77902f r4d7834 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 // $Id: clapsing.cc,v 1. 79 2002-01-20 09:20:19Singular Exp $5 // $Id: clapsing.cc,v 1.80 2002-11-08 13:28:44 Singular Exp $ 6 6 /* 7 7 * ABSTRACT: interface between Singular and factory … … 23 23 #ifdef HAVE_LIBFAC_P 24 24 #include <factor.h> 25 CanonicalForm algcd(const CanonicalForm & F, const CanonicalForm & g, const CFList & as, const Varlist & order);26 25 //CanonicalForm algcd(const CanonicalForm & F, const CanonicalForm & g, const CFList & as, const Varlist & order); 26 CanonicalForm alg_gcd(const CanonicalForm &, const CanonicalForm &, const CFList &); 27 27 #endif 28 28 #include "ring.h" … … 232 232 // WerrorS( feNotImplemented ); 233 233 CanonicalForm mipo=convSingTrClapP(((lnumber)currRing->minpoly)->z); 234 Varlist ord; 235 ord.append(mipo.mvar()); 236 CFList as(mipo); 237 Variable a=rootOf(mipo); 238 CanonicalForm F( convSingAPClapAP( f,a ) ), G( convSingAPClapAP( g,a ) ); 239 res= convClapAPSingAP( algcd( F, G, as, ord) ); 234 //Varlist ord; 235 //ord.append(mipo.mvar()); 236 CFList as(mipo); 237 Variable a=rootOf(mipo); 238 //CanonicalForm F( convSingAPClapAP( f,a ) ), G( convSingAPClapAP( g,a ) ); 239 CanonicalForm F( convSingTrPClapP(f) ), G( convSingTrPClapP(g) ); 240 //res= convClapAPSingAP( algcd( F, G, as, ord) ); 241 //res= convClapAPSingAP( alg_gcd( F, G, as) ); 242 res= convClapAPSingAP( alg_gcd( F, G, as) ); 240 243 } 241 244 else … … 630 633 // 0 return coeff, factors and exponents 631 634 635 632 636 ideal res=NULL; 633 637 … … 688 692 return res; 689 693 } 690 // use factory/libfac in general ============================== 694 //PrintS("S:");pWrite(f);PrintLn(); 695 // use factory/liffac in general ============================== 691 696 Off(SW_RATIONAL); 692 697 On(SW_SYMMETRIC_FF); 698 On(SW_USE_NTL); 699 #ifdef HAVE_NTL 700 extern int prime_number; 701 //if(rField_is_Q()) prime_number=0; 702 #endif 693 703 CFFList L; 694 704 number N=NULL; … … 766 776 CanonicalForm G( convSingTrPClapP( f ) ); 767 777 #ifdef HAVE_LIBFAC_P 768 CFList as(mipo); 769 L = newfactoras( G, as, 1); 778 if (rField_is_Q_a()) 779 { 780 CFList as(mipo); 781 L = newfactoras( G, as, 1); 782 } 783 else 784 { 785 L=Factorize(G, mipo); 786 } 770 787 #else 771 788 WarnS("complete factorization only for univariate polynomials"); 772 if ( nGetChar()==1) /* Q(a) */789 if ((nGetChar()==1)||(!F.isUnivariate()) /* Q(a) */ 773 790 { 774 791 L = factorize( G ); … … 776 793 else 777 794 { 778 goto notImpl;795 L = factorize( F, a ); 779 796 } 780 797 #endif … … 870 887 j++; 871 888 } 872 889 } 873 890 } 874 891 if (j>0) … … 918 935 nDelete(&N); 919 936 } 937 //PrintS("......S\n"); 920 938 return res; 921 939 } … … 924 942 { 925 943 #ifdef HAVE_LIBFAC_P 944 if (idIs0(I)) return mpNew(1,1); 945 926 946 // for now there is only the possibility to handle polynomials over 927 947 // Q and Fp ... … … 930 950 Off(SW_RATIONAL); 931 951 On(SW_SYMMETRIC_FF); 952 On(SW_USE_NTL); 953 //Off(SW_USE_NTL); 932 954 CFList L; 933 955 ListCFList LL; … … 1057 1079 loop 1058 1080 { 1081 if(! Li.hasItem()) break; 1059 1082 BOOLEAN done=TRUE; 1060 1083 i=Li.getItem()-1; … … 1073 1096 if(cnt==0) break; 1074 1097 if (done) StringAppendS(","); 1075 if(! Li.hasItem()) break;1076 1098 } 1077 1099 for(i=0;i<pVariables+offs;i++) -
configure
r77902f r4d7834 601 601 SINGULAR_SHORT_VERSION="${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}" 602 602 SINGULAR_VERSION="${SINGULAR_SHORT_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" 603 SINGULAR_RPM_VERSION="${SINGULAR_MAJOR_VERSION}.${SINGULAR_MINOR_VERSION}.${SINGULAR_SUB_VERSION}" 603 604 VERSION_DATE="August 2001" 604 605 SINGULAR_ROOT_DIR=$pwd … … 608 609 export SINGULAR_SUB_VERSION 609 610 export SINGULAR_VERSION 611 export SINGULAR_RPM_VERSION 610 612 export VERSION_DATE 611 613 export SINGULAR_ROOT_DIR 614 612 615 613 616 … … 650 653 651 654 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 652 echo "configure:65 3: checking uname for singular" >&5655 echo "configure:656: checking uname for singular" >&5 653 656 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 654 657 echo $ac_n "(cached) $ac_c" 1>&6 … … 678 681 set dummy gcc; ac_word=$2 679 682 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 680 echo "configure:68 1: checking for $ac_word" >&5683 echo "configure:684: checking for $ac_word" >&5 681 684 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 682 685 echo $ac_n "(cached) $ac_c" 1>&6 … … 708 711 set dummy cc; ac_word=$2 709 712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 710 echo "configure:71 1: checking for $ac_word" >&5713 echo "configure:714: checking for $ac_word" >&5 711 714 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 712 715 echo $ac_n "(cached) $ac_c" 1>&6 … … 759 762 set dummy cl; ac_word=$2 760 763 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 761 echo "configure:76 2: checking for $ac_word" >&5764 echo "configure:765: checking for $ac_word" >&5 762 765 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 763 766 echo $ac_n "(cached) $ac_c" 1>&6 … … 791 794 792 795 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 793 echo "configure:79 4: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5796 echo "configure:797: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 794 797 795 798 ac_ext=c … … 802 805 cat > conftest.$ac_ext << EOF 803 806 804 #line 80 5"configure"807 #line 808 "configure" 805 808 #include "confdefs.h" 806 809 807 810 main(){return(0);} 808 811 EOF 809 if { (eval echo configure:81 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then812 if { (eval echo configure:813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 810 813 ac_cv_prog_cc_works=yes 811 814 # If we can't run a trivial program, we are probably using a cross compiler. … … 833 836 fi 834 837 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 835 echo "configure:83 6: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5838 echo "configure:839: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 836 839 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 837 840 cross_compiling=$ac_cv_prog_cc_cross 838 841 839 842 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 840 echo "configure:84 1: checking whether we are using GNU C" >&5843 echo "configure:844: checking whether we are using GNU C" >&5 841 844 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 842 845 echo $ac_n "(cached) $ac_c" 1>&6 … … 847 850 #endif 848 851 EOF 849 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:85 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then852 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 850 853 ac_cv_prog_gcc=yes 851 854 else … … 866 869 CFLAGS= 867 870 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 868 echo "configure:8 69: checking whether ${CC-cc} accepts -g" >&5871 echo "configure:872: checking whether ${CC-cc} accepts -g" >&5 869 872 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 870 873 echo $ac_n "(cached) $ac_c" 1>&6 … … 898 901 899 902 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 900 echo "configure:90 1: checking how to run the C preprocessor" >&5903 echo "configure:904: checking how to run the C preprocessor" >&5 901 904 # On Suns, sometimes $CPP names a directory. 902 905 if test -n "$CPP" && test -d "$CPP"; then … … 913 916 # not just through cpp. 914 917 cat > conftest.$ac_ext <<EOF 915 #line 91 6"configure"918 #line 919 "configure" 916 919 #include "confdefs.h" 917 920 #include <assert.h> … … 919 922 EOF 920 923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 921 { (eval echo configure:92 2: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }924 { (eval echo configure:925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 922 925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 923 926 if test -z "$ac_err"; then … … 930 933 CPP="${CC-cc} -E -traditional-cpp" 931 934 cat > conftest.$ac_ext <<EOF 932 #line 93 3"configure"935 #line 936 "configure" 933 936 #include "confdefs.h" 934 937 #include <assert.h> … … 936 939 EOF 937 940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 938 { (eval echo configure:9 39: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }941 { (eval echo configure:942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 939 942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 940 943 if test -z "$ac_err"; then … … 947 950 CPP="${CC-cc} -nologo -E" 948 951 cat > conftest.$ac_ext <<EOF 949 #line 95 0"configure"952 #line 953 "configure" 950 953 #include "confdefs.h" 951 954 #include <assert.h> … … 953 956 EOF 954 957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 955 { (eval echo configure:95 6: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }958 { (eval echo configure:959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 956 959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 957 960 if test -z "$ac_err"; then … … 1008 1011 # ./install, which can be erroneously created by make from ./install.sh. 1009 1012 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1010 echo "configure:101 1: checking for a BSD compatible install" >&51013 echo "configure:1014: checking for a BSD compatible install" >&5 1011 1014 if test -z "$INSTALL"; then 1012 1015 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1061 1064 1062 1065 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1063 echo "configure:106 4: checking for AIX" >&51066 echo "configure:1067: checking for AIX" >&5 1064 1067 cat > conftest.$ac_ext <<EOF 1065 #line 106 6"configure"1068 #line 1069 "configure" 1066 1069 #include "confdefs.h" 1067 1070 #ifdef _AIX … … 1089 1092 set dummy $ac_prog; ac_word=$2 1090 1093 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1091 echo "configure:109 2: checking for $ac_word" >&51094 echo "configure:1095: checking for $ac_word" >&5 1092 1095 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 1093 1096 echo $ac_n "(cached) $ac_c" 1>&6 … … 1121 1124 1122 1125 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1123 echo "configure:112 4: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&51126 echo "configure:1127: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 1124 1127 1125 1128 ac_ext=C … … 1132 1135 cat > conftest.$ac_ext << EOF 1133 1136 1134 #line 113 5"configure"1137 #line 1138 "configure" 1135 1138 #include "confdefs.h" 1136 1139 1137 1140 int main(){return(0);} 1138 1141 EOF 1139 if { (eval echo configure:114 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1142 if { (eval echo configure:1143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1140 1143 ac_cv_prog_cxx_works=yes 1141 1144 # If we can't run a trivial program, we are probably using a cross compiler. … … 1163 1166 fi 1164 1167 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1165 echo "configure:116 6: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&51168 echo "configure:1169: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1166 1169 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1167 1170 cross_compiling=$ac_cv_prog_cxx_cross 1168 1171 1169 1172 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1170 echo "configure:117 1: checking whether we are using GNU C++" >&51173 echo "configure:1174: checking whether we are using GNU C++" >&5 1171 1174 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1172 1175 echo $ac_n "(cached) $ac_c" 1>&6 … … 1177 1180 #endif 1178 1181 EOF 1179 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:118 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1182 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1180 1183 ac_cv_prog_gxx=yes 1181 1184 else … … 1196 1199 CXXFLAGS= 1197 1200 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1198 echo "configure:1 199: checking whether ${CXX-g++} accepts -g" >&51201 echo "configure:1202: checking whether ${CXX-g++} accepts -g" >&5 1199 1202 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1200 1203 echo $ac_n "(cached) $ac_c" 1>&6 … … 1230 1233 # check whether the compiler accepts -pipe 1231 1234 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1232 echo "configure:123 3: checking whether compiler accepts -pipe" >&51235 echo "configure:1236: checking whether compiler accepts -pipe" >&5 1233 1236 temp_cflags=${CFLAGS} 1234 1237 CFLAGS="${CFLAGS} -pipe" … … 1237 1240 else 1238 1241 cat > conftest.$ac_ext <<EOF 1239 #line 124 0"configure"1242 #line 1243 "configure" 1240 1243 #include "confdefs.h" 1241 1244 … … 1244 1247 ; return 0; } 1245 1248 EOF 1246 if { (eval echo configure:12 47: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1249 if { (eval echo configure:1250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1247 1250 rm -rf conftest* 1248 1251 ac_cv_cxx_have_pipe=yes … … 1271 1274 set dummy $ac_prog; ac_word=$2 1272 1275 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1273 echo "configure:127 4: checking for $ac_word" >&51276 echo "configure:1277: checking for $ac_word" >&5 1274 1277 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 1275 1278 echo $ac_n "(cached) $ac_c" 1>&6 … … 1305 1308 set dummy $ac_prog; ac_word=$2 1306 1309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1307 echo "configure:13 08: checking for $ac_word" >&51310 echo "configure:1311: checking for $ac_word" >&5 1308 1311 if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then 1309 1312 echo $ac_n "(cached) $ac_c" 1>&6 … … 1339 1342 set dummy $ac_prog; ac_word=$2 1340 1343 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1341 echo "configure:134 2: checking for $ac_word" >&51344 echo "configure:1345: checking for $ac_word" >&5 1342 1345 if eval "test \"`echo '$''{'ac_cv_prog_GUNZIP'+set}'`\" = set"; then 1343 1346 echo $ac_n "(cached) $ac_c" 1>&6 … … 1375 1378 set dummy $ac_prog; ac_word=$2 1376 1379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1377 echo "configure:13 78: checking for $ac_word" >&51380 echo "configure:1381: checking for $ac_word" >&5 1378 1381 if eval "test \"`echo '$''{'ac_cv_prog_MYGZIP'+set}'`\" = set"; then 1379 1382 echo $ac_n "(cached) $ac_c" 1>&6 … … 1408 1411 set dummy latex2html; ac_word=$2 1409 1412 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1410 echo "configure:141 1: checking for $ac_word" >&51413 echo "configure:1414: checking for $ac_word" >&5 1411 1414 if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then 1412 1415 echo $ac_n "(cached) $ac_c" 1>&6 … … 1435 1438 1436 1439 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1437 echo "configure:14 38: checking whether ln -s works" >&51440 echo "configure:1441: checking whether ln -s works" >&5 1438 1441 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1439 1442 echo $ac_n "(cached) $ac_c" 1>&6 … … 1505 1508 # check for AIX 1506 1509 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1507 echo "configure:15 08: checking whether _AIX is defined" >&51510 echo "configure:1511: checking whether _AIX is defined" >&5 1508 1511 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1509 1512 echo $ac_n "(cached) $ac_c" 1>&6 1510 1513 else 1511 1514 cat > conftest.$ac_ext <<EOF 1512 #line 151 3"configure"1515 #line 1516 "configure" 1513 1516 #include "confdefs.h" 1514 1517 #ifdef _AIX … … 1536 1539 1537 1540 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1538 echo "configure:15 39: checking for atof in -lm" >&51541 echo "configure:1542: checking for atof in -lm" >&5 1539 1542 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1540 1543 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1544 1547 LIBS="-lm $LIBS" 1545 1548 cat > conftest.$ac_ext <<EOF 1546 #line 15 47"configure"1549 #line 1550 "configure" 1547 1550 #include "confdefs.h" 1548 1551 /* Override any gcc2 internal prototype to avoid an error. */ … … 1555 1558 ; return 0; } 1556 1559 EOF 1557 if { (eval echo configure:15 58: \"$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${ac_exeext}; then 1558 1561 rm -rf conftest* 1559 1562 eval "ac_cv_lib_$ac_lib_var=yes" … … 1583 1586 1584 1587 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1585 echo "configure:158 6: checking for socket in -lbsd" >&51588 echo "configure:1589: checking for socket in -lbsd" >&5 1586 1589 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1587 1590 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1591 1594 LIBS="-lbsd $LIBS" 1592 1595 cat > conftest.$ac_ext <<EOF 1593 #line 159 4"configure"1596 #line 1597 "configure" 1594 1597 #include "confdefs.h" 1595 1598 /* Override any gcc2 internal prototype to avoid an error. */ … … 1602 1605 ; return 0; } 1603 1606 EOF 1604 if { (eval echo configure:160 5: \"$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${ac_exeext}; then 1605 1608 rm -rf conftest* 1606 1609 eval "ac_cv_lib_$ac_lib_var=yes" … … 1630 1633 1631 1634 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1632 echo "configure:163 3: checking for listen in -lsocket" >&51635 echo "configure:1636: checking for listen in -lsocket" >&5 1633 1636 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1634 1637 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1638 1641 LIBS="-lsocket $LIBS" 1639 1642 cat > conftest.$ac_ext <<EOF 1640 #line 164 1"configure"1643 #line 1644 "configure" 1641 1644 #include "confdefs.h" 1642 1645 /* Override any gcc2 internal prototype to avoid an error. */ … … 1649 1652 ; return 0; } 1650 1653 EOF 1651 if { (eval echo configure:165 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1654 if { (eval echo configure:1655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1652 1655 rm -rf conftest* 1653 1656 eval "ac_cv_lib_$ac_lib_var=yes" … … 1677 1680 1678 1681 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1679 echo "configure:168 0: checking for gethostbyname in -lnsl" >&51682 echo "configure:1683: checking for gethostbyname in -lnsl" >&5 1680 1683 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1681 1684 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1685 1688 LIBS="-lnsl $LIBS" 1686 1689 cat > conftest.$ac_ext <<EOF 1687 #line 16 88"configure"1690 #line 1691 "configure" 1688 1691 #include "confdefs.h" 1689 1692 /* Override any gcc2 internal prototype to avoid an error. */ … … 1696 1699 ; return 0; } 1697 1700 EOF 1698 if { (eval echo configure:1 699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1701 if { (eval echo configure:1702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1699 1702 rm -rf conftest* 1700 1703 eval "ac_cv_lib_$ac_lib_var=yes" … … 1724 1727 1725 1728 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 1726 echo "configure:17 27: checking for main in -lgmp" >&51729 echo "configure:1730: checking for main in -lgmp" >&5 1727 1730 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 1728 1731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1732 1735 LIBS="-lgmp $LIBS" 1733 1736 cat > conftest.$ac_ext <<EOF 1734 #line 173 5"configure"1737 #line 1738 "configure" 1735 1738 #include "confdefs.h" 1736 1739 … … 1739 1742 ; return 0; } 1740 1743 EOF 1741 if { (eval echo configure:174 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1744 if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1742 1745 rm -rf conftest* 1743 1746 eval "ac_cv_lib_$ac_lib_var=yes" … … 1767 1770 1768 1771 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 1769 echo "configure:177 0: checking for mpz_init in -lsmallgmp" >&51772 echo "configure:1773: checking for mpz_init in -lsmallgmp" >&5 1770 1773 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 1771 1774 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1775 1778 LIBS="-lsmallgmp $LIBS" 1776 1779 cat > conftest.$ac_ext <<EOF 1777 #line 17 78"configure"1780 #line 1781 "configure" 1778 1781 #include "confdefs.h" 1779 1782 /* Override any gcc2 internal prototype to avoid an error. */ … … 1786 1789 ; return 0; } 1787 1790 EOF 1788 if { (eval echo configure:17 89: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1791 if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1789 1792 rm -rf conftest* 1790 1793 eval "ac_cv_lib_$ac_lib_var=yes" … … 1814 1817 1815 1818 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 1816 echo "configure:18 17: checking for IMP_PutGmpInt in -lMP" >&51819 echo "configure:1820: checking for IMP_PutGmpInt in -lMP" >&5 1817 1820 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 1818 1821 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1822 1825 LIBS="-lMP $LIBS" 1823 1826 cat > conftest.$ac_ext <<EOF 1824 #line 182 5"configure"1827 #line 1828 "configure" 1825 1828 #include "confdefs.h" 1826 1829 /* Override any gcc2 internal prototype to avoid an error. */ … … 1833 1836 ; return 0; } 1834 1837 EOF 1835 if { (eval echo configure:183 6: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1838 if { (eval echo configure:1839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1836 1839 rm -rf conftest* 1837 1840 eval "ac_cv_lib_$ac_lib_var=yes" … … 1861 1864 1862 1865 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 1863 echo "configure:186 4: checking for MPT_GetTree in -lMPT" >&51866 echo "configure:1867: checking for MPT_GetTree in -lMPT" >&5 1864 1867 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 1865 1868 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1869 1872 LIBS="-lMPT $LIBS" 1870 1873 cat > conftest.$ac_ext <<EOF 1871 #line 187 2"configure"1874 #line 1875 "configure" 1872 1875 #include "confdefs.h" 1873 1876 /* Override any gcc2 internal prototype to avoid an error. */ … … 1880 1883 ; return 0; } 1881 1884 EOF 1882 if { (eval echo configure:188 3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1885 if { (eval echo configure:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1883 1886 rm -rf conftest* 1884 1887 eval "ac_cv_lib_$ac_lib_var=yes" … … 1908 1911 1909 1912 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 1910 echo "configure:191 1: checking for atof in -lsingcf" >&51913 echo "configure:1914: checking for atof in -lsingcf" >&5 1911 1914 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 1912 1915 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1916 1919 LIBS="-lsingcf $LIBS" 1917 1920 cat > conftest.$ac_ext <<EOF 1918 #line 19 19"configure"1921 #line 1922 "configure" 1919 1922 #include "confdefs.h" 1920 1923 /* Override any gcc2 internal prototype to avoid an error. */ … … 1927 1930 ; return 0; } 1928 1931 EOF 1929 if { (eval echo configure:193 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1932 if { (eval echo configure:1933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1930 1933 rm -rf conftest* 1931 1934 eval "ac_cv_lib_$ac_lib_var=yes" … … 1955 1958 1956 1959 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 1957 echo "configure:19 58: checking for atof in -lsingfac" >&51960 echo "configure:1961: checking for atof in -lsingfac" >&5 1958 1961 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 1959 1962 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1963 1966 LIBS="-lsingfac $LIBS" 1964 1967 cat > conftest.$ac_ext <<EOF 1965 #line 196 6"configure"1968 #line 1969 "configure" 1966 1969 #include "confdefs.h" 1967 1970 /* Override any gcc2 internal prototype to avoid an error. */ … … 1974 1977 ; return 0; } 1975 1978 EOF 1976 if { (eval echo configure:19 77: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1979 if { (eval echo configure:1980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1977 1980 rm -rf conftest* 1978 1981 eval "ac_cv_lib_$ac_lib_var=yes" … … 2002 2005 2003 2006 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 2004 echo "configure:200 5: checking for omTestAddr in -lomalloc" >&52007 echo "configure:2008: checking for omTestAddr in -lomalloc" >&5 2005 2008 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` 2006 2009 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2010 2013 LIBS="-lomalloc $LIBS" 2011 2014 cat > conftest.$ac_ext <<EOF 2012 #line 201 3"configure"2015 #line 2016 "configure" 2013 2016 #include "confdefs.h" 2014 2017 /* Override any gcc2 internal prototype to avoid an error. */ … … 2021 2024 ; return 0; } 2022 2025 EOF 2023 if { (eval echo configure:202 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2026 if { (eval echo configure:2027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2024 2027 rm -rf conftest* 2025 2028 eval "ac_cv_lib_$ac_lib_var=yes" … … 2049 2052 2050 2053 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 2051 echo "configure:205 2: checking for main in -lomalloc_ndebug" >&52054 echo "configure:2055: checking for main in -lomalloc_ndebug" >&5 2052 2055 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` 2053 2056 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2057 2060 LIBS="-lomalloc_ndebug $LIBS" 2058 2061 cat > conftest.$ac_ext <<EOF 2059 #line 206 0"configure"2062 #line 2063 "configure" 2060 2063 #include "confdefs.h" 2061 2064 … … 2064 2067 ; return 0; } 2065 2068 EOF 2066 if { (eval echo configure:20 67: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2069 if { (eval echo configure:2070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2067 2070 rm -rf conftest* 2068 2071 eval "ac_cv_lib_$ac_lib_var=yes" … … 2096 2099 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2097 2100 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2098 echo "configure:2 099: checking for $ac_hdr" >&52101 echo "configure:2102: checking for $ac_hdr" >&5 2099 2102 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2100 2103 echo $ac_n "(cached) $ac_c" 1>&6 2101 2104 else 2102 2105 cat > conftest.$ac_ext <<EOF 2103 #line 210 4"configure"2106 #line 2107 "configure" 2104 2107 #include "confdefs.h" 2105 2108 #include <$ac_hdr> 2106 2109 EOF 2107 2110 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2108 { (eval echo configure:21 09: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2111 { (eval echo configure:2112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2109 2112 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2110 2113 if test -z "$ac_err"; then … … 2284 2287 2285 2288 echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6 2286 echo "configure:22 87: checking which tmp dir to use" >&52289 echo "configure:2290: checking which tmp dir to use" >&5 2287 2290 if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then 2288 2291 if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1) … … 2299 2302 2300 2303 echo $ac_n "checking whether to configure and build omalloc""... $ac_c" 1>&6 2301 echo "configure:230 2: checking whether to configure and build omalloc" >&52304 echo "configure:2305: checking whether to configure and build omalloc" >&5 2302 2305 if test "${enable_omalloc+set}" != set; then 2303 2306 if test "$ac_cv_omalloc_ok" = yes; then … … 2337 2340 2338 2341 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 2339 echo "configure:234 0: checking whether to configure and build gmp lib" >&52342 echo "configure:2343: checking whether to configure and build gmp lib" >&5 2340 2343 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 2341 2344 if test "$ac_gmp_ok" != yes && test -d gmp; then … … 2383 2386 2384 2387 echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6 2385 echo "configure:238 6: checking whether to configure and build smallgmp lib" >&52388 echo "configure:2389: checking whether to configure and build smallgmp lib" >&5 2386 2389 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 2387 2390 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ … … 2424 2427 2425 2428 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 2426 echo "configure:24 27: checking whether to configure and build MP lib" >&52429 echo "configure:2430: checking whether to configure and build MP lib" >&5 2427 2430 if test "$enable_MP" != yes && test "$enable_MP" != no; then 2428 2431 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ … … 2457 2460 fi 2458 2461 2462 echo $ac_n "checking whether to configure and build NTL lib""... $ac_c" 1>&6 2463 echo "configure:2464: checking whether to configure and build NTL lib" >&5 2464 if test "$enable_NTL" != yes && test "$enable_NTL" != no; then 2465 if test "$with_NTL" != no && test "$ac_NTL_ok" != yes && \ 2466 test -d ntl; then 2467 enable_NTL=yes 2468 echo "$ac_t""yes" 1>&6 2469 CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl" 2470 ac_configure_args="$ac_configure_args --enable-NTL" 2471 else 2472 enable_NTL=no 2473 echo "$ac_t""no" 1>&6 2474 fi 2475 elif test "$enable_NTL" = yes; then 2476 if test -d ntl; then 2477 echo "$ac_t""yes" 1>&6 2478 CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl" 2479 else 2480 echo "$ac_t""no" 1>&6 2481 { echo "configure: error: can not build NTL without ntl directory" 1>&2; exit 1; } 2482 fi 2483 else 2484 echo "$ac_t""no" 1>&6 2485 fi 2459 2486 2460 2487 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 2461 echo "configure:24 62: checking whether to configure and build factory lib" >&52488 echo "configure:2489: checking whether to configure and build factory lib" >&5 2462 2489 if test "$enable_factory" != yes && test "$enable_factory" != no; then 2463 2490 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ … … 2484 2511 2485 2512 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 2486 echo "configure:2 487: checking whether to configure and build libfac lib" >&52513 echo "configure:2514: checking whether to configure and build libfac lib" >&5 2487 2514 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 2488 2515 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ … … 2514 2541 2515 2542 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 2516 echo "configure:25 17: checking whether to configure and build sgroup lib" >&52543 echo "configure:2544: checking whether to configure and build sgroup lib" >&5 2517 2544 if test "$enable_sgroup" = yes; then 2518 2545 if test ! -d sgroup; then … … 2534 2561 2535 2562 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 2536 echo "configure:25 37: checking whether to configure and build Singular" >&52563 echo "configure:2564: checking whether to configure and build Singular" >&5 2537 2564 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 2538 2565 if test "$with_Singular" != no && test -d Singular; then … … 2563 2590 2564 2591 echo $ac_n "checking whether to build IntegerProgramming""... $ac_c" 1>&6 2565 echo "configure:25 66: checking whether to build IntegerProgramming" >&52592 echo "configure:2593: checking whether to build IntegerProgramming" >&5 2566 2593 if test "$enable_IntegerProgramming" != no && test -d "IntegerProgramming"; then 2567 2594 BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming" … … 2575 2602 2576 2603 echo $ac_n "checking whether to build Plural""... $ac_c" 1>&6 2577 echo "configure:2 578: checking whether to build Plural" >&52604 echo "configure:2605: checking whether to build Plural" >&5 2578 2605 if test "$enable_Plural" != no && test -d "Plural"; then 2579 2606 BUILD_SUBDIRS="$BUILD_SUBDIRS Plural" … … 2588 2615 2589 2616 echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6 2590 echo "configure:2 591: checking whether to configure and build Texinfo" >&52617 echo "configure:2618: checking whether to configure and build Texinfo" >&5 2591 2618 if test "$enable_Texinfo" != no && test -d Texinfo; then 2592 2619 echo "$ac_t""yes" 1>&6 … … 2610 2637 set dummy makeinfo; ac_word=$2 2611 2638 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2612 echo "configure:26 13: checking for $ac_word" >&52639 echo "configure:2640: checking for $ac_word" >&5 2613 2640 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then 2614 2641 echo $ac_n "(cached) $ac_c" 1>&6 … … 2640 2667 set dummy texi2dvi; ac_word=$2 2641 2668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2642 echo "configure:26 43: checking for $ac_word" >&52669 echo "configure:2670: checking for $ac_word" >&5 2643 2670 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then 2644 2671 echo $ac_n "(cached) $ac_c" 1>&6 … … 2670 2697 set dummy texindex; ac_word=$2 2671 2698 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2672 echo "configure:2 673: checking for $ac_word" >&52699 echo "configure:2700: checking for $ac_word" >&5 2673 2700 if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then 2674 2701 echo $ac_n "(cached) $ac_c" 1>&6 … … 2700 2727 2701 2728 echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6 2702 echo "configure:27 03: checking whether to configure and build Texi2html" >&52729 echo "configure:2730: checking whether to configure and build Texi2html" >&5 2703 2730 if test "$enable_Texi2html" != no && test -d Texi2html; then 2704 2731 echo "$ac_t""yes" 1>&6 … … 2715 2742 set dummy texi2html; ac_word=$2 2716 2743 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2717 echo "configure:27 18: checking for $ac_word" >&52744 echo "configure:2745: checking for $ac_word" >&5 2718 2745 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then 2719 2746 echo $ac_n "(cached) $ac_c" 1>&6 … … 2753 2780 2754 2781 echo $ac_n "checking whether to build doc""... $ac_c" 1>&6 2755 echo "configure:27 56: checking whether to build doc" >&52782 echo "configure:2783: checking whether to build doc" >&5 2756 2783 if test "$enable_doc" != no && test -d doc; then 2757 2784 echo "$ac_t""yes" 1>&6 … … 2767 2794 2768 2795 echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6 2769 echo "configure:27 70: checking whether to build emacs" >&52796 echo "configure:2797: checking whether to build emacs" >&5 2770 2797 if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then 2771 2798 echo "$ac_t""yes" 1>&6 … … 2779 2806 2780 2807 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 2781 echo "configure:2 782: checking which apint package to use" >&52808 echo "configure:2809: checking which apint package to use" >&5 2782 2809 if test "$with_apint" = gmp; then 2783 2810 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 2803 2830 2804 2831 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 2805 echo "configure:28 06: checking whether to use with MP" >&52832 echo "configure:2833: checking whether to use with MP" >&5 2806 2833 if test "$with_MP" = yes; then 2807 2834 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then … … 2822 2849 2823 2850 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 2824 echo "configure:28 25: checking whether to use with factory" >&52851 echo "configure:2852: checking whether to use with factory" >&5 2825 2852 if test "$with_factory" = yes; then 2826 2853 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 2841 2868 2842 2869 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 2843 echo "configure:28 44: checking whether to use with libfac" >&52870 echo "configure:2871: checking whether to use with libfac" >&5 2844 2871 if test "$with_libfac" = yes; then 2845 2872 if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then … … 2862 2889 2863 2890 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 2864 echo "configure:28 65: checking whether to use with Singular" >&52891 echo "configure:2892: checking whether to use with Singular" >&5 2865 2892 if test "$with_Singular" != no && test "$with_Singular" != yes; then 2866 2893 if test "$enable_Singular" = yes; then … … 2892 2919 SUBDIRS="$SUBDIRS MP" 2893 2920 fi 2921 if test -d ntl; then 2922 SUBDIRS="$SUBDIRS ntl" 2923 fi 2894 2924 if test -d factory; then 2895 2925 SUBDIRS="$SUBDIRS factory" … … 2921 2951 2922 2952 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2923 echo "configure:29 24: checking whether ${MAKE-make} sets \${MAKE}" >&52953 echo "configure:2954: checking whether ${MAKE-make} sets \${MAKE}" >&5 2924 2954 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2925 2955 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 3101 3131 s%@VERSION_DATE@%$VERSION_DATE%g 3102 3132 s%@SINGULAR_SHORT_VERSION@%$SINGULAR_SHORT_VERSION%g 3133 s%@SINGULAR_RPM_VERSION@%$SINGULAR_RPM_VERSION%g 3103 3134 s%@SINGULAR_ROOT_DIR@%$SINGULAR_ROOT_DIR%g 3104 3135 s%@SINGUNAME@%$SINGUNAME%g -
configure.in
r77902f r4d7834 476 476 fi 477 477 478 AC_MSG_CHECKING(whether to configure and build NTL lib) 479 if test "$enable_NTL" != yes && test "$enable_NTL" != no; then 480 if test "$with_NTL" != no && test "$ac_NTL_ok" != yes && \ 481 test -d ntl; then 482 enable_NTL=yes 483 AC_MSG_RESULT(yes) 484 CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl" 485 ac_configure_args="$ac_configure_args --enable-NTL" 486 else 487 enable_NTL=no 488 AC_MSG_RESULT(no) 489 fi 490 elif test "$enable_NTL" = yes; then 491 if test -d ntl; then 492 AC_MSG_RESULT(yes) 493 CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl" 494 else 495 AC_MSG_RESULT(no) 496 AC_MSG_ERROR(can not build NTL without ntl directory) 497 fi 498 else 499 AC_MSG_RESULT(no) 500 fi 478 501 479 502 AC_MSG_CHECKING(whether to configure and build factory lib) … … 804 827 SUBDIRS="$SUBDIRS MP" 805 828 fi 829 if test -d ntl; then 830 SUBDIRS="$SUBDIRS ntl" 831 fi 806 832 if test -d factory; then 807 833 SUBDIRS="$SUBDIRS factory"
Note: See TracChangeset
for help on using the changeset viewer.