Changeset 0164d0 in git
- Timestamp:
- Aug 27, 1997, 3:39:09 PM (26 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 7ae51b5a795c3ecc4ee43ff82fe0afc9f81876e6
- Parents:
- bd003130ba3f37eafd59ba2ce081bb2186feda75
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.in
rbd00313 r0164d0 75 75 gzip -9 ${BINDISTNAME} 76 76 77 dosdist: Singular/Singular.exe 78 mkdir /tmp/singdos 79 mkdir /tmp/singdos/Singular 80 mkdir /tmp/singdos/Singular/info 81 mkdir /tmp/singdos/Singular/share 82 mkdir /tmp/singdos/Singular/share/Singular 83 cp Singular/doc/singular.hlp /tmp/singdos/Singular/info 84 cp Singular/Singular.exe /tmp/singdos/Singular 85 cp Singular/LIB/*.lib /tmp/singdos/Singular/share/Singular 86 cp -R Singular/LIB/gftables /tmp/singdos/Singular/share/Singular 87 cp COPYING.share /tmp/singdos/Singular/COPYING 88 cp README.dos /tmp/singdos/Singular/README 89 cd /tmp/singdos/; zip -k -r sing Singular; cd - 90 mv /tmp/singdos/sing.zip Singular.zip 91 /bin/rm -rf /tmp/singdos 92 77 93 sharedist: ${bindir}/Singular 78 94 cd Singular; ${MAKE} dvi; ${MAKE} info … … 99 115 ${MAKE} install 100 116 117 Singular/Singular.exe: 118 ./configure.dos 119 ${MAKE} clean 120 ${MAKE} install 121 101 122 Singular factory libfac MP gmp: 102 123 cd $@; ${MAKE} all … … 104 125 check: 105 126 cd Singular; ${MAKE} check 106 127 107 128 Makefile : Makefile.in config.status 108 129 ./config.status -
Singular/configure
rbd00313 r0164d0 579 579 singularinfodir=$infodir; 580 580 fi 581 cat >> confdefs.h <<EOF582 #define SINGULAR_DATADIR "${singulardatadir}"583 EOF584 585 cat >> confdefs.h <<EOF586 #define SINGULAR_INFODIR "${singularinfodir}"587 EOF588 589 590 591 581 592 582 … … 693 683 #endif 694 684 EOF 695 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:6 96: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then685 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 696 686 ac_cv_prog_gcc=yes 697 687 else … … 745 735 # not just through cpp. 746 736 cat > conftest.$ac_ext <<EOF 747 #line 7 48 "configure"737 #line 738 "configure" 748 738 #include "confdefs.h" 749 739 #include <assert.h> … … 751 741 EOF 752 742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 753 { (eval echo configure:7 54: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }743 { (eval echo configure:744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 754 744 ac_err=`grep -v '^ *+' conftest.out` 755 745 if test -z "$ac_err"; then … … 760 750 CPP="${CC-cc} -E -traditional-cpp" 761 751 cat > conftest.$ac_ext <<EOF 762 #line 7 63 "configure"752 #line 753 "configure" 763 753 #include "confdefs.h" 764 754 #include <assert.h> … … 766 756 EOF 767 757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 768 { (eval echo configure:7 69: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }758 { (eval echo configure:759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 769 759 ac_err=`grep -v '^ *+' conftest.out` 770 760 if test -z "$ac_err"; then … … 829 819 #endif 830 820 EOF 831 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:8 32: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then821 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 832 822 ac_cv_prog_gxx=yes 833 823 else … … 901 891 else 902 892 cat > conftest.$ac_ext <<EOF 903 #line 904 "configure"893 #line 894 "configure" 904 894 #include "confdefs.h" 905 895 main(){return(0);} 906 896 EOF 907 { (eval echo configure: 908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }897 { (eval echo configure:898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 908 898 if test -s conftest && (./conftest; exit) 2>/dev/null; then 909 899 ac_cv_c_cross=no … … 926 916 DOS_CROSS=no 927 917 fi 918 919 920 if test "$ac_c_cross_dos" = yes; then 921 cat >> confdefs.h <<\EOF 922 #define SINGULAR_DATADIR "share\\Singular" 923 EOF 924 925 cat >> confdefs.h <<\EOF 926 #define SINGULAR_INFODIR "info" 927 EOF 928 929 else 930 cat >> confdefs.h <<EOF 931 #define SINGULAR_DATADIR "${singulardatadir}" 932 EOF 933 934 cat >> confdefs.h <<EOF 935 #define SINGULAR_INFODIR "${singularinfodir}" 936 EOF 937 938 fi 939 928 940 929 941 … … 1055 1067 LIBS="-lm $LIBS" 1056 1068 cat > conftest.$ac_ext <<EOF 1057 #line 10 58"configure"1069 #line 1070 "configure" 1058 1070 #include "confdefs.h" 1059 1071 /* Override any gcc2 internal prototype to avoid an error. */ … … 1065 1077 ; return 0; } 1066 1078 EOF 1067 if { (eval echo configure:10 68: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1079 if { (eval echo configure:1080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1068 1080 rm -rf conftest* 1069 1081 eval "ac_cv_lib_$ac_lib_var=yes" … … 1097 1109 LIBS="-lbsd $LIBS" 1098 1110 cat > conftest.$ac_ext <<EOF 1099 #line 11 00"configure"1111 #line 1112 "configure" 1100 1112 #include "confdefs.h" 1101 1113 /* Override any gcc2 internal prototype to avoid an error. */ … … 1107 1119 ; return 0; } 1108 1120 EOF 1109 if { (eval echo configure:11 10: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1121 if { (eval echo configure:1122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1110 1122 rm -rf conftest* 1111 1123 eval "ac_cv_lib_$ac_lib_var=yes" … … 1139 1151 LIBS="-lsocket $LIBS" 1140 1152 cat > conftest.$ac_ext <<EOF 1141 #line 11 42"configure"1153 #line 1154 "configure" 1142 1154 #include "confdefs.h" 1143 1155 /* Override any gcc2 internal prototype to avoid an error. */ … … 1149 1161 ; return 0; } 1150 1162 EOF 1151 if { (eval echo configure:11 52: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1163 if { (eval echo configure:1164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1152 1164 rm -rf conftest* 1153 1165 eval "ac_cv_lib_$ac_lib_var=yes" … … 1181 1193 LIBS="-lnsl $LIBS" 1182 1194 cat > conftest.$ac_ext <<EOF 1183 #line 11 84"configure"1195 #line 1196 "configure" 1184 1196 #include "confdefs.h" 1185 1197 /* Override any gcc2 internal prototype to avoid an error. */ … … 1191 1203 ; return 0; } 1192 1204 EOF 1193 if { (eval echo configure:1 194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1205 if { (eval echo configure:1206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1194 1206 rm -rf conftest* 1195 1207 eval "ac_cv_lib_$ac_lib_var=yes" … … 1225 1237 LIBS="-lncurses $LIBS" 1226 1238 cat > conftest.$ac_ext <<EOF 1227 #line 12 28"configure"1239 #line 1240 "configure" 1228 1240 #include "confdefs.h" 1229 1241 /* Override any gcc2 internal prototype to avoid an error. */ … … 1235 1247 ; return 0; } 1236 1248 EOF 1237 if { (eval echo configure:12 38: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1249 if { (eval echo configure:1250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1238 1250 rm -rf conftest* 1239 1251 eval "ac_cv_lib_$ac_lib_var=yes" … … 1266 1278 LIBS="-lcurses $LIBS" 1267 1279 cat > conftest.$ac_ext <<EOF 1268 #line 12 69"configure"1280 #line 1281 "configure" 1269 1281 #include "confdefs.h" 1270 1282 /* Override any gcc2 internal prototype to avoid an error. */ … … 1276 1288 ; return 0; } 1277 1289 EOF 1278 if { (eval echo configure:12 79: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1290 if { (eval echo configure:1291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1279 1291 rm -rf conftest* 1280 1292 eval "ac_cv_lib_$ac_lib_var=yes" … … 1307 1319 LIBS="-ltermcap $LIBS" 1308 1320 cat > conftest.$ac_ext <<EOF 1309 #line 13 10"configure"1321 #line 1322 "configure" 1310 1322 #include "confdefs.h" 1311 1323 /* Override any gcc2 internal prototype to avoid an error. */ … … 1317 1329 ; return 0; } 1318 1330 EOF 1319 if { (eval echo configure:13 20: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1331 if { (eval echo configure:1332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1320 1332 rm -rf conftest* 1321 1333 eval "ac_cv_lib_$ac_lib_var=yes" … … 1353 1365 LIBS="-lreadline $LIBS" 1354 1366 cat > conftest.$ac_ext <<EOF 1355 #line 13 56"configure"1367 #line 1368 "configure" 1356 1368 #include "confdefs.h" 1357 1369 /* Override any gcc2 internal prototype to avoid an error. */ … … 1363 1375 ; return 0; } 1364 1376 EOF 1365 if { (eval echo configure:13 66: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1377 if { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1366 1378 rm -rf conftest* 1367 1379 eval "ac_cv_lib_$ac_lib_var=yes" … … 1396 1408 else 1397 1409 cat > conftest.$ac_ext <<EOF 1398 #line 1 399"configure"1410 #line 1411 "configure" 1399 1411 #include "confdefs.h" 1400 1412 #include <$ac_hdr> 1401 1413 EOF 1402 1414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1403 { (eval echo configure:14 04: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1415 { (eval echo configure:1416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1404 1416 ac_err=`grep -v '^ *+' conftest.out` 1405 1417 if test -z "$ac_err"; then … … 1455 1467 LIBS="-ldld $LIBS" 1456 1468 cat > conftest.$ac_ext <<EOF 1457 #line 14 58"configure"1469 #line 1470 "configure" 1458 1470 #include "confdefs.h" 1459 1471 /* Override any gcc2 internal prototype to avoid an error. */ … … 1465 1477 ; return 0; } 1466 1478 EOF 1467 if { (eval echo configure:14 68: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1479 if { (eval echo configure:1480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1468 1480 rm -rf conftest* 1469 1481 eval "ac_cv_lib_$ac_lib_var=yes" … … 1496 1508 LIBS="-lgmp $LIBS" 1497 1509 cat > conftest.$ac_ext <<EOF 1498 #line 1 499"configure"1510 #line 1511 "configure" 1499 1511 #include "confdefs.h" 1500 1512 /* Override any gcc2 internal prototype to avoid an error. */ … … 1506 1518 ; return 0; } 1507 1519 EOF 1508 if { (eval echo configure:15 09: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1520 if { (eval echo configure:1521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1509 1521 rm -rf conftest* 1510 1522 eval "ac_cv_lib_$ac_lib_var=yes" … … 1538 1550 LIBS="-lsmallgmp $LIBS" 1539 1551 cat > conftest.$ac_ext <<EOF 1540 #line 15 41"configure"1552 #line 1553 "configure" 1541 1553 #include "confdefs.h" 1542 1554 /* Override any gcc2 internal prototype to avoid an error. */ … … 1548 1560 ; return 0; } 1549 1561 EOF 1550 if { (eval echo configure:15 51: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1562 if { (eval echo configure:1563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1551 1563 rm -rf conftest* 1552 1564 eval "ac_cv_lib_$ac_lib_var=yes" … … 1580 1592 LIBS="-lMP $LIBS" 1581 1593 cat > conftest.$ac_ext <<EOF 1582 #line 15 83"configure"1594 #line 1595 "configure" 1583 1595 #include "confdefs.h" 1584 1596 /* Override any gcc2 internal prototype to avoid an error. */ … … 1590 1602 ; return 0; } 1591 1603 EOF 1592 if { (eval echo configure:1 593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1604 if { (eval echo configure:1605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1593 1605 rm -rf conftest* 1594 1606 eval "ac_cv_lib_$ac_lib_var=yes" … … 1622 1634 LIBS="-lMPT $LIBS" 1623 1635 cat > conftest.$ac_ext <<EOF 1624 #line 16 25"configure"1636 #line 1637 "configure" 1625 1637 #include "confdefs.h" 1626 1638 /* Override any gcc2 internal prototype to avoid an error. */ … … 1632 1644 ; return 0; } 1633 1645 EOF 1634 if { (eval echo configure:16 35: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1646 if { (eval echo configure:1647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1635 1647 rm -rf conftest* 1636 1648 eval "ac_cv_lib_$ac_lib_var=yes" … … 1664 1676 LIBS="-lsingcf $LIBS" 1665 1677 cat > conftest.$ac_ext <<EOF 1666 #line 16 67"configure"1678 #line 1679 "configure" 1667 1679 #include "confdefs.h" 1668 1680 /* Override any gcc2 internal prototype to avoid an error. */ … … 1674 1686 ; return 0; } 1675 1687 EOF 1676 if { (eval echo configure:16 77: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1688 if { (eval echo configure:1689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1677 1689 rm -rf conftest* 1678 1690 eval "ac_cv_lib_$ac_lib_var=yes" … … 1706 1718 LIBS="-lsingfac $LIBS" 1707 1719 cat > conftest.$ac_ext <<EOF 1708 #line 17 09"configure"1720 #line 1721 "configure" 1709 1721 #include "confdefs.h" 1710 1722 /* Override any gcc2 internal prototype to avoid an error. */ … … 1716 1728 ; return 0; } 1717 1729 EOF 1718 if { (eval echo configure:17 19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1730 if { (eval echo configure:1731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1719 1731 rm -rf conftest* 1720 1732 eval "ac_cv_lib_$ac_lib_var=yes" … … 1749 1761 else 1750 1762 cat > conftest.$ac_ext <<EOF 1751 #line 17 52"configure"1763 #line 1764 "configure" 1752 1764 #include "confdefs.h" 1753 1765 #include <$ac_hdr> 1754 1766 EOF 1755 1767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1756 { (eval echo configure:17 57: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1768 { (eval echo configure:1769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1757 1769 ac_err=`grep -v '^ *+' conftest.out` 1758 1770 if test -z "$ac_err"; then … … 1949 1961 else 1950 1962 cat > conftest.$ac_ext <<EOF 1951 #line 19 52"configure"1963 #line 1964 "configure" 1952 1964 #include "confdefs.h" 1953 1965 #include <stdlib.h> … … 1957 1969 EOF 1958 1970 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1959 { (eval echo configure:19 60: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1971 { (eval echo configure:1972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1960 1972 ac_err=`grep -v '^ *+' conftest.out` 1961 1973 if test -z "$ac_err"; then … … 1972 1984 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1973 1985 cat > conftest.$ac_ext <<EOF 1974 #line 19 75"configure"1986 #line 1987 "configure" 1975 1987 #include "confdefs.h" 1976 1988 #include <string.h> … … 1990 2002 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1991 2003 cat > conftest.$ac_ext <<EOF 1992 #line 1993"configure"2004 #line 2005 "configure" 1993 2005 #include "confdefs.h" 1994 2006 #include <stdlib.h> … … 2011 2023 else 2012 2024 cat > conftest.$ac_ext <<EOF 2013 #line 20 14"configure"2025 #line 2026 "configure" 2014 2026 #include "confdefs.h" 2015 2027 #include <ctype.h> … … 2022 2034 2023 2035 EOF 2024 { (eval echo configure:20 25: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2036 { (eval echo configure:2037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2025 2037 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2026 2038 : … … 2050 2062 else 2051 2063 cat > conftest.$ac_ext <<EOF 2052 #line 20 53"configure"2064 #line 2065 "configure" 2053 2065 #include "confdefs.h" 2054 2066 #include <$ac_hdr> 2055 2067 EOF 2056 2068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2057 { (eval echo configure:20 58: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2069 { (eval echo configure:2070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2058 2070 ac_err=`grep -v '^ *+' conftest.out` 2059 2071 if test -z "$ac_err"; then … … 2089 2101 else 2090 2102 cat > conftest.$ac_ext <<EOF 2091 #line 2 092"configure"2103 #line 2104 "configure" 2092 2104 #include "confdefs.h" 2093 2105 #include <$ac_hdr> 2094 2106 EOF 2095 2107 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2096 { (eval echo configure:2 097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2108 { (eval echo configure:2109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2097 2109 ac_err=`grep -v '^ *+' conftest.out` 2098 2110 if test -z "$ac_err"; then … … 2138 2150 else 2139 2151 cat > conftest.$ac_ext <<EOF 2140 #line 21 41"configure"2152 #line 2153 "configure" 2141 2153 #include "confdefs.h" 2142 2154 … … 2188 2200 ; return 0; } 2189 2201 EOF 2190 if { (eval echo configure:2 191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2202 if { (eval echo configure:2203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2191 2203 rm -rf conftest* 2192 2204 ac_cv_c_const=yes … … 2214 2226 for ac_kw in inline __inline__ __inline; do 2215 2227 cat > conftest.$ac_ext <<EOF 2216 #line 22 17"configure"2228 #line 2229 "configure" 2217 2229 #include "confdefs.h" 2218 2230 … … 2222 2234 ; return 0; } 2223 2235 EOF 2224 if { (eval echo configure:22 25: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2236 if { (eval echo configure:2237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2225 2237 rm -rf conftest* 2226 2238 ac_cv_c_inline=$ac_kw; break … … 2250 2262 else 2251 2263 cat > conftest.$ac_ext <<EOF 2252 #line 22 53"configure"2264 #line 2265 "configure" 2253 2265 #include "confdefs.h" 2254 2266 #include <sys/types.h> … … 2281 2293 else 2282 2294 cat > conftest.$ac_ext <<EOF 2283 #line 22 84"configure"2295 #line 2296 "configure" 2284 2296 #include "confdefs.h" 2285 2297 #include <sys/types.h> … … 2291 2303 ; return 0; } 2292 2304 EOF 2293 if { (eval echo configure:2 294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2305 if { (eval echo configure:2306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2294 2306 rm -rf conftest* 2295 2307 ac_cv_header_time=yes … … 2315 2327 else 2316 2328 cat > conftest.$ac_ext <<EOF 2317 #line 23 18"configure"2329 #line 2330 "configure" 2318 2330 #include "confdefs.h" 2319 2331 #include <sys/types.h> … … 2324 2336 ; return 0; } 2325 2337 EOF 2326 if { (eval echo configure:23 27: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2338 if { (eval echo configure:2339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2327 2339 rm -rf conftest* 2328 2340 ac_cv_struct_tm=time.h … … 2351 2363 else 2352 2364 cat > conftest.$ac_ext <<EOF 2353 #line 23 54"configure"2365 #line 2366 "configure" 2354 2366 #include "confdefs.h" 2355 2367 #include <alloca.h> … … 2359 2371 ; return 0; } 2360 2372 EOF 2361 if { (eval echo configure:23 62: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2373 if { (eval echo configure:2374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2362 2374 rm -rf conftest* 2363 2375 ac_cv_header_alloca_h=yes … … 2383 2395 else 2384 2396 cat > conftest.$ac_ext <<EOF 2385 #line 23 86"configure"2397 #line 2398 "configure" 2386 2398 #include "confdefs.h" 2387 2399 … … 2407 2419 ; return 0; } 2408 2420 EOF 2409 if { (eval echo configure:24 10: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2421 if { (eval echo configure:2422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2410 2422 rm -rf conftest* 2411 2423 ac_cv_func_alloca=yes … … 2442 2454 else 2443 2455 cat > conftest.$ac_ext <<EOF 2444 #line 24 45"configure"2456 #line 2457 "configure" 2445 2457 #include "confdefs.h" 2446 2458 #if defined(CRAY) && ! defined(CRAY2) … … 2471 2483 else 2472 2484 cat > conftest.$ac_ext <<EOF 2473 #line 24 74"configure"2485 #line 2486 "configure" 2474 2486 #include "confdefs.h" 2475 2487 /* System header to define __stub macros and hopefully few prototypes, … … 2493 2505 ; return 0; } 2494 2506 EOF 2495 if { (eval echo configure:2 496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2507 if { (eval echo configure:2508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2496 2508 rm -rf conftest* 2497 2509 eval "ac_cv_func_$ac_func=yes" … … 2525 2537 else 2526 2538 cat > conftest.$ac_ext <<EOF 2527 #line 25 28"configure"2539 #line 2540 "configure" 2528 2540 #include "confdefs.h" 2529 2541 find_stack_direction () … … 2544 2556 } 2545 2557 EOF 2546 { (eval echo configure:25 47: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2558 { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2547 2559 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2548 2560 ac_cv_c_stack_direction=1 … … 2568 2580 ac_pattern="Autoconf.*'x'" 2569 2581 cat > conftest.$ac_ext <<EOF 2570 #line 25 71"configure"2582 #line 2583 "configure" 2571 2583 #include "confdefs.h" 2572 2584 #include <sgtty.h> … … 2586 2598 if test $ac_cv_prog_gcc_traditional = no; then 2587 2599 cat > conftest.$ac_ext <<EOF 2588 #line 2 589"configure"2600 #line 2601 "configure" 2589 2601 #include "confdefs.h" 2590 2602 #include <termio.h> … … 2614 2626 else 2615 2627 cat > conftest.$ac_ext <<EOF 2616 #line 26 17"configure"2628 #line 2629 "configure" 2617 2629 #include "confdefs.h" 2618 2630 /* System header to define __stub macros and hopefully few prototypes, … … 2636 2648 ; return 0; } 2637 2649 EOF 2638 if { (eval echo configure:26 39: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2650 if { (eval echo configure:2651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2639 2651 rm -rf conftest* 2640 2652 eval "ac_cv_func_$ac_func=yes" … … 2666 2678 else 2667 2679 cat > conftest.$ac_ext <<EOF 2668 #line 26 69"configure"2680 #line 2681 "configure" 2669 2681 #include "confdefs.h" 2670 2682 … … 2735 2747 2736 2748 EOF 2737 { (eval echo configure:27 38: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2749 { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2738 2750 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2739 2751 ac_cv_func_mmap=yes … … 2758 2770 else 2759 2771 cat > conftest.$ac_ext <<EOF 2760 #line 27 61"configure"2772 #line 2773 "configure" 2761 2773 #include "confdefs.h" 2762 2774 #include <sys/types.h> … … 2776 2788 ; return 0; } 2777 2789 EOF 2778 if { (eval echo configure:27 79: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2790 if { (eval echo configure:2791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2779 2791 rm -rf conftest* 2780 2792 ac_cv_type_signal=void … … 2798 2810 else 2799 2811 cat > conftest.$ac_ext <<EOF 2800 #line 28 01"configure"2812 #line 2813 "configure" 2801 2813 #include "confdefs.h" 2802 2814 /* System header to define __stub macros and hopefully few prototypes, … … 2820 2832 ; return 0; } 2821 2833 EOF 2822 if { (eval echo configure:28 23: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2834 if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2823 2835 rm -rf conftest* 2824 2836 eval "ac_cv_func_vprintf=yes" … … 2846 2858 else 2847 2859 cat > conftest.$ac_ext <<EOF 2848 #line 28 49"configure"2860 #line 2861 "configure" 2849 2861 #include "confdefs.h" 2850 2862 /* System header to define __stub macros and hopefully few prototypes, … … 2868 2880 ; return 0; } 2869 2881 EOF 2870 if { (eval echo configure:28 71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2882 if { (eval echo configure:2883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2871 2883 rm -rf conftest* 2872 2884 eval "ac_cv_func__doprnt=yes" … … 2897 2909 else 2898 2910 cat > conftest.$ac_ext <<EOF 2899 #line 29 00"configure"2911 #line 2912 "configure" 2900 2912 #include "confdefs.h" 2901 2913 /* System header to define __stub macros and hopefully few prototypes, … … 2919 2931 ; return 0; } 2920 2932 EOF 2921 if { (eval echo configure:29 22: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2933 if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2922 2934 rm -rf conftest* 2923 2935 eval "ac_cv_func_$ac_func=yes" … … 2956 2968 else 2957 2969 cat > conftest.$ac_ext <<EOF 2958 #line 29 59"configure"2970 #line 2971 "configure" 2959 2971 #include "confdefs.h" 2960 2972 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2961 2973 EOF 2962 { (eval echo configure:29 63: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2974 { (eval echo configure:2975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2963 2975 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2964 2976 ac_cv_shift=yes … … 2992 3004 else 2993 3005 cat > conftest.$ac_ext <<EOF 2994 #line 2995"configure"3006 #line 3007 "configure" 2995 3007 #include "confdefs.h" 2996 3008 int main() {if (sizeof(int) == 4) exit(0); else exit(1); } 2997 3009 EOF 2998 { (eval echo configure: 2999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3010 { (eval echo configure:3011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2999 3011 if test -s conftest && (./conftest; exit) 2>/dev/null; then 3000 3012 ac_cv_sizeof_int_equals_four=yes … … 3027 3039 else 3028 3040 cat > conftest.$ac_ext <<EOF 3029 #line 30 30"configure"3041 #line 3042 "configure" 3030 3042 #include "confdefs.h" 3031 3043 int main() {if (sizeof(long) == sizeof(void*)) exit(0); else exit(1); } 3032 3044 EOF 3033 { (eval echo configure:30 34: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3045 { (eval echo configure:3046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3034 3046 if test -s conftest && (./conftest; exit) 2>/dev/null; then 3035 3047 ac_cv_sizeof_long_equals_voidp=yes … … 3056 3068 else 3057 3069 cat > conftest.$ac_ext <<EOF 3058 #line 30 59"configure"3070 #line 3071 "configure" 3059 3071 #include "confdefs.h" 3060 3072 #include <stdio.h> 3061 3073 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 3062 3074 EOF 3063 { (eval echo configure:30 64: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3075 { (eval echo configure:3076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3064 3076 if test -s conftest && (./conftest; exit) 2>/dev/null; then 3065 3077 ac_cv_returns_n_of_chars=yes … … 3089 3101 else 3090 3102 cat > conftest.$ac_ext <<EOF 3091 #line 3 092"configure"3103 #line 3104 "configure" 3092 3104 #include "confdefs.h" 3093 3105 #include <stdio.h> … … 3100 3112 } 3101 3113 EOF 3102 { (eval echo configure:31 03: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3114 { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3103 3115 if test -s conftest && (./conftest; exit) 2>/dev/null; then 3104 3116 ac_cv_sizeof_voidp=`cat conftestval` … … 3122 3134 else 3123 3135 cat > conftest.$ac_ext <<EOF 3124 #line 31 25"configure"3136 #line 3137 "configure" 3125 3137 #include "confdefs.h" 3126 3138 #ifdef _AIX … … 3146 3158 echo "$ac_t""no" 1>&6 3147 3159 fi 3148 3149 3160 3150 3161 if test ${GXX} = yes; then … … 3288 3299 s%@SINGULAR_MINOR_VERSION@%$SINGULAR_MINOR_VERSION%g 3289 3300 s%@SINGULAR_SUB_VERSION@%$SINGULAR_SUB_VERSION%g 3290 s%@singulardatadir@%$singulardatadir%g3291 3301 s%@CC@%$CC%g 3292 3302 s%@CPP@%$CPP%g … … 3294 3304 s%@SET_MAKE@%$SET_MAKE%g 3295 3305 s%@DOS_CROSS@%$DOS_CROSS%g 3306 s%@singulardatadir@%$singulardatadir%g 3296 3307 s%@INFO@%$INFO%g 3297 3308 s%@WITH_MP@%$WITH_MP%g -
Singular/configure.in
rbd00313 r0164d0 43 43 singularinfodir=$infodir; 44 44 fi 45 AC_DEFINE_UNQUOTED(SINGULAR_DATADIR, "${singulardatadir}")46 AC_DEFINE_UNQUOTED(SINGULAR_INFODIR, "${singularinfodir}")47 48 AC_SUBST(singulardatadir)49 45 50 46 dnl … … 84 80 fi 85 81 AC_SUBST(DOS_CROSS) 82 83 if test "$ac_c_cross_dos" = yes; then 84 AC_DEFINE(SINGULAR_DATADIR, "share\\Singular") 85 AC_DEFINE(SINGULAR_INFODIR, "info") 86 else 87 AC_DEFINE_UNQUOTED(SINGULAR_DATADIR, "${singulardatadir}") 88 AC_DEFINE_UNQUOTED(SINGULAR_INFODIR, "${singularinfodir}") 89 fi 90 AC_SUBST(singulardatadir) 91 86 92 87 93 dnl we prefer using gcc for compiling C++ files, provided the user did … … 500 506 fi 501 507 502 503 508 if test ${GXX} = yes; then 504 509 if test "$ac_cxxflags_set" = no; then
Note: See TracChangeset
for help on using the changeset viewer.