Changeset dc87554 in git
- Timestamp:
- May 2, 1997, 4:49:13 PM (27 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- fde1a8734f321f72cbe87001fd682d36e955e8a1
- Parents:
- e50385bea471e6433628f35a413b3595e7fb5ff7
- Location:
- Singular
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/INSTALL
re50385b rdc87554 5 5 (C) 1986-1997 All Rights Reserved 6 6 7 INSTALLATION INSTRUCTIONS FOR SINGULAR 7 INSTALLATION INSTRUCTIONS FOR SINGULAR 8 8 ====================================== 9 9 -
Singular/Makefile.in
re50385b rdc87554 22 22 exec_prefix = @exec_prefix@ 23 23 libdir = @libdir@ 24 bindir = @bindir@ # program executable goes here 25 singulardatadir = @singulardatadir@ # Singular libs go here 24 # program executable goes here 25 bindir = @bindir@ 26 # Singular libs go here 27 singulardatadir = @singulardatadir@ 26 28 includedir = @includedir@ 27 29 … … 37 39 BISON = bison 38 40 LEX = flex 41 @SET_MAKE@ 39 42 40 43 ## … … 165 168 mod2.h: config.status config.cache mod2.h.in Makefile.in 166 169 ./config.status 167 touch -r mod2.h configure configure.in Makefile Makefile.in 170 touch -r mod2.h config.status config.cache configure \ 171 configure.in Makefile.in 168 172 169 173 config.status config.cache : configure 170 174 ./configure ${CONFIGURE_INPUT} --no-create 171 touch -r configure config. cache config.status175 touch -r configure config.status config.cache 172 176 173 177 configure: configure.in -
Singular/configure
re50385b rdc87554 530 530 531 531 532 MAJOR_VERSION=1533 MINOR_VERSION=0534 S UB_VERSION=0532 SINGULAR_MAJOR_VERSION=1 533 SINGULAR_MINOR_VERSION=0 534 SINGULAR_SUB_VERSION=0 535 535 VERSION_DATE="April 1997" 536 536 … … 538 538 539 539 cat >> confdefs.h <<EOF 540 #define MAJOR_VERSION ${MAJOR_VERSION}540 #define SINGULAR_MAJOR_VERSION ${SINGULAR_MAJOR_VERSION} 541 541 EOF 542 542 543 543 cat >> confdefs.h <<EOF 544 #define MINOR_VERSION ${MINOR_VERSION}544 #define SINGULAR_MINOR_VERSION ${SINGULAR_MINOR_VERSION} 545 545 EOF 546 546 547 547 cat >> confdefs.h <<EOF 548 #define S_VERSION1 "version: ${ MAJOR_VERSION}.${MINOR_VERSION}.${SUB_VERSION}"548 #define S_VERSION1 "version: ${SINGULAR_MAJOR_VERSION}.${SINGULAR_MINOR_VERSION}.${SINGULAR_SUB_VERSION}" 549 549 EOF 550 550 … … 789 789 fi 790 790 791 if test "x$libdir" = '${prefix}/lib'; then 792 if test "x$prefix" = xNONE; then 793 LDFLAGS="-L${ac_default_prefix}/lib ${LDFLAGS}" 791 if test "x$libdir" = '${exec_prefix}/lib'; then 792 if test "x$exec_prefix" = xNONE; then 793 if test "x$prefix" = xNONE; then 794 LDFLAGS="-L${ac_default_prefix}/lib ${LDFLAGS}" 795 else 796 LDFLAGS="-L${prefix}/lib ${LDFLAGS}" 797 fi 794 798 else 795 LDFLAGS="-L${ prefix}/lib ${LDFLAGS}"799 LDFLAGS="-L${exec_prefix}/lib ${LDFLAGS}" 796 800 fi 797 801 else … … 801 805 if test "x$includedir" = '${prefix}/include'; then 802 806 if test "x$prefix" = xNONE; then 803 CPPFLAGS="- L${ac_default_prefix}/include ${CPPFLAGS}"807 CPPFLAGS="-I${ac_default_prefix}/include ${CPPFLAGS}" 804 808 else 805 CPPFLAGS="- L${prefix}/include ${CPPFLAGS}"809 CPPFLAGS="-I${prefix}/include ${CPPFLAGS}" 806 810 fi 807 811 else 808 CPPFLAGS="- L${includedir} ${CPPFLAGS}"812 CPPFLAGS="-I${includedir} ${CPPFLAGS}" 809 813 fi 810 814 … … 1008 1012 1009 1013 1010 LIBS="-lm $LIBS" 1014 echo $ac_n "checking for -lm""... $ac_c" 1>&6 1015 ac_lib_var=`echo m_atof | tr '.-/+' '___p'` 1016 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1017 echo $ac_n "(cached) $ac_c" 1>&6 1018 else 1019 ac_save_LIBS="$LIBS" 1020 LIBS="-lm $LIBS" 1021 cat > conftest.$ac_ext <<EOF 1022 #line 1023 "configure" 1023 #include "confdefs.h" 1024 /* Override any gcc2 internal prototype to avoid an error. */ 1025 char atof(); 1026 1027 int main() { return 0; } 1028 int t() { 1029 atof() 1030 ; return 0; } 1031 EOF 1032 if { (eval echo configure:1033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1033 rm -rf conftest* 1034 eval "ac_cv_lib_$ac_lib_var=yes" 1035 else 1036 rm -rf conftest* 1037 eval "ac_cv_lib_$ac_lib_var=no" 1038 fi 1039 rm -f conftest* 1040 LIBS="$ac_save_LIBS" 1041 1042 fi 1043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1044 echo "$ac_t""yes" 1>&6 1045 ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1046 cat >> confdefs.h <<EOF 1047 #define $ac_tr_lib 1 1048 EOF 1049 1050 LIBS="-lm $LIBS" 1051 1052 else 1053 echo "$ac_t""no" 1>&6 1054 fi 1011 1055 1012 1056 echo $ac_n "checking for -lbsd""... $ac_c" 1>&6 1013 ac_lib_var=`echo bsd_ bzero| tr '.-/+' '___p'`1057 ac_lib_var=`echo bsd_socket | tr '.-/+' '___p'` 1014 1058 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1015 1059 echo $ac_n "(cached) $ac_c" 1>&6 … … 1018 1062 LIBS="-lbsd $LIBS" 1019 1063 cat > conftest.$ac_ext <<EOF 1020 #line 10 21"configure"1064 #line 1065 "configure" 1021 1065 #include "confdefs.h" 1022 1066 /* Override any gcc2 internal prototype to avoid an error. */ 1023 char bzero();1067 char socket(); 1024 1068 1025 1069 int main() { return 0; } 1026 1070 int t() { 1027 bzero()1071 socket() 1028 1072 ; return 0; } 1029 1073 EOF 1030 if { (eval echo configure:10 31: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1074 if { (eval echo configure:1075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1031 1075 rm -rf conftest* 1032 1076 eval "ac_cv_lib_$ac_lib_var=yes" … … 1041 1085 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1042 1086 echo "$ac_t""yes" 1>&6 1087 ac_tr_lib=HAVE_LIB`echo bsd | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1088 cat >> confdefs.h <<EOF 1089 #define $ac_tr_lib 1 1090 EOF 1091 1043 1092 LIBS="-lbsd $LIBS" 1044 1093 … … 1057 1106 LIBS="-lncurses $LIBS" 1058 1107 cat > conftest.$ac_ext <<EOF 1059 #line 1 060"configure"1108 #line 1109 "configure" 1060 1109 #include "confdefs.h" 1061 1110 /* Override any gcc2 internal prototype to avoid an error. */ … … 1067 1116 ; return 0; } 1068 1117 EOF 1069 if { (eval echo configure:1 070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1118 if { (eval echo configure:1119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1070 1119 rm -rf conftest* 1071 1120 eval "ac_cv_lib_$ac_lib_var=yes" … … 1098 1147 LIBS="-lcurses $LIBS" 1099 1148 cat > conftest.$ac_ext <<EOF 1100 #line 11 01"configure"1149 #line 1150 "configure" 1101 1150 #include "confdefs.h" 1102 1151 /* Override any gcc2 internal prototype to avoid an error. */ … … 1108 1157 ; return 0; } 1109 1158 EOF 1110 if { (eval echo configure:11 11: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1159 if { (eval echo configure:1160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1111 1160 rm -rf conftest* 1112 1161 eval "ac_cv_lib_$ac_lib_var=yes" … … 1139 1188 LIBS="-ltermcap $LIBS" 1140 1189 cat > conftest.$ac_ext <<EOF 1141 #line 11 42"configure"1190 #line 1191 "configure" 1142 1191 #include "confdefs.h" 1143 1192 /* Override any gcc2 internal prototype to avoid an error. */ … … 1149 1198 ; return 0; } 1150 1199 EOF 1151 if { (eval echo configure:1 152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1200 if { (eval echo configure:1201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1152 1201 rm -rf conftest* 1153 1202 eval "ac_cv_lib_$ac_lib_var=yes" … … 1185 1234 LIBS="-lreadline $LIBS" 1186 1235 cat > conftest.$ac_ext <<EOF 1187 #line 1 188"configure"1236 #line 1237 "configure" 1188 1237 #include "confdefs.h" 1189 1238 /* Override any gcc2 internal prototype to avoid an error. */ … … 1195 1244 ; return 0; } 1196 1245 EOF 1197 if { (eval echo configure:1 198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1246 if { (eval echo configure:1247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1198 1247 rm -rf conftest* 1199 1248 eval "ac_cv_lib_$ac_lib_var=yes" … … 1235 1284 # not just through cpp. 1236 1285 cat > conftest.$ac_ext <<EOF 1237 #line 12 38"configure"1286 #line 1287 "configure" 1238 1287 #include "confdefs.h" 1239 1288 #include <assert.h> … … 1241 1290 EOF 1242 1291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1243 { (eval echo configure:12 44: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1292 { (eval echo configure:1293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1244 1293 ac_err=`grep -v '^ *+' conftest.out` 1245 1294 if test -z "$ac_err"; then … … 1250 1299 CPP="${CC-cc} -E -traditional-cpp" 1251 1300 cat > conftest.$ac_ext <<EOF 1252 #line 1 253"configure"1301 #line 1302 "configure" 1253 1302 #include "confdefs.h" 1254 1303 #include <assert.h> … … 1256 1305 EOF 1257 1306 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1258 { (eval echo configure:1 259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1307 { (eval echo configure:1308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1259 1308 ac_err=`grep -v '^ *+' conftest.out` 1260 1309 if test -z "$ac_err"; then … … 1284 1333 else 1285 1334 cat > conftest.$ac_ext <<EOF 1286 #line 1 287"configure"1335 #line 1336 "configure" 1287 1336 #include "confdefs.h" 1288 1337 #include <$ac_hdr> 1289 1338 EOF 1290 1339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1291 { (eval echo configure:1 292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1340 { (eval echo configure:1341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1292 1341 ac_err=`grep -v '^ *+' conftest.out` 1293 1342 if test -z "$ac_err"; then … … 1343 1392 LIBS="-ldbm $LIBS" 1344 1393 cat > conftest.$ac_ext <<EOF 1345 #line 13 46"configure"1394 #line 1395 "configure" 1346 1395 #include "confdefs.h" 1347 1396 /* Override any gcc2 internal prototype to avoid an error. */ … … 1353 1402 ; return 0; } 1354 1403 EOF 1355 if { (eval echo configure:1 356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1404 if { (eval echo configure:1405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1356 1405 rm -rf conftest* 1357 1406 eval "ac_cv_lib_$ac_lib_var=yes" … … 1372 1421 else 1373 1422 echo "$ac_t""no" 1>&6 1374 echo $ac_n "checking for -lg bm""... $ac_c" 1>&61375 ac_lib_var=`echo g bm_dbminit | tr '.-/+' '___p'`1423 echo $ac_n "checking for -lgdbm""... $ac_c" 1>&6 1424 ac_lib_var=`echo gdbm_dbminit | tr '.-/+' '___p'` 1376 1425 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1377 1426 echo $ac_n "(cached) $ac_c" 1>&6 1378 1427 else 1379 1428 ac_save_LIBS="$LIBS" 1380 LIBS="-lg bm $LIBS"1429 LIBS="-lgdbm $LIBS" 1381 1430 cat > conftest.$ac_ext <<EOF 1382 #line 1 383"configure"1431 #line 1432 "configure" 1383 1432 #include "confdefs.h" 1384 1433 /* Override any gcc2 internal prototype to avoid an error. */ … … 1390 1439 ; return 0; } 1391 1440 EOF 1392 if { (eval echo configure:1 393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1441 if { (eval echo configure:1442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1393 1442 rm -rf conftest* 1394 1443 eval "ac_cv_lib_$ac_lib_var=yes" … … 1425 1474 LIBS="-ldld $LIBS" 1426 1475 cat > conftest.$ac_ext <<EOF 1427 #line 14 28"configure"1476 #line 1477 "configure" 1428 1477 #include "confdefs.h" 1429 1478 /* Override any gcc2 internal prototype to avoid an error. */ … … 1435 1484 ; return 0; } 1436 1485 EOF 1437 if { (eval echo configure:14 38: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1486 if { (eval echo configure:1487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1438 1487 rm -rf conftest* 1439 1488 eval "ac_cv_lib_$ac_lib_var=yes" … … 1467 1516 LIBS="-lgmp $LIBS" 1468 1517 cat > conftest.$ac_ext <<EOF 1469 #line 1 470"configure"1518 #line 1519 "configure" 1470 1519 #include "confdefs.h" 1471 1520 /* Override any gcc2 internal prototype to avoid an error. */ … … 1477 1526 ; return 0; } 1478 1527 EOF 1479 if { (eval echo configure:1 480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1528 if { (eval echo configure:1529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1480 1529 rm -rf conftest* 1481 1530 eval "ac_cv_lib_$ac_lib_var=yes" … … 1509 1558 else 1510 1559 cat > conftest.$ac_ext <<EOF 1511 #line 15 12"configure"1560 #line 1561 "configure" 1512 1561 #include "confdefs.h" 1513 1562 #include <$ac_hdr> 1514 1563 EOF 1515 1564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1516 { (eval echo configure:15 17: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1565 { (eval echo configure:1566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1517 1566 ac_err=`grep -v '^ *+' conftest.out` 1518 1567 if test -z "$ac_err"; then … … 1572 1621 LIBS="-lMPT -lMP $LIBS" 1573 1622 cat > conftest.$ac_ext <<EOF 1574 #line 1 575"configure"1623 #line 1624 "configure" 1575 1624 #include "confdefs.h" 1576 1625 /* Override any gcc2 internal prototype to avoid an error. */ … … 1582 1631 ; return 0; } 1583 1632 EOF 1584 if { (eval echo configure:1 585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1633 if { (eval echo configure:1634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1585 1634 rm -rf conftest* 1586 1635 eval "ac_cv_lib_$ac_lib_var=yes" … … 1615 1664 else 1616 1665 cat > conftest.$ac_ext <<EOF 1617 #line 16 18"configure"1666 #line 1667 "configure" 1618 1667 #include "confdefs.h" 1619 1668 #include <$ac_hdr> 1620 1669 EOF 1621 1670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1622 { (eval echo configure:16 23: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1671 { (eval echo configure:1672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1623 1672 ac_err=`grep -v '^ *+' conftest.out` 1624 1673 if test -z "$ac_err"; then … … 1677 1726 LIBS="-lsingcf $LIBS" 1678 1727 cat > conftest.$ac_ext <<EOF 1679 #line 1 680"configure"1728 #line 1729 "configure" 1680 1729 #include "confdefs.h" 1681 1730 /* Override any gcc2 internal prototype to avoid an error. */ … … 1687 1736 ; return 0; } 1688 1737 EOF 1689 if { (eval echo configure:1 690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1738 if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1690 1739 rm -rf conftest* 1691 1740 eval "ac_cv_lib_$ac_lib_var=yes" … … 1720 1769 else 1721 1770 cat > conftest.$ac_ext <<EOF 1722 #line 17 23"configure"1771 #line 1772 "configure" 1723 1772 #include "confdefs.h" 1724 1773 #include <$ac_hdr> 1725 1774 EOF 1726 1775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1727 { (eval echo configure:17 28: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1776 { (eval echo configure:1777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1728 1777 ac_err=`grep -v '^ *+' conftest.out` 1729 1778 if test -z "$ac_err"; then … … 1784 1833 LIBS="-lsinglibfac $LIBS" 1785 1834 cat > conftest.$ac_ext <<EOF 1786 #line 1 787"configure"1835 #line 1836 "configure" 1787 1836 #include "confdefs.h" 1788 1837 /* Override any gcc2 internal prototype to avoid an error. */ … … 1794 1843 ; return 0; } 1795 1844 EOF 1796 if { (eval echo configure:1 797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1845 if { (eval echo configure:1846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1797 1846 rm -rf conftest* 1798 1847 eval "ac_cv_lib_$ac_lib_var=yes" … … 1827 1876 else 1828 1877 cat > conftest.$ac_ext <<EOF 1829 #line 18 30"configure"1878 #line 1879 "configure" 1830 1879 #include "confdefs.h" 1831 1880 #include <$ac_hdr> 1832 1881 EOF 1833 1882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1834 { (eval echo configure:18 35: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1883 { (eval echo configure:1884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1835 1884 ac_err=`grep -v '^ *+' conftest.out` 1836 1885 if test -z "$ac_err"; then … … 1888 1937 else 1889 1938 cat > conftest.$ac_ext <<EOF 1890 #line 1 891"configure"1939 #line 1940 "configure" 1891 1940 #include "confdefs.h" 1892 1941 main(){return(0);} 1893 1942 EOF 1894 { (eval echo configure:1 895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }1943 { (eval echo configure:1944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1895 1944 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1896 1945 ac_cv_c_cross=no … … 1910 1959 else 1911 1960 cat > conftest.$ac_ext <<EOF 1912 #line 19 13"configure"1961 #line 1962 "configure" 1913 1962 #include "confdefs.h" 1914 1963 #include <stdlib.h> … … 1918 1967 EOF 1919 1968 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1920 { (eval echo configure:19 21: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1969 { (eval echo configure:1970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1921 1970 ac_err=`grep -v '^ *+' conftest.out` 1922 1971 if test -z "$ac_err"; then … … 1933 1982 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1934 1983 cat > conftest.$ac_ext <<EOF 1935 #line 19 36"configure"1984 #line 1985 "configure" 1936 1985 #include "confdefs.h" 1937 1986 #include <string.h> … … 1951 2000 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1952 2001 cat > conftest.$ac_ext <<EOF 1953 #line 1954"configure"2002 #line 2003 "configure" 1954 2003 #include "confdefs.h" 1955 2004 #include <stdlib.h> … … 1972 2021 else 1973 2022 cat > conftest.$ac_ext <<EOF 1974 #line 1975"configure"2023 #line 2024 "configure" 1975 2024 #include "confdefs.h" 1976 2025 #include <ctype.h> … … 1983 2032 1984 2033 EOF 1985 { (eval echo configure: 1986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2034 { (eval echo configure:2035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1986 2035 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1987 2036 : … … 2011 2060 else 2012 2061 cat > conftest.$ac_ext <<EOF 2013 #line 20 14"configure"2062 #line 2063 "configure" 2014 2063 #include "confdefs.h" 2015 2064 #include <$ac_hdr> 2016 2065 EOF 2017 2066 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2018 { (eval echo configure:20 19: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2067 { (eval echo configure:2068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2019 2068 ac_err=`grep -v '^ *+' conftest.out` 2020 2069 if test -z "$ac_err"; then … … 2050 2099 else 2051 2100 cat > conftest.$ac_ext <<EOF 2052 #line 2 053"configure"2101 #line 2102 "configure" 2053 2102 #include "confdefs.h" 2054 2103 #include <$ac_hdr> 2055 2104 EOF 2056 2105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2057 { (eval echo configure:2 058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2106 { (eval echo configure:2107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2058 2107 ac_err=`grep -v '^ *+' conftest.out` 2059 2108 if test -z "$ac_err"; then … … 2085 2134 else 2086 2135 cat > conftest.$ac_ext <<EOF 2087 #line 2 088"configure"2136 #line 2137 "configure" 2088 2137 #include "confdefs.h" 2089 2138 … … 2135 2184 ; return 0; } 2136 2185 EOF 2137 if { (eval echo configure:21 38: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2186 if { (eval echo configure:2187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2138 2187 rm -rf conftest* 2139 2188 ac_cv_c_const=yes … … 2161 2210 for ac_kw in inline __inline__ __inline; do 2162 2211 cat > conftest.$ac_ext <<EOF 2163 #line 2 164"configure"2212 #line 2213 "configure" 2164 2213 #include "confdefs.h" 2165 2214 … … 2169 2218 ; return 0; } 2170 2219 EOF 2171 if { (eval echo configure:2 172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2220 if { (eval echo configure:2221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2172 2221 rm -rf conftest* 2173 2222 ac_cv_c_inline=$ac_kw; break … … 2197 2246 else 2198 2247 cat > conftest.$ac_ext <<EOF 2199 #line 22 00"configure"2248 #line 2249 "configure" 2200 2249 #include "confdefs.h" 2201 2250 #include <sys/types.h> … … 2228 2277 else 2229 2278 cat > conftest.$ac_ext <<EOF 2230 #line 22 31"configure"2279 #line 2280 "configure" 2231 2280 #include "confdefs.h" 2232 2281 #include <sys/types.h> … … 2238 2287 ; return 0; } 2239 2288 EOF 2240 if { (eval echo configure:22 41: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2289 if { (eval echo configure:2290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2241 2290 rm -rf conftest* 2242 2291 ac_cv_header_time=yes … … 2262 2311 else 2263 2312 cat > conftest.$ac_ext <<EOF 2264 #line 2 265"configure"2313 #line 2314 "configure" 2265 2314 #include "confdefs.h" 2266 2315 #include <sys/types.h> … … 2271 2320 ; return 0; } 2272 2321 EOF 2273 if { (eval echo configure:2 274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2322 if { (eval echo configure:2323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2274 2323 rm -rf conftest* 2275 2324 ac_cv_struct_tm=time.h … … 2298 2347 else 2299 2348 cat > conftest.$ac_ext <<EOF 2300 #line 23 01"configure"2349 #line 2350 "configure" 2301 2350 #include "confdefs.h" 2302 2351 #include <alloca.h> … … 2306 2355 ; return 0; } 2307 2356 EOF 2308 if { (eval echo configure:23 09: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2357 if { (eval echo configure:2358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2309 2358 rm -rf conftest* 2310 2359 ac_cv_header_alloca_h=yes … … 2330 2379 else 2331 2380 cat > conftest.$ac_ext <<EOF 2332 #line 23 33"configure"2381 #line 2382 "configure" 2333 2382 #include "confdefs.h" 2334 2383 … … 2354 2403 ; return 0; } 2355 2404 EOF 2356 if { (eval echo configure:2 357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2405 if { (eval echo configure:2406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2357 2406 rm -rf conftest* 2358 2407 ac_cv_func_alloca=yes … … 2389 2438 else 2390 2439 cat > conftest.$ac_ext <<EOF 2391 #line 2 392"configure"2440 #line 2441 "configure" 2392 2441 #include "confdefs.h" 2393 2442 #if defined(CRAY) && ! defined(CRAY2) … … 2418 2467 else 2419 2468 cat > conftest.$ac_ext <<EOF 2420 #line 24 21"configure"2469 #line 2470 "configure" 2421 2470 #include "confdefs.h" 2422 2471 /* System header to define __stub macros and hopefully few prototypes, … … 2440 2489 ; return 0; } 2441 2490 EOF 2442 if { (eval echo configure:24 43: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2491 if { (eval echo configure:2492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2443 2492 rm -rf conftest* 2444 2493 eval "ac_cv_func_$ac_func=yes" … … 2472 2521 else 2473 2522 cat > conftest.$ac_ext <<EOF 2474 #line 2 475"configure"2523 #line 2524 "configure" 2475 2524 #include "confdefs.h" 2476 2525 find_stack_direction () … … 2491 2540 } 2492 2541 EOF 2493 { (eval echo configure:2 494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2542 { (eval echo configure:2543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2494 2543 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2495 2544 ac_cv_c_stack_direction=1 … … 2515 2564 ac_pattern="Autoconf.*'x'" 2516 2565 cat > conftest.$ac_ext <<EOF 2517 #line 25 18"configure"2566 #line 2567 "configure" 2518 2567 #include "confdefs.h" 2519 2568 #include <sgtty.h> … … 2533 2582 if test $ac_cv_prog_gcc_traditional = no; then 2534 2583 cat > conftest.$ac_ext <<EOF 2535 #line 25 36"configure"2584 #line 2585 "configure" 2536 2585 #include "confdefs.h" 2537 2586 #include <termio.h> … … 2561 2610 else 2562 2611 cat > conftest.$ac_ext <<EOF 2563 #line 2 564"configure"2612 #line 2613 "configure" 2564 2613 #include "confdefs.h" 2565 2614 /* System header to define __stub macros and hopefully few prototypes, … … 2583 2632 ; return 0; } 2584 2633 EOF 2585 if { (eval echo configure:2 586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2634 if { (eval echo configure:2635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2586 2635 rm -rf conftest* 2587 2636 eval "ac_cv_func_$ac_func=yes" … … 2613 2662 else 2614 2663 cat > conftest.$ac_ext <<EOF 2615 #line 26 16"configure"2664 #line 2665 "configure" 2616 2665 #include "confdefs.h" 2617 2666 … … 2682 2731 2683 2732 EOF 2684 { (eval echo configure:2 685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2733 { (eval echo configure:2734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2685 2734 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2686 2735 ac_cv_func_mmap=yes … … 2705 2754 else 2706 2755 cat > conftest.$ac_ext <<EOF 2707 #line 27 08"configure"2756 #line 2757 "configure" 2708 2757 #include "confdefs.h" 2709 2758 #include <sys/types.h> … … 2723 2772 ; return 0; } 2724 2773 EOF 2725 if { (eval echo configure:27 26: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2774 if { (eval echo configure:2775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2726 2775 rm -rf conftest* 2727 2776 ac_cv_type_signal=void … … 2745 2794 else 2746 2795 cat > conftest.$ac_ext <<EOF 2747 #line 27 48"configure"2796 #line 2797 "configure" 2748 2797 #include "confdefs.h" 2749 2798 /* System header to define __stub macros and hopefully few prototypes, … … 2767 2816 ; return 0; } 2768 2817 EOF 2769 if { (eval echo configure:2 770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2818 if { (eval echo configure:2819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2770 2819 rm -rf conftest* 2771 2820 eval "ac_cv_func_vprintf=yes" … … 2793 2842 else 2794 2843 cat > conftest.$ac_ext <<EOF 2795 #line 2 796"configure"2844 #line 2845 "configure" 2796 2845 #include "confdefs.h" 2797 2846 /* System header to define __stub macros and hopefully few prototypes, … … 2815 2864 ; return 0; } 2816 2865 EOF 2817 if { (eval echo configure:28 18: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2866 if { (eval echo configure:2867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2818 2867 rm -rf conftest* 2819 2868 eval "ac_cv_func__doprnt=yes" … … 2844 2893 else 2845 2894 cat > conftest.$ac_ext <<EOF 2846 #line 28 47"configure"2895 #line 2896 "configure" 2847 2896 #include "confdefs.h" 2848 2897 /* System header to define __stub macros and hopefully few prototypes, … … 2866 2915 ; return 0; } 2867 2916 EOF 2868 if { (eval echo configure:2 869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2917 if { (eval echo configure:2918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2869 2918 rm -rf conftest* 2870 2919 eval "ac_cv_func_$ac_func=yes" … … 2898 2947 else 2899 2948 cat > conftest.$ac_ext <<EOF 2900 #line 29 01"configure"2949 #line 2950 "configure" 2901 2950 #include "confdefs.h" 2902 2951 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2903 2952 EOF 2904 { (eval echo configure:29 05: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2953 { (eval echo configure:2954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2905 2954 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2906 2955 ac_cv_shift=yes … … 2928 2977 else 2929 2978 cat > conftest.$ac_ext <<EOF 2930 #line 29 31"configure"2979 #line 2980 "configure" 2931 2980 #include "confdefs.h" 2932 2981 int main() {if (sizeof(int) == 4) exit(0); else exit(1); } 2933 2982 EOF 2934 { (eval echo configure:29 35: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2983 { (eval echo configure:2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2935 2984 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2936 2985 ac_cv_sizeof_int_equals_four=yes … … 2958 3007 else 2959 3008 cat > conftest.$ac_ext <<EOF 2960 #line 2961"configure"3009 #line 3010 "configure" 2961 3010 #include "confdefs.h" 2962 3011 int main() {if (sizeof(long) == sizeof(void*)) exit(0); else exit(1); } 2963 3012 EOF 2964 { (eval echo configure: 2965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3013 { (eval echo configure:3014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2965 3014 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2966 3015 ac_cv_sizeof_long_equals_voidp=yes … … 2987 3036 else 2988 3037 cat > conftest.$ac_ext <<EOF 2989 #line 2990"configure"3038 #line 3039 "configure" 2990 3039 #include "confdefs.h" 2991 3040 #include <stdio.h> 2992 3041 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 2993 3042 EOF 2994 { (eval echo configure: 2995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3043 { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2995 3044 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2996 3045 ac_cv_returns_n_of_chars=yes … … 3020 3069 else 3021 3070 cat > conftest.$ac_ext <<EOF 3022 #line 30 23"configure"3071 #line 3072 "configure" 3023 3072 #include "confdefs.h" 3024 3073 #include <stdio.h> … … 3031 3080 } 3032 3081 EOF 3033 { (eval echo configure:30 34: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3082 { (eval echo configure:3083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3034 3083 if test -s conftest && (./conftest; exit) 2>/dev/null; then 3035 3084 ac_cv_sizeof_voidp=`cat conftestval` … … 3179 3228 s%@infodir@%$infodir%g 3180 3229 s%@mandir@%$mandir%g 3181 s%@ MAJOR_VERSION@%$MAJOR_VERSION%g3182 s%@ MINOR_VERSION@%$MINOR_VERSION%g3183 s%@S UB_VERSION@%$SUB_VERSION%g3230 s%@SINGULAR_MAJOR_VERSION@%$SINGULAR_MAJOR_VERSION%g 3231 s%@SINGULAR_MINOR_VERSION@%$SINGULAR_MINOR_VERSION%g 3232 s%@SINGULAR_SUB_VERSION@%$SINGULAR_SUB_VERSION%g 3184 3233 s%@singulardatadir@%$singulardatadir%g 3185 3234 s%@CC@%$CC%g -
Singular/configure.in
re50385b rdc87554 60 60 61 61 dnl and add to -I to CPPFLAGS and and -Lto LDFLAGS, just to be sure 62 if test "x$libdir" = '${prefix}/lib'; then 63 if test "x$prefix" = xNONE; then 64 LDFLAGS="-L${ac_default_prefix}/lib ${LDFLAGS}" 65 else 66 LDFLAGS="-L${prefix}/lib ${LDFLAGS}" 62 if test "x$libdir" = '${exec_prefix}/lib'; then 63 if test "x$exec_prefix" = xNONE; then 64 if test "x$prefix" = xNONE; then 65 LDFLAGS="-L${ac_default_prefix}/lib ${LDFLAGS}" 66 else 67 LDFLAGS="-L${prefix}/lib ${LDFLAGS}" 68 fi 69 else 70 LDFLAGS="-L${exec_prefix}/lib ${LDFLAGS}" 67 71 fi 68 72 else … … 134 138 dnl 135 139 136 LIBS="-lm $LIBS" 137 138 dnl Check -lbsd 139 AC_CHECK_LIB( 140 bsd, 141 bzero, 142 LIBS="-lbsd $LIBS" 143 ) 140 AC_CHECK_LIB(m, atof) 141 AC_CHECK_LIB(bsd, socket) 144 142 145 143 dnl Check -lreadline … … 169 167 AC_DEFINE(HAVE_DBM) LIBS="-ldbm $LIBS", 170 168 AC_CHECK_LIB( 171 g bm,169 gdbm, 172 170 dbminit, 173 171 AC_DEFINE(HAVE_DBM) LIBS="-lgdbm $LIBS", -
Singular/mod2.h.in
re50385b rdc87554 91 91 /* Define to enable working in exterior algebras */ 92 92 #undef SRING 93 /* Undefine to disable Gerhard's fast and dirty std computations */93 /* Undefine to disable Gerhard's and Wilfried's fast and dirty std computations */ 94 94 #define FAST_AND_DIRTY 95 95 /* works around a quirk in the generation of parser tables */
Note: See TracChangeset
for help on using the changeset viewer.