- Timestamp:
- Jun 15, 1998, 4:24:33 PM (26 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 413cbb5b3c16bbfc1a79f0e3a7f94114c67d2631
- Parents:
- f95b2f5ff42256da96cdc52327c82d3d9a4e9d66
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/configure
rf95b2f r5ed8ad 1414 1414 # 1415 1415 1416 # Attention! We use file descriptor 9 for our purposes!1417 # This may fail with future version of `autoconf'.1418 1416 echo $ac_n "checking and generating explicit install paths""... $ac_c" 1>&6 1419 echo "configure:14 20: checking and generating explicit install paths" >&51417 echo "configure:1418: checking and generating explicit install paths" >&5 1420 1418 save_prefix="$prefix" 1421 1419 save_exec_prefix="$exec_prefix" … … 1426 1424 includedir oldincludedir infodir mandir; do 1427 1425 eval "dir_value=\$$dir" 1428 echo "$dir=$dir_value" >> ./conftest.mk 1429 echo "explicit_$dir:" >> ./conftest.mk 1430 echo " echo \$($dir) >&9" >> ./conftest.mk 1426 cat >> ./conftest.mk << EXPLPATHEOT 1427 $dir=$dir_value 1428 explicit_$dir: 1429 @ echo \$($dir) 1430 @ if echo \$($dir) | grep '^/'; \\ 1431 then echo \$($dir) > ./conftest.dir; \\ 1432 else echo \`pwd\`/\$($dir) > ./conftest.dir; fi 1433 EXPLPATHEOT 1431 1434 done 1432 1435 prefix="$save_prefix" 1433 1436 exec_prefix="$save_exec_prefix" 1434 1437 1435 explicit_datadir=`make 9>&1 >&5 2>&1 -f ./conftest.mk explicit_datadir` 1436 explicit_libdir=`make 9>&1 >&5 2>&1 -f ./conftest.mk explicit_libdir` 1437 explicit_includedir=`make 9>&1 >&5 2>&1 -f ./conftest.mk explicit_includedir` 1438 1439 rm -f ./conftest.mk 1438 make >&5 2>&1 -f ./conftest.mk explicit_datadir 1439 explicit_datadir=`cat ./conftest.dir` 1440 make >&5 2>&1 -f ./conftest.mk explicit_libdir 1441 explicit_libdir=`cat ./conftest.dir` 1442 make >&5 2>&1 -f ./conftest.mk explicit_includedir 1443 explicit_includedir=`cat ./conftest.dir` 1444 1445 mv conftest.mk xxx.xxx 1446 rm -f ./conftest.mk ./conftest.dir 1447 1440 1448 echo "$ac_t""done" 1>&6 1441 1449 1442 # make paths absolut1443 if echo "$explicit_datadir" | grep -v '^/' > /dev/null 2> /dev/null; then1444 explicit_datadir="`pwd`/$explicit_datadir"1445 fi1446 if echo "$explicit_libdir" | grep -v '^/' > /dev/null 2> /dev/null; then1447 explicit_libdir="`pwd`/$explicit_libdir"1448 fi1449 if echo "$explicit_includedir" | grep -v '^/' > /dev/null 2> /dev/null; then1450 explicit_includedir="`pwd`/$explicit_includedir"1451 fi1452 1453 1450 # 1454 1451 # - check for libraries. 1455 1452 # 1456 1453 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1457 echo "configure:145 8: checking for atof in -lm" >&51454 echo "configure:1455: checking for atof in -lm" >&5 1458 1455 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1459 1456 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1463 1460 LIBS="-lm $LIBS" 1464 1461 cat > conftest.$ac_ext <<EOF 1465 #line 146 6"configure"1462 #line 1463 "configure" 1466 1463 #include "confdefs.h" 1467 1464 /* Override any gcc2 internal prototype to avoid an error. */ … … 1474 1471 ; return 0; } 1475 1472 EOF 1476 if { (eval echo configure:147 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1473 if { (eval echo configure:1474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1477 1474 rm -rf conftest* 1478 1475 eval "ac_cv_lib_$ac_lib_var=yes" … … 1505 1502 if test "x$gmp_in_installation" != xyes; then 1506 1503 echo $ac_n "checking for mpz_init in -lgmp""... $ac_c" 1>&6 1507 echo "configure:150 8: checking for mpz_init in -lgmp" >&51504 echo "configure:1505: checking for mpz_init in -lgmp" >&5 1508 1505 ac_lib_var=`echo gmp'_'mpz_init | sed 'y%./+-%__p_%'` 1509 1506 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1513 1510 LIBS="-lgmp $LIBS" 1514 1511 cat > conftest.$ac_ext <<EOF 1515 #line 151 6"configure"1512 #line 1513 "configure" 1516 1513 #include "confdefs.h" 1517 1514 /* Override any gcc2 internal prototype to avoid an error. */ … … 1524 1521 ; return 0; } 1525 1522 EOF 1526 if { (eval echo configure:152 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1523 if { (eval echo configure:1524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1527 1524 rm -rf conftest* 1528 1525 eval "ac_cv_lib_$ac_lib_var=yes" … … 1555 1552 LDFLAGS="-L$explicit_libdir $LDFLAGS" 1556 1553 echo $ac_n "checking for mpz_init in -lgmp""... $ac_c" 1>&6 1557 echo "configure:155 8: checking for mpz_init in -lgmp" >&51554 echo "configure:1555: checking for mpz_init in -lgmp" >&5 1558 1555 ac_lib_var=`echo gmp'_'mpz_init | sed 'y%./+-%__p_%'` 1559 1556 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1563 1560 LIBS="-lgmp $LIBS" 1564 1561 cat > conftest.$ac_ext <<EOF 1565 #line 156 6"configure"1562 #line 1563 "configure" 1566 1563 #include "confdefs.h" 1567 1564 /* Override any gcc2 internal prototype to avoid an error. */ … … 1574 1571 ; return 0; } 1575 1572 EOF 1576 if { (eval echo configure:157 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1573 if { (eval echo configure:1574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1577 1574 rm -rf conftest* 1578 1575 eval "ac_cv_lib_$ac_lib_var=yes" … … 1624 1621 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1625 1622 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1626 echo "configure:162 7: checking for $ac_hdr" >&51623 echo "configure:1624: checking for $ac_hdr" >&5 1627 1624 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1628 1625 echo $ac_n "(cached) $ac_c" 1>&6 1629 1626 else 1630 1627 cat > conftest.$ac_ext <<EOF 1631 #line 16 32"configure"1628 #line 1629 "configure" 1632 1629 #include "confdefs.h" 1633 1630 #include <$ac_hdr> 1634 1631 EOF 1635 1632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1636 { (eval echo configure:163 7: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1633 { (eval echo configure:1634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1637 1634 ac_err=`grep -v '^ *+' conftest.out` 1638 1635 if test -z "$ac_err"; then … … 1665 1662 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1666 1663 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1667 echo "configure:166 8: checking for $ac_hdr" >&51664 echo "configure:1665: checking for $ac_hdr" >&5 1668 1665 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1669 1666 echo $ac_n "(cached) $ac_c" 1>&6 1670 1667 else 1671 1668 cat > conftest.$ac_ext <<EOF 1672 #line 167 3"configure"1669 #line 1670 "configure" 1673 1670 #include "confdefs.h" 1674 1671 #include <$ac_hdr> 1675 1672 EOF 1676 1673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1677 { (eval echo configure:167 8: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1674 { (eval echo configure:1675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1678 1675 ac_err=`grep -v '^ *+' conftest.out` 1679 1676 if test -z "$ac_err"; then … … 1713 1710 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1714 1711 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1715 echo "configure:171 6: checking for $ac_hdr" >&51712 echo "configure:1713: checking for $ac_hdr" >&5 1716 1713 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1717 1714 echo $ac_n "(cached) $ac_c" 1>&6 1718 1715 else 1719 1716 cat > conftest.$ac_ext <<EOF 1720 #line 17 21"configure"1717 #line 1718 "configure" 1721 1718 #include "confdefs.h" 1722 1719 #include <$ac_hdr> 1723 1720 EOF 1724 1721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1725 { (eval echo configure:172 6: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1722 { (eval echo configure:1723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1726 1723 ac_err=`grep -v '^ *+' conftest.out` 1727 1724 if test -z "$ac_err"; then … … 1756 1753 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1757 1754 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1758 echo "configure:175 9: checking for $ac_hdr" >&51755 echo "configure:1756: checking for $ac_hdr" >&5 1759 1756 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1760 1757 echo $ac_n "(cached) $ac_c" 1>&6 1761 1758 else 1762 1759 cat > conftest.$ac_ext <<EOF 1763 #line 176 4"configure"1760 #line 1761 "configure" 1764 1761 #include "confdefs.h" 1765 1762 #include <$ac_hdr> 1766 1763 EOF 1767 1764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1768 { (eval echo configure:176 9: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1765 { (eval echo configure:1766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1769 1766 ac_err=`grep -v '^ *+' conftest.out` 1770 1767 if test -z "$ac_err"; then … … 1797 1794 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1798 1795 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1799 echo "configure:1 800: checking for $ac_hdr" >&51796 echo "configure:1797: checking for $ac_hdr" >&5 1800 1797 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1801 1798 echo $ac_n "(cached) $ac_c" 1>&6 1802 1799 else 1803 1800 cat > conftest.$ac_ext <<EOF 1804 #line 180 5"configure"1801 #line 1802 "configure" 1805 1802 #include "confdefs.h" 1806 1803 #include <$ac_hdr> 1807 1804 EOF 1808 1805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1809 { (eval echo configure:18 10: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1806 { (eval echo configure:1807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1810 1807 ac_err=`grep -v '^ *+' conftest.out` 1811 1808 if test -z "$ac_err"; then … … 1841 1838 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1842 1839 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1843 echo "configure:184 4: checking for $ac_hdr" >&51840 echo "configure:1841: checking for $ac_hdr" >&5 1844 1841 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1845 1842 echo $ac_n "(cached) $ac_c" 1>&6 1846 1843 else 1847 1844 cat > conftest.$ac_ext <<EOF 1848 #line 184 9"configure"1845 #line 1846 "configure" 1849 1846 #include "confdefs.h" 1850 1847 #include <$ac_hdr> 1851 1848 EOF 1852 1849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1853 { (eval echo configure:185 4: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1850 { (eval echo configure:1851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1854 1851 ac_err=`grep -v '^ *+' conftest.out` 1855 1852 if test -z "$ac_err"; then … … 1887 1884 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1888 1885 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1889 echo "configure:18 90: checking for $ac_hdr" >&51886 echo "configure:1887: checking for $ac_hdr" >&5 1890 1887 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1891 1888 echo $ac_n "(cached) $ac_c" 1>&6 1892 1889 else 1893 1890 cat > conftest.$ac_ext <<EOF 1894 #line 189 5"configure"1891 #line 1892 "configure" 1895 1892 #include "confdefs.h" 1896 1893 #include <$ac_hdr> 1897 1894 EOF 1898 1895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1899 { (eval echo configure:1 900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1896 { (eval echo configure:1897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1900 1897 ac_err=`grep -v '^ *+' conftest.out` 1901 1898 if test -z "$ac_err"; then … … 1956 1953 1957 1954 echo $ac_n "checking for working const""... $ac_c" 1>&6 1958 echo "configure:195 9: checking for working const" >&51955 echo "configure:1956: checking for working const" >&5 1959 1956 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1960 1957 echo $ac_n "(cached) $ac_c" 1>&6 1961 1958 else 1962 1959 cat > conftest.$ac_ext <<EOF 1963 #line 196 4"configure"1960 #line 1961 "configure" 1964 1961 #include "confdefs.h" 1965 1962 … … 2010 2007 ; return 0; } 2011 2008 EOF 2012 if { (eval echo configure:201 3: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2009 if { (eval echo configure:2010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2013 2010 rm -rf conftest* 2014 2011 ac_cv_c_const=yes … … 2031 2028 2032 2029 echo $ac_n "checking for inline""... $ac_c" 1>&6 2033 echo "configure:203 4: checking for inline" >&52030 echo "configure:2031: checking for inline" >&5 2034 2031 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2035 2032 echo $ac_n "(cached) $ac_c" 1>&6 … … 2038 2035 for ac_kw in inline __inline__ __inline; do 2039 2036 cat > conftest.$ac_ext <<EOF 2040 #line 20 41"configure"2037 #line 2038 "configure" 2041 2038 #include "confdefs.h" 2042 2039 … … 2045 2042 ; return 0; } 2046 2043 EOF 2047 if { (eval echo configure:204 8: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2044 if { (eval echo configure:2045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2048 2045 rm -rf conftest* 2049 2046 ac_cv_c_inline=$ac_kw; break … … 2073 2070 # arithmetic shift 2074 2071 echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6 2075 echo "configure:207 6: checking whether your compiler does arithmetic shifts" >&52072 echo "configure:2073: checking whether your compiler does arithmetic shifts" >&5 2076 2073 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 2077 2074 echo $ac_n "(cached) $ac_c" 1>&6 … … 2081 2078 else 2082 2079 cat > conftest.$ac_ext <<EOF 2083 #line 208 4"configure"2080 #line 2081 "configure" 2084 2081 #include "confdefs.h" 2085 2082 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2086 2083 EOF 2087 if { (eval echo configure:208 8: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2084 if { (eval echo configure:2085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2088 2085 then 2089 2086 ac_cv_shift=yes
Note: See TracChangeset
for help on using the changeset viewer.