- Timestamp:
- Jun 12, 1998, 11:05:38 AM (26 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
- Children:
- 1d7c4b47b26fed52a770d79387350be523837831
- Parents:
- 8b3789cab9cfc1c1353b9650436478a0dcd32506
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r8b3789 r3d8259 841 841 842 842 843 for ac_prog in perl5 perl 844 do 845 # Extract the first word of "$ac_prog", so it can be a program name with args. 846 set dummy $ac_prog; ac_word=$2 847 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 848 echo "configure:849: checking for $ac_word" >&5 849 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 850 echo $ac_n "(cached) $ac_c" 1>&6 851 else 852 if test -n "$PERL"; then 853 ac_cv_prog_PERL="$PERL" # Let the user override the test. 854 else 855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 856 for ac_dir in $PATH; do 857 test -z "$ac_dir" && ac_dir=. 858 if test -f $ac_dir/$ac_word; then 859 ac_cv_prog_PERL="$ac_prog" 860 break 861 fi 862 done 863 IFS="$ac_save_ifs" 864 fi 865 fi 866 PERL="$ac_cv_prog_PERL" 867 if test -n "$PERL"; then 868 echo "$ac_t""$PERL" 1>&6 869 else 870 echo "$ac_t""no" 1>&6 871 fi 872 873 test -n "$PERL" && break 874 done 875 843 876 844 877 # expand prefix and pass it to subsequent configures … … 892 925 # check for AIX 893 926 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 894 echo "configure: 895: checking whether _AIX is defined" >&5927 echo "configure:928: checking whether _AIX is defined" >&5 895 928 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 896 929 echo $ac_n "(cached) $ac_c" 1>&6 897 930 else 898 931 cat > conftest.$ac_ext <<EOF 899 #line 9 00"configure"932 #line 933 "configure" 900 933 #include "confdefs.h" 901 934 #ifdef _AIX … … 923 956 924 957 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 925 echo "configure:9 26: checking for atof in -lm" >&5958 echo "configure:959: checking for atof in -lm" >&5 926 959 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 927 960 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 931 964 LIBS="-lm $LIBS" 932 965 cat > conftest.$ac_ext <<EOF 933 #line 9 34"configure"966 #line 967 "configure" 934 967 #include "confdefs.h" 935 968 /* Override any gcc2 internal prototype to avoid an error. */ … … 942 975 ; return 0; } 943 976 EOF 944 if { (eval echo configure:9 45: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then977 if { (eval echo configure:978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 945 978 rm -rf conftest* 946 979 eval "ac_cv_lib_$ac_lib_var=yes" … … 970 1003 971 1004 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 972 echo "configure: 973: checking for socket in -lbsd" >&51005 echo "configure:1006: checking for socket in -lbsd" >&5 973 1006 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 974 1007 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 978 1011 LIBS="-lbsd $LIBS" 979 1012 cat > conftest.$ac_ext <<EOF 980 #line 981"configure"1013 #line 1014 "configure" 981 1014 #include "confdefs.h" 982 1015 /* Override any gcc2 internal prototype to avoid an error. */ … … 989 1022 ; return 0; } 990 1023 EOF 991 if { (eval echo configure: 992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1024 if { (eval echo configure:1025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 992 1025 rm -rf conftest* 993 1026 eval "ac_cv_lib_$ac_lib_var=yes" … … 1017 1050 1018 1051 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1019 echo "configure:10 20: checking for listen in -lsocket" >&51052 echo "configure:1053: checking for listen in -lsocket" >&5 1020 1053 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1021 1054 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1025 1058 LIBS="-lsocket $LIBS" 1026 1059 cat > conftest.$ac_ext <<EOF 1027 #line 10 28"configure"1060 #line 1061 "configure" 1028 1061 #include "confdefs.h" 1029 1062 /* Override any gcc2 internal prototype to avoid an error. */ … … 1036 1069 ; return 0; } 1037 1070 EOF 1038 if { (eval echo configure:10 39: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1071 if { (eval echo configure:1072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1039 1072 rm -rf conftest* 1040 1073 eval "ac_cv_lib_$ac_lib_var=yes" … … 1064 1097 1065 1098 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1066 echo "configure:1 067: checking for gethostbyname in -lnsl" >&51099 echo "configure:1100: checking for gethostbyname in -lnsl" >&5 1067 1100 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1068 1101 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1072 1105 LIBS="-lnsl $LIBS" 1073 1106 cat > conftest.$ac_ext <<EOF 1074 #line 1 075"configure"1107 #line 1108 "configure" 1075 1108 #include "confdefs.h" 1076 1109 /* Override any gcc2 internal prototype to avoid an error. */ … … 1083 1116 ; return 0; } 1084 1117 EOF 1085 if { (eval echo configure:1 086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1118 if { (eval echo configure:1119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1086 1119 rm -rf conftest* 1087 1120 eval "ac_cv_lib_$ac_lib_var=yes" … … 1111 1144 1112 1145 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 1113 echo "configure:11 14: checking for mpq_init in -lgmp" >&51146 echo "configure:1147: checking for mpq_init in -lgmp" >&5 1114 1147 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 1115 1148 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1119 1152 LIBS="-lgmp $LIBS" 1120 1153 cat > conftest.$ac_ext <<EOF 1121 #line 11 22"configure"1154 #line 1155 "configure" 1122 1155 #include "confdefs.h" 1123 1156 /* Override any gcc2 internal prototype to avoid an error. */ … … 1130 1163 ; return 0; } 1131 1164 EOF 1132 if { (eval echo configure:11 33: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1165 if { (eval echo configure:1166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1133 1166 rm -rf conftest* 1134 1167 eval "ac_cv_lib_$ac_lib_var=yes" … … 1158 1191 1159 1192 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 1160 echo "configure:11 61: checking for mpz_init in -lsmallgmp" >&51193 echo "configure:1194: checking for mpz_init in -lsmallgmp" >&5 1161 1194 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 1162 1195 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1166 1199 LIBS="-lsmallgmp $LIBS" 1167 1200 cat > conftest.$ac_ext <<EOF 1168 #line 1 169"configure"1201 #line 1202 "configure" 1169 1202 #include "confdefs.h" 1170 1203 /* Override any gcc2 internal prototype to avoid an error. */ … … 1177 1210 ; return 0; } 1178 1211 EOF 1179 if { (eval echo configure:1 180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1212 if { (eval echo configure:1213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1180 1213 rm -rf conftest* 1181 1214 eval "ac_cv_lib_$ac_lib_var=yes" … … 1205 1238 1206 1239 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 1207 echo "configure:12 08: checking for IMP_PutGmpInt in -lMP" >&51240 echo "configure:1241: checking for IMP_PutGmpInt in -lMP" >&5 1208 1241 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 1209 1242 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1213 1246 LIBS="-lMP $LIBS" 1214 1247 cat > conftest.$ac_ext <<EOF 1215 #line 12 16"configure"1248 #line 1249 "configure" 1216 1249 #include "confdefs.h" 1217 1250 /* Override any gcc2 internal prototype to avoid an error. */ … … 1224 1257 ; return 0; } 1225 1258 EOF 1226 if { (eval echo configure:12 27: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1259 if { (eval echo configure:1260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1227 1260 rm -rf conftest* 1228 1261 eval "ac_cv_lib_$ac_lib_var=yes" … … 1252 1285 1253 1286 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 1254 echo "configure:12 55: checking for MPT_GetTree in -lMPT" >&51287 echo "configure:1288: checking for MPT_GetTree in -lMPT" >&5 1255 1288 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 1256 1289 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1260 1293 LIBS="-lMPT $LIBS" 1261 1294 cat > conftest.$ac_ext <<EOF 1262 #line 12 63"configure"1295 #line 1296 "configure" 1263 1296 #include "confdefs.h" 1264 1297 /* Override any gcc2 internal prototype to avoid an error. */ … … 1271 1304 ; return 0; } 1272 1305 EOF 1273 if { (eval echo configure:1 274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1306 if { (eval echo configure:1307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1274 1307 rm -rf conftest* 1275 1308 eval "ac_cv_lib_$ac_lib_var=yes" … … 1299 1332 1300 1333 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 1301 echo "configure:13 02: checking for atof in -lsingcf" >&51334 echo "configure:1335: checking for atof in -lsingcf" >&5 1302 1335 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 1303 1336 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1307 1340 LIBS="-lsingcf $LIBS" 1308 1341 cat > conftest.$ac_ext <<EOF 1309 #line 13 10"configure"1342 #line 1343 "configure" 1310 1343 #include "confdefs.h" 1311 1344 /* Override any gcc2 internal prototype to avoid an error. */ … … 1318 1351 ; return 0; } 1319 1352 EOF 1320 if { (eval echo configure:13 21: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1353 if { (eval echo configure:1354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1321 1354 rm -rf conftest* 1322 1355 eval "ac_cv_lib_$ac_lib_var=yes" … … 1346 1379 1347 1380 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 1348 echo "configure:13 49: checking for atof in -lsingfac" >&51381 echo "configure:1382: checking for atof in -lsingfac" >&5 1349 1382 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 1350 1383 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1354 1387 LIBS="-lsingfac $LIBS" 1355 1388 cat > conftest.$ac_ext <<EOF 1356 #line 13 57"configure"1389 #line 1390 "configure" 1357 1390 #include "confdefs.h" 1358 1391 /* Override any gcc2 internal prototype to avoid an error. */ … … 1365 1398 ; return 0; } 1366 1399 EOF 1367 if { (eval echo configure:1 368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1400 if { (eval echo configure:1401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1368 1401 rm -rf conftest* 1369 1402 eval "ac_cv_lib_$ac_lib_var=yes" … … 1397 1430 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1398 1431 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1399 echo "configure:14 00: checking for $ac_hdr" >&51432 echo "configure:1433: checking for $ac_hdr" >&5 1400 1433 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1401 1434 echo $ac_n "(cached) $ac_c" 1>&6 1402 1435 else 1403 1436 cat > conftest.$ac_ext <<EOF 1404 #line 14 05"configure"1437 #line 1438 "configure" 1405 1438 #include "confdefs.h" 1406 1439 #include <$ac_hdr> 1407 1440 EOF 1408 1441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1409 { (eval echo configure:14 10: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1442 { (eval echo configure:1443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1410 1443 ac_err=`grep -v '^ *+' conftest.out` 1411 1444 if test -z "$ac_err"; then … … 1532 1565 1533 1566 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 1534 echo "configure:15 35: checking whether to configure and build gmp lib" >&51567 echo "configure:1568: checking whether to configure and build gmp lib" >&5 1535 1568 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 1536 1569 if test "$ac_gmp_ok" != yes && test -d gmp; then … … 1558 1591 1559 1592 echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6 1560 echo "configure:15 61: checking whether to configure and build smallgmp lib" >&51593 echo "configure:1594: checking whether to configure and build smallgmp lib" >&5 1561 1594 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 1562 1595 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ … … 1597 1630 1598 1631 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 1599 echo "configure:16 00: checking whether to configure and build MP lib" >&51632 echo "configure:1633: checking whether to configure and build MP lib" >&5 1600 1633 if test "$enable_MP" != yes && test "$enable_MP" != no; then 1601 1634 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ … … 1626 1659 1627 1660 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 1628 echo "configure:16 29: checking whether to configure and build factory lib" >&51661 echo "configure:1662: checking whether to configure and build factory lib" >&5 1629 1662 if test "$enable_factory" != yes && test "$enable_factory" != no; then 1630 1663 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ … … 1651 1684 1652 1685 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 1653 echo "configure:16 54: checking whether to configure and build libfac lib" >&51686 echo "configure:1687: checking whether to configure and build libfac lib" >&5 1654 1687 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 1655 1688 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ … … 1681 1714 1682 1715 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 1683 echo "configure:1 684: checking whether to configure and build sgroup lib" >&51716 echo "configure:1717: checking whether to configure and build sgroup lib" >&5 1684 1717 if test "$enable_sgroup" != yes && test "$enable_sgroup" != no; then 1685 1718 if test "$with_sgroup" != no && test "$ac_sgroup_ok" != yes && \ … … 1711 1744 1712 1745 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 1713 echo "configure:17 14: checking whether to configure and build Singular" >&51746 echo "configure:1747: checking whether to configure and build Singular" >&5 1714 1747 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 1715 1748 if test "$with_Singular" != no && test -d Singular; then … … 1736 1769 1737 1770 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 1738 echo "configure:17 39: checking which apint package to use" >&51771 echo "configure:1772: checking which apint package to use" >&5 1739 1772 if test "$with_apint" = gmp; then 1740 1773 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 1760 1793 1761 1794 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 1762 echo "configure:17 63: checking whether to use with MP" >&51795 echo "configure:1796: checking whether to use with MP" >&5 1763 1796 if test "$with_MP" = yes; then 1764 1797 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then … … 1779 1812 1780 1813 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 1781 echo "configure:1 782: checking whether to use with factory" >&51814 echo "configure:1815: checking whether to use with factory" >&5 1782 1815 if test "$with_factory" = yes; then 1783 1816 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 1798 1831 1799 1832 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 1800 echo "configure:18 01: checking whether to use with libfac" >&51833 echo "configure:1834: checking whether to use with libfac" >&5 1801 1834 if test "$with_libfac" = yes; then 1802 1835 if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then … … 1817 1850 1818 1851 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 1819 echo "configure:18 20: checking whether to use with Singular" >&51852 echo "configure:1853: checking whether to use with Singular" >&5 1820 1853 if test "$with_Singular" != no && test "$with_Singular" != yes; then 1821 1854 if test "$enable_Singular" = yes; then … … 1862 1895 1863 1896 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1864 echo "configure:18 65: checking whether ${MAKE-make} sets \${MAKE}" >&51897 echo "configure:1898: checking whether ${MAKE-make} sets \${MAKE}" >&5 1865 1898 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1866 1899 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 2059 2092 s%@CC@%$CC%g 2060 2093 s%@CPP@%$CPP%g 2094 s%@PERL@%$PERL%g 2061 2095 s%@SINGULAR@%$SINGULAR%g 2062 2096 s%@SET_MAKE@%$SET_MAKE%g
Note: See TracChangeset
for help on using the changeset viewer.