Changeset 22e84a in git
- Timestamp:
- Jan 23, 2007, 11:16:40 PM (16 years ago)
- Branches:
- (u'spielwiese', 'd1ba061a762c62d3a25159d8da8b6e17332291fa')
- Children:
- b830620f6c1ad152684c50f2ff60c291a91f7054
- Parents:
- e6de3312fe8dc495d432f2eca2d429a44e4de32f
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
re6de331 r22e84a 1214 1214 fi 1215 1215 1216 for ac_declaration in \ 1217 ''\ 1218 '#include <stdlib.h>' \ 1219 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1220 'extern "C" void std::exit (int); using std::exit;' \ 1221 'extern "C" void exit (int) throw ();' \ 1222 'extern "C" void exit (int);' \ 1223 'void exit (int);' 1224 do 1225 cat > conftest.$ac_ext <<EOF 1226 #line 1227 "configure" 1227 #include "confdefs.h" 1228 #include <stdlib.h> 1229 $ac_declaration 1230 int main() { 1231 exit (42); 1232 ; return 0; } 1233 EOF 1234 if { (eval echo configure:1235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1235 : 1236 else 1237 echo "configure: failed program was:" >&5 1238 cat conftest.$ac_ext >&5 1239 rm -rf conftest* 1240 continue 1241 fi 1242 rm -f conftest* 1243 cat > conftest.$ac_ext <<EOF 1244 #line 1245 "configure" 1245 #include "confdefs.h" 1246 $ac_declaration 1247 int main() { 1248 exit (42); 1249 ; return 0; } 1250 EOF 1251 if { (eval echo configure:1252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1252 rm -rf conftest* 1253 break 1254 else 1255 echo "configure: failed program was:" >&5 1256 cat conftest.$ac_ext >&5 1257 fi 1258 rm -f conftest* 1259 done 1260 if test -n "$ac_declaration"; then 1261 echo '#ifdef __cplusplus' >>confdefs.h 1262 echo $ac_declaration >>confdefs.h 1263 echo '#endif' >>confdefs.h 1264 fi 1265 1266 1216 1267 1217 1268 SING_CC=${CC}; export SING_CC … … 1220 1271 # check whether the compiler accepts -pipe 1221 1272 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1222 echo "configure:12 23: checking whether compiler accepts -pipe" >&51273 echo "configure:1274: checking whether compiler accepts -pipe" >&5 1223 1274 temp_cflags=${CFLAGS} 1224 1275 CFLAGS="${CFLAGS} -pipe" … … 1227 1278 else 1228 1279 cat > conftest.$ac_ext <<EOF 1229 #line 12 30"configure"1280 #line 1281 "configure" 1230 1281 #include "confdefs.h" 1231 1282 … … 1234 1285 ; return 0; } 1235 1286 EOF 1236 if { (eval echo configure:12 37: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1287 if { (eval echo configure:1288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1237 1288 rm -rf conftest* 1238 1289 ac_cv_cxx_have_pipe=yes … … 1261 1312 set dummy $ac_prog; ac_word=$2 1262 1313 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1263 echo "configure:1 264: checking for $ac_word" >&51314 echo "configure:1315: checking for $ac_word" >&5 1264 1315 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 1265 1316 echo $ac_n "(cached) $ac_c" 1>&6 … … 1295 1346 set dummy $ac_prog; ac_word=$2 1296 1347 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1297 echo "configure:1 298: checking for $ac_word" >&51348 echo "configure:1349: checking for $ac_word" >&5 1298 1349 if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then 1299 1350 echo $ac_n "(cached) $ac_c" 1>&6 … … 1329 1380 set dummy $ac_prog; ac_word=$2 1330 1381 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1331 echo "configure:13 32: checking for $ac_word" >&51382 echo "configure:1383: checking for $ac_word" >&5 1332 1383 if eval "test \"`echo '$''{'ac_cv_prog_GUNZIP'+set}'`\" = set"; then 1333 1384 echo $ac_n "(cached) $ac_c" 1>&6 … … 1365 1416 set dummy $ac_prog; ac_word=$2 1366 1417 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1367 echo "configure:1 368: checking for $ac_word" >&51418 echo "configure:1419: checking for $ac_word" >&5 1368 1419 if eval "test \"`echo '$''{'ac_cv_prog_MYGZIP'+set}'`\" = set"; then 1369 1420 echo $ac_n "(cached) $ac_c" 1>&6 … … 1398 1449 set dummy latex2html; ac_word=$2 1399 1450 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1400 echo "configure:14 01: checking for $ac_word" >&51451 echo "configure:1452: checking for $ac_word" >&5 1401 1452 if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then 1402 1453 echo $ac_n "(cached) $ac_c" 1>&6 … … 1425 1476 1426 1477 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1427 echo "configure:14 28: checking whether ln -s works" >&51478 echo "configure:1479: checking whether ln -s works" >&5 1428 1479 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1429 1480 echo $ac_n "(cached) $ac_c" 1>&6 … … 1495 1546 # check for AIX 1496 1547 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1497 echo "configure:1 498: checking whether _AIX is defined" >&51548 echo "configure:1549: checking whether _AIX is defined" >&5 1498 1549 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1499 1550 echo $ac_n "(cached) $ac_c" 1>&6 1500 1551 else 1501 1552 cat > conftest.$ac_ext <<EOF 1502 #line 15 03"configure"1553 #line 1554 "configure" 1503 1554 #include "confdefs.h" 1504 1555 #ifdef _AIX … … 1526 1577 1527 1578 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1528 echo "configure:15 29: checking for atof in -lm" >&51579 echo "configure:1580: checking for atof in -lm" >&5 1529 1580 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1530 1581 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1534 1585 LIBS="-lm $LIBS" 1535 1586 cat > conftest.$ac_ext <<EOF 1536 #line 15 37"configure"1587 #line 1588 "configure" 1537 1588 #include "confdefs.h" 1538 1589 /* Override any gcc2 internal prototype to avoid an error. */ … … 1545 1596 ; return 0; } 1546 1597 EOF 1547 if { (eval echo configure:15 48: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1598 if { (eval echo configure:1599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1548 1599 rm -rf conftest* 1549 1600 eval "ac_cv_lib_$ac_lib_var=yes" … … 1573 1624 1574 1625 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1575 echo "configure:1 576: checking for socket in -lbsd" >&51626 echo "configure:1627: checking for socket in -lbsd" >&5 1576 1627 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1577 1628 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1581 1632 LIBS="-lbsd $LIBS" 1582 1633 cat > conftest.$ac_ext <<EOF 1583 #line 1 584"configure"1634 #line 1635 "configure" 1584 1635 #include "confdefs.h" 1585 1636 /* Override any gcc2 internal prototype to avoid an error. */ … … 1592 1643 ; return 0; } 1593 1644 EOF 1594 if { (eval echo configure:1 595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1645 if { (eval echo configure:1646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1595 1646 rm -rf conftest* 1596 1647 eval "ac_cv_lib_$ac_lib_var=yes" … … 1620 1671 1621 1672 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1622 echo "configure:16 23: checking for listen in -lsocket" >&51673 echo "configure:1674: checking for listen in -lsocket" >&5 1623 1674 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1624 1675 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1628 1679 LIBS="-lsocket $LIBS" 1629 1680 cat > conftest.$ac_ext <<EOF 1630 #line 16 31"configure"1681 #line 1682 "configure" 1631 1682 #include "confdefs.h" 1632 1683 /* Override any gcc2 internal prototype to avoid an error. */ … … 1639 1690 ; return 0; } 1640 1691 EOF 1641 if { (eval echo configure:16 42: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1692 if { (eval echo configure:1693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1642 1693 rm -rf conftest* 1643 1694 eval "ac_cv_lib_$ac_lib_var=yes" … … 1667 1718 1668 1719 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1669 echo "configure:1 670: checking for gethostbyname in -lnsl" >&51720 echo "configure:1721: checking for gethostbyname in -lnsl" >&5 1670 1721 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1671 1722 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1675 1726 LIBS="-lnsl $LIBS" 1676 1727 cat > conftest.$ac_ext <<EOF 1677 #line 1 678"configure"1728 #line 1729 "configure" 1678 1729 #include "confdefs.h" 1679 1730 /* Override any gcc2 internal prototype to avoid an error. */ … … 1686 1737 ; return 0; } 1687 1738 EOF 1688 if { (eval echo configure:1 689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1739 if { (eval echo configure:1740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1689 1740 rm -rf conftest* 1690 1741 eval "ac_cv_lib_$ac_lib_var=yes" … … 1714 1765 1715 1766 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 1716 echo "configure:17 17: checking for main in -lgmp" >&51767 echo "configure:1768: checking for main in -lgmp" >&5 1717 1768 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 1718 1769 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1722 1773 LIBS="-lgmp $LIBS" 1723 1774 cat > conftest.$ac_ext <<EOF 1724 #line 17 25"configure"1775 #line 1776 "configure" 1725 1776 #include "confdefs.h" 1726 1777 … … 1729 1780 ; return 0; } 1730 1781 EOF 1731 if { (eval echo configure:17 32: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1782 if { (eval echo configure:1783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1732 1783 rm -rf conftest* 1733 1784 eval "ac_cv_lib_$ac_lib_var=yes" … … 1757 1808 1758 1809 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 1759 echo "configure:1 760: checking for IMP_PutGmpInt in -lMP" >&51810 echo "configure:1811: checking for IMP_PutGmpInt in -lMP" >&5 1760 1811 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 1761 1812 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1765 1816 LIBS="-lMP $LIBS" 1766 1817 cat > conftest.$ac_ext <<EOF 1767 #line 1 768"configure"1818 #line 1819 "configure" 1768 1819 #include "confdefs.h" 1769 1820 /* Override any gcc2 internal prototype to avoid an error. */ … … 1776 1827 ; return 0; } 1777 1828 EOF 1778 if { (eval echo configure:1 779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1829 if { (eval echo configure:1830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1779 1830 rm -rf conftest* 1780 1831 eval "ac_cv_lib_$ac_lib_var=yes" … … 1804 1855 1805 1856 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 1806 echo "configure:18 07: checking for MPT_GetTree in -lMPT" >&51857 echo "configure:1858: checking for MPT_GetTree in -lMPT" >&5 1807 1858 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 1808 1859 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1812 1863 LIBS="-lMPT $LIBS" 1813 1864 cat > conftest.$ac_ext <<EOF 1814 #line 18 15"configure"1865 #line 1866 "configure" 1815 1866 #include "confdefs.h" 1816 1867 /* Override any gcc2 internal prototype to avoid an error. */ … … 1823 1874 ; return 0; } 1824 1875 EOF 1825 if { (eval echo configure:18 26: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1876 if { (eval echo configure:1877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1826 1877 rm -rf conftest* 1827 1878 eval "ac_cv_lib_$ac_lib_var=yes" … … 1851 1902 1852 1903 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 1853 echo "configure:1 854: checking for atof in -lsingcf" >&51904 echo "configure:1905: checking for atof in -lsingcf" >&5 1854 1905 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 1855 1906 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1859 1910 LIBS="-lsingcf $LIBS" 1860 1911 cat > conftest.$ac_ext <<EOF 1861 #line 1 862"configure"1912 #line 1913 "configure" 1862 1913 #include "confdefs.h" 1863 1914 /* Override any gcc2 internal prototype to avoid an error. */ … … 1870 1921 ; return 0; } 1871 1922 EOF 1872 if { (eval echo configure:1 873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1923 if { (eval echo configure:1924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1873 1924 rm -rf conftest* 1874 1925 eval "ac_cv_lib_$ac_lib_var=yes" … … 1898 1949 1899 1950 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 1900 echo "configure:19 01: checking for atof in -lsingfac" >&51951 echo "configure:1952: checking for atof in -lsingfac" >&5 1901 1952 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 1902 1953 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1906 1957 LIBS="-lsingfac $LIBS" 1907 1958 cat > conftest.$ac_ext <<EOF 1908 #line 19 09"configure"1959 #line 1960 "configure" 1909 1960 #include "confdefs.h" 1910 1961 /* Override any gcc2 internal prototype to avoid an error. */ … … 1917 1968 ; return 0; } 1918 1969 EOF 1919 if { (eval echo configure:19 20: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1970 if { (eval echo configure:1971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1920 1971 rm -rf conftest* 1921 1972 eval "ac_cv_lib_$ac_lib_var=yes" … … 1945 1996 1946 1997 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 1947 echo "configure:19 48: checking for omTestAddr in -lomalloc" >&51998 echo "configure:1999: checking for omTestAddr in -lomalloc" >&5 1948 1999 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` 1949 2000 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1953 2004 LIBS="-lomalloc $LIBS" 1954 2005 cat > conftest.$ac_ext <<EOF 1955 #line 1956"configure"2006 #line 2007 "configure" 1956 2007 #include "confdefs.h" 1957 2008 /* Override any gcc2 internal prototype to avoid an error. */ … … 1964 2015 ; return 0; } 1965 2016 EOF 1966 if { (eval echo configure: 1967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2017 if { (eval echo configure:2018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1967 2018 rm -rf conftest* 1968 2019 eval "ac_cv_lib_$ac_lib_var=yes" … … 1992 2043 1993 2044 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 1994 echo "configure: 1995: checking for main in -lomalloc_ndebug" >&52045 echo "configure:2046: checking for main in -lomalloc_ndebug" >&5 1995 2046 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` 1996 2047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2000 2051 LIBS="-lomalloc_ndebug $LIBS" 2001 2052 cat > conftest.$ac_ext <<EOF 2002 #line 20 03"configure"2053 #line 2054 "configure" 2003 2054 #include "confdefs.h" 2004 2055 … … 2007 2058 ; return 0; } 2008 2059 EOF 2009 if { (eval echo configure:20 10: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2060 if { (eval echo configure:2061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2010 2061 rm -rf conftest* 2011 2062 eval "ac_cv_lib_$ac_lib_var=yes" … … 2039 2090 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2040 2091 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2041 echo "configure:20 42: checking for $ac_hdr" >&52092 echo "configure:2093: checking for $ac_hdr" >&5 2042 2093 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2043 2094 echo $ac_n "(cached) $ac_c" 1>&6 2044 2095 else 2045 2096 cat > conftest.$ac_ext <<EOF 2046 #line 20 47"configure"2097 #line 2098 "configure" 2047 2098 #include "confdefs.h" 2048 2099 #include <$ac_hdr> 2049 2100 EOF 2050 2101 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2051 { (eval echo configure:2 052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2102 { (eval echo configure:2103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2052 2103 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2053 2104 if test -z "$ac_err"; then … … 2219 2270 2220 2271 echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6 2221 echo "configure:22 22: checking which tmp dir to use" >&52272 echo "configure:2273: checking which tmp dir to use" >&5 2222 2273 if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then 2223 2274 if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1) … … 2234 2285 2235 2286 echo $ac_n "checking whether to configure and build omalloc""... $ac_c" 1>&6 2236 echo "configure:22 37: checking whether to configure and build omalloc" >&52287 echo "configure:2288: checking whether to configure and build omalloc" >&5 2237 2288 if test "${enable_omalloc+set}" != set; then 2238 2289 if test "$ac_cv_omalloc_ok" = yes; then … … 2273 2324 2274 2325 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 2275 echo "configure:2 276: checking whether to configure and build gmp lib" >&52326 echo "configure:2327: checking whether to configure and build gmp lib" >&5 2276 2327 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 2277 2328 if test "$ac_gmp_ok" != yes && test -d gmp; then … … 2333 2384 # requires: sizeof(long)==4 2334 2385 echo $ac_n "checking size of long""... $ac_c" 1>&6 2335 echo "configure:23 36: checking size of long" >&52386 echo "configure:2387: checking size of long" >&5 2336 2387 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 2337 2388 echo $ac_n "(cached) $ac_c" 1>&6 … … 2341 2392 else 2342 2393 cat > conftest.$ac_ext <<EOF 2343 #line 23 44"configure"2394 #line 2395 "configure" 2344 2395 #include "confdefs.h" 2345 2396 #include <stdio.h> 2346 main()2397 int main() 2347 2398 { 2348 2399 FILE *f=fopen("conftestval", "w"); 2349 if (!f) exit(1);2400 if (!f) return(1); 2350 2401 fprintf(f, "%d\n", sizeof(long)); 2351 exit(0);2402 return(0); 2352 2403 } 2353 2404 EOF 2354 if { (eval echo configure:2 355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2405 if { (eval echo configure:2406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2355 2406 then 2356 2407 ac_cv_sizeof_long=`cat conftestval` … … 2376 2427 2377 2428 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 2378 echo "configure:2 379: checking whether to configure and build MP lib" >&52429 echo "configure:2430: checking whether to configure and build MP lib" >&5 2379 2430 2380 2431 if test "$enable_MP" != yes && test "$enable_MP" != no; then … … 2413 2464 2414 2465 echo $ac_n "checking whether to configure and build NTL lib""... $ac_c" 1>&6 2415 echo "configure:24 16: checking whether to configure and build NTL lib" >&52466 echo "configure:2467: checking whether to configure and build NTL lib" >&5 2416 2467 if test "$enable_NTL" != yes && test "$enable_NTL" != no; then 2417 2468 if test "$with_NTL" != no && test "$ac_NTL_ok" != yes && \ … … 2430 2481 2431 2482 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 2432 echo "configure:24 33: checking how to run the C++ preprocessor" >&52483 echo "configure:2484: checking how to run the C++ preprocessor" >&5 2433 2484 if test -z "$CXXCPP"; then 2434 2485 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 2443 2494 CXXCPP="${CXX-g++} -E" 2444 2495 cat > conftest.$ac_ext <<EOF 2445 #line 24 46"configure"2496 #line 2497 "configure" 2446 2497 #include "confdefs.h" 2447 2498 #include <stdlib.h> 2448 2499 EOF 2449 2500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2450 { (eval echo configure:2 451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2501 { (eval echo configure:2502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2451 2502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2452 2503 if test -z "$ac_err"; then … … 2476 2527 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2477 2528 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2478 echo "configure:2 479: checking for $ac_hdr" >&52529 echo "configure:2530: checking for $ac_hdr" >&5 2479 2530 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2480 2531 echo $ac_n "(cached) $ac_c" 1>&6 2481 2532 else 2482 2533 cat > conftest.$ac_ext <<EOF 2483 #line 2 484"configure"2534 #line 2535 "configure" 2484 2535 #include "confdefs.h" 2485 2536 #include <$ac_hdr> 2486 2537 EOF 2487 2538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2488 { (eval echo configure:2 489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2539 { (eval echo configure:2540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2489 2540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2490 2541 if test -z "$ac_err"; then … … 2531 2582 2532 2583 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 2533 echo "configure:25 34: checking whether to configure and build factory lib" >&52584 echo "configure:2585: checking whether to configure and build factory lib" >&5 2534 2585 if test "$enable_factory" != yes && test "$enable_factory" != no; then 2535 2586 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ … … 2558 2609 2559 2610 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 2560 echo "configure:2 561: checking whether to configure and build libfac lib" >&52611 echo "configure:2612: checking whether to configure and build libfac lib" >&5 2561 2612 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 2562 2613 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ … … 2590 2641 2591 2642 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 2592 echo "configure:2 593: checking whether to configure and build sgroup lib" >&52643 echo "configure:2644: checking whether to configure and build sgroup lib" >&5 2593 2644 if test "$enable_sgroup" = yes; then 2594 2645 if test ! -d sgroup; then … … 2611 2662 2612 2663 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 2613 echo "configure:26 14: checking whether to configure and build Singular" >&52664 echo "configure:2665: checking whether to configure and build Singular" >&5 2614 2665 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 2615 2666 if test "$with_Singular" != no && test -d Singular; then … … 2642 2693 2643 2694 echo $ac_n "checking whether to build IntegerProgramming""... $ac_c" 1>&6 2644 echo "configure:26 45: checking whether to build IntegerProgramming" >&52695 echo "configure:2696: checking whether to build IntegerProgramming" >&5 2645 2696 if test "$enable_IntegerProgramming" != no && test -d "IntegerProgramming"; then 2646 2697 BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming" … … 2655 2706 2656 2707 echo $ac_n "checking whether to build Plural""... $ac_c" 1>&6 2657 echo "configure:2 658: checking whether to build Plural" >&52708 echo "configure:2709: checking whether to build Plural" >&5 2658 2709 if test "$enable_Plural" != no || test "$with_Plural" != no; then 2659 2710 echo "$ac_t""yes" 1>&6 … … 2667 2718 2668 2719 echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6 2669 echo "configure:2 670: checking whether to configure and build Texinfo" >&52720 echo "configure:2721: checking whether to configure and build Texinfo" >&5 2670 2721 if test "$enable_Texinfo" != no && test -d Texinfo; then 2671 2722 echo "$ac_t""yes" 1>&6 … … 2691 2742 set dummy makeinfo; ac_word=$2 2692 2743 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2693 echo "configure:2 694: checking for $ac_word" >&52744 echo "configure:2745: checking for $ac_word" >&5 2694 2745 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then 2695 2746 echo $ac_n "(cached) $ac_c" 1>&6 … … 2721 2772 set dummy texi2dvi; ac_word=$2 2722 2773 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2723 echo "configure:27 24: checking for $ac_word" >&52774 echo "configure:2775: checking for $ac_word" >&5 2724 2775 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then 2725 2776 echo $ac_n "(cached) $ac_c" 1>&6 … … 2751 2802 set dummy texindex; ac_word=$2 2752 2803 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2753 echo "configure:2 754: checking for $ac_word" >&52804 echo "configure:2805: checking for $ac_word" >&5 2754 2805 if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then 2755 2806 echo $ac_n "(cached) $ac_c" 1>&6 … … 2781 2832 set dummy texi2pdf; ac_word=$2 2782 2833 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2783 echo "configure:2 784: checking for $ac_word" >&52834 echo "configure:2835: checking for $ac_word" >&5 2784 2835 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2PDF'+set}'`\" = set"; then 2785 2836 echo $ac_n "(cached) $ac_c" 1>&6 … … 2811 2862 2812 2863 echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6 2813 echo "configure:28 14: checking whether to configure and build Texi2html" >&52864 echo "configure:2865: checking whether to configure and build Texi2html" >&5 2814 2865 if test "$enable_Texi2html" != no && test -d Texi2html; then 2815 2866 echo "$ac_t""yes" 1>&6 … … 2826 2877 set dummy texi2html; ac_word=$2 2827 2878 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2828 echo "configure:28 29: checking for $ac_word" >&52879 echo "configure:2880: checking for $ac_word" >&5 2829 2880 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then 2830 2881 echo $ac_n "(cached) $ac_c" 1>&6 … … 2864 2915 2865 2916 echo $ac_n "checking whether to build doc""... $ac_c" 1>&6 2866 echo "configure:2 867: checking whether to build doc" >&52917 echo "configure:2918: checking whether to build doc" >&5 2867 2918 if test "$enable_doc" != no && test -d doc; then 2868 2919 echo "$ac_t""yes" 1>&6 … … 2878 2929 2879 2930 echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6 2880 echo "configure:2 881: checking whether to build emacs" >&52931 echo "configure:2932: checking whether to build emacs" >&5 2881 2932 if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then 2882 2933 echo "$ac_t""yes" 1>&6 … … 2890 2941 2891 2942 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 2892 echo "configure:2 893: checking which apint package to use" >&52943 echo "configure:2944: checking which apint package to use" >&5 2893 2944 if test "$with_apint" = gmp; then 2894 2945 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 2906 2957 2907 2958 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 2908 echo "configure:29 09: checking whether to use with MP" >&52959 echo "configure:2960: checking whether to use with MP" >&5 2909 2960 if test "$with_MP" = yes; then 2910 2961 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then … … 2926 2977 2927 2978 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 2928 echo "configure:29 29: checking whether to use with factory" >&52979 echo "configure:2980: checking whether to use with factory" >&5 2929 2980 if test "$with_factory" = yes; then 2930 2981 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 2945 2996 2946 2997 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 2947 echo "configure:29 48: checking whether to use with libfac" >&52998 echo "configure:2999: checking whether to use with libfac" >&5 2948 2999 if test "$with_libfac" = yes; then 2949 3000 if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then … … 2966 3017 2967 3018 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 2968 echo "configure: 2969: checking whether to use with Singular" >&53019 echo "configure:3020: checking whether to use with Singular" >&5 2969 3020 if test "$with_Singular" != no && test "$with_Singular" != yes; then 2970 3021 if test "$enable_Singular" = yes; then … … 3005 3056 SUBDIRS="$SUBDIRS sgroup" 3006 3057 fi 3058 if test -d kernel; then 3059 SUBDIRS="$SUBDIRS kernel" 3060 fi 3061 if test -d IntegerProgramming; then 3062 SUBDIRS="$SUBDIRS IntegerProgramming" 3063 fi 3007 3064 if test -d Singular; then 3008 3065 SUBDIRS="$SUBDIRS Singular" … … 3029 3086 3030 3087 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3031 echo "configure:30 32: checking whether ${MAKE-make} sets \${MAKE}" >&53088 echo "configure:3089: checking whether ${MAKE-make} sets \${MAKE}" >&5 3032 3089 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3033 3090 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 3128 3185 # Protect against shell expansion while executing Makefile rules. 3129 3186 # Protect against Makefile macro expansion. 3130 cat > conftest.defs <<\EOF 3131 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g 3132 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g 3133 s%\[%\\&%g 3134 s%\]%\\&%g 3135 s%\$%$$%g 3136 EOF 3137 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` 3138 rm -f conftest.defs 3187 # 3188 # If the first sed substitution is executed (which looks for macros that 3189 # take arguments), then we branch to the quote section. Otherwise, 3190 # look for a macro that doesn't take arguments. 3191 cat >confdef2opt.sed <<\_ACEOF 3192 t clear 3193 : clear 3194 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 3195 t quote 3196 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 3197 t quote 3198 d 3199 : quote 3200 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 3201 s,\[,\\&,g 3202 s,\],\\&,g 3203 s,\$,$$,g 3204 p 3205 _ACEOF 3206 # We use echo to avoid assuming a particular line-breaking character. 3207 # The extra dot is to prevent the shell from consuming trailing 3208 # line-breaks from the sub-command output. A line-break within 3209 # single-quotes doesn't work because, if this script is created in a 3210 # platform that uses two characters for line-breaks (e.g., DOS), tr 3211 # would break. 3212 ac_LF_and_DOT=`echo; echo .` 3213 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 3214 rm -f confdef2opt.sed 3139 3215 3140 3216 -
configure.in
re6de331 r22e84a 810 810 SUBDIRS="$SUBDIRS sgroup" 811 811 fi 812 if test -d kernel; then 813 SUBDIRS="$SUBDIRS kernel" 814 fi 815 if test -d IntegerProgramming; then 816 SUBDIRS="$SUBDIRS IntegerProgramming" 817 fi 812 818 if test -d Singular; then 813 819 SUBDIRS="$SUBDIRS Singular"
Note: See TracChangeset
for help on using the changeset viewer.