Changeset 619 for trunk/src/binutils/gprof/configure
- Timestamp:
- Aug 16, 2003, 11:56:50 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/gprof/configure
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r618 r619 1292 1292 enableval="$enable_shared" 1293 1293 p=${PACKAGE-default} 1294 case "$enableval"in1294 case $enableval in 1295 1295 yes) enable_shared=yes ;; 1296 1296 no) enable_shared=no ;; … … 1315 1315 enableval="$enable_static" 1316 1316 p=${PACKAGE-default} 1317 case "$enableval"in1317 case $enableval in 1318 1318 yes) enable_static=yes ;; 1319 1319 no) enable_static=no ;; … … 1338 1338 enableval="$enable_fast_install" 1339 1339 p=${PACKAGE-default} 1340 case "$enableval"in1340 case $enableval in 1341 1341 yes) enable_fast_install=yes ;; 1342 1342 no) enable_fast_install=no ;; … … 1366 1366 1367 1367 ac_prog=ld 1368 if test "$ ac_cv_prog_gcc" = yes; then1368 if test "$GCC" = yes; then 1369 1369 # Check if gcc -print-prog-name=ld gives a path. 1370 1370 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 … … 1377 1377 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1378 1378 esac 1379 case "$ac_prog"in1379 case $ac_prog in 1380 1380 # Accept absolute paths. 1381 1381 [\\/]* | [A-Za-z]:[\\/]*) … … 1404 1404 echo "configure:1405: checking for non-GNU ld" >&5 1405 1405 fi 1406 if eval "test \"`echo '$''{' ac_cv_path_LD'+set}'`\" = set"; then1406 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1407 1407 echo $ac_n "(cached) $ac_c" 1>&6 1408 1408 else … … 1412 1412 test -z "$ac_dir" && ac_dir=. 1413 1413 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1414 ac_cv_path_LD="$ac_dir/$ac_prog"1414 lt_cv_path_LD="$ac_dir/$ac_prog" 1415 1415 # Check to see if the program is GNU ld. I'd rather use --version, 1416 1416 # but apparently some GNU ld's only accept -v. 1417 1417 # Break only if it was the GNU/non-GNU ld that we prefer. 1418 if "$ ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1418 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1419 1419 test "$with_gnu_ld" != no && break 1420 1420 else … … 1425 1425 IFS="$ac_save_ifs" 1426 1426 else 1427 ac_cv_path_LD="$LD" # Let the user override the test with a path.1428 fi 1429 fi 1430 1431 LD="$ ac_cv_path_LD"1427 lt_cv_path_LD="$LD" # Let the user override the test with a path. 1428 fi 1429 fi 1430 1431 LD="$lt_cv_path_LD" 1432 1432 if test -n "$LD"; then 1433 1433 echo "$ac_t""$LD" 1>&6 … … 1438 1438 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1439 1439 echo "configure:1440: checking if the linker ($LD) is GNU ld" >&5 1440 if eval "test \"`echo '$''{' ac_cv_prog_gnu_ld'+set}'`\" = set"; then1440 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1441 1441 echo $ac_n "(cached) $ac_c" 1>&6 1442 1442 else 1443 1443 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1444 1444 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1445 ac_cv_prog_gnu_ld=yes1446 else 1447 ac_cv_prog_gnu_ld=no1448 fi 1449 fi 1450 1451 echo "$ac_t""$ ac_cv_prog_gnu_ld" 1>&61452 with_gnu_ld=$ ac_cv_prog_gnu_ld1445 lt_cv_prog_gnu_ld=yes 1446 else 1447 lt_cv_prog_gnu_ld=no 1448 fi 1449 fi 1450 1451 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 1452 with_gnu_ld=$lt_cv_prog_gnu_ld 1453 1453 1454 1454 … … 1467 1467 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1468 1468 echo "configure:1469: checking for BSD-compatible nm" >&5 1469 if eval "test \"`echo '$''{' ac_cv_path_NM'+set}'`\" = set"; then1469 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1470 1470 echo $ac_n "(cached) $ac_c" 1>&6 1471 1471 else 1472 1472 if test -n "$NM"; then 1473 1473 # Let the user override the test. 1474 ac_cv_path_NM="$NM"1474 lt_cv_path_NM="$NM" 1475 1475 else 1476 1476 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1484 1484 # Tru64's nm complains that /dev/null is an invalid object file 1485 1485 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1486 ac_cv_path_NM="$tmp_nm -B"1486 lt_cv_path_NM="$tmp_nm -B" 1487 1487 break 1488 1488 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1489 ac_cv_path_NM="$tmp_nm -p"1489 lt_cv_path_NM="$tmp_nm -p" 1490 1490 break 1491 1491 else 1492 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but1492 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1493 1493 continue # so that we can try to find one that supports BSD flags 1494 1494 fi … … 1496 1496 done 1497 1497 IFS="$ac_save_ifs" 1498 test -z "$ ac_cv_path_NM" && ac_cv_path_NM=nm1499 fi 1500 fi 1501 1502 NM="$ ac_cv_path_NM"1498 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1499 fi 1500 fi 1501 1502 NM="$lt_cv_path_NM" 1503 1503 echo "$ac_t""$NM" 1>&6 1504 1504 … … 1549 1549 # whether `pass_all' will *always* work, you probably want this one. 1550 1550 1551 case "$host_os"in1552 aix 4*)1551 case $host_os in 1552 aix*) 1553 1553 lt_cv_deplibs_check_method=pass_all 1554 1554 ;; … … 1559 1559 1560 1560 bsdi4*) 1561 1562 1561 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1562 lt_cv_file_magic_cmd='/usr/bin/file -L' 1563 1563 lt_cv_file_magic_test_file=/shlib/libc.so 1564 1564 ;; … … 1569 1569 ;; 1570 1570 1571 darwin* | rhapsody*) 1572 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 1573 lt_cv_file_magic_cmd='/usr/bin/file -L' 1574 case "$host_os" in 1575 rhapsody* | darwin1.012) 1576 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 1577 ;; 1578 *) # Darwin 1.3 on 1579 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 1580 ;; 1581 esac 1582 ;; 1583 1571 1584 freebsd* ) 1572 1585 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1573 case "$host_cpu"in1586 case $host_cpu in 1574 1587 i*86 ) 1575 1588 # Not sure whether the presence of OpenBSD here was a mistake. 1576 1589 # Let's accept both of them until this is cleared up. 1577 1578 1590 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 1591 lt_cv_file_magic_cmd=/usr/bin/file 1579 1592 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1580 1593 ;; … … 1589 1602 ;; 1590 1603 1591 hpux10.20*) 1592 # TODO: Does this work for hpux-11 too? 1593 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library' 1594 lt_cv_file_magic_cmd=/usr/bin/file 1595 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1604 hpux10.20*|hpux11*) 1605 case $host_cpu in 1606 hppa*) 1607 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1608 lt_cv_file_magic_cmd=/usr/bin/file 1609 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1610 ;; 1611 ia64*) 1612 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1613 lt_cv_file_magic_cmd=/usr/bin/file 1614 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1615 ;; 1616 esac 1596 1617 ;; 1597 1618 1598 1619 irix5* | irix6*) 1599 case "$host_os"in1620 case $host_os in 1600 1621 irix5*) 1601 1622 # this will be overridden with pass_all, but let us keep it just in case … … 1603 1624 ;; 1604 1625 *) 1605 case "$LD"in1626 case $LD in 1606 1627 *-32|*"-32 ") libmagic=32-bit;; 1607 1628 *-n32|*"-n32 ") libmagic=N32;; … … 1610 1631 esac 1611 1632 # this will be overridden with pass_all, but let us keep it just in case 1612 1613 1633 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1634 ;; 1614 1635 esac 1615 1636 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1619 1640 # This must be Linux ELF. 1620 1641 linux-gnu*) 1621 case "$host_cpu"in1622 alpha* | i*86 | powerpc* | sparc* | ia64* )1642 case $host_cpu in 1643 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1623 1644 lt_cv_deplibs_check_method=pass_all ;; 1624 1645 *) 1625 1646 # glibc up to 2.1.1 does not perform some relocations on ARM 1626 1627 1647 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1648 esac 1628 1649 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1629 1650 ;; 1630 1651 1631 1652 netbsd*) 1632 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 1653 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1654 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 1633 1655 else 1634 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1635 lt_cv_file_magic_cmd='/usr/bin/file -L' 1636 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1656 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1637 1657 fi 1658 ;; 1659 1660 os2*) 1661 lt_cv_deplibs_check_method=pass_all 1662 ;; 1663 1664 newsos6) 1665 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 1666 lt_cv_file_magic_cmd=/usr/bin/file 1667 lt_cv_file_magic_test_file=/usr/lib/libnls.so 1638 1668 ;; 1639 1669 … … 1654 1684 ;; 1655 1685 1686 sysv5uw[78]* | sysv4*uw2*) 1687 lt_cv_deplibs_check_method=pass_all 1688 ;; 1689 1656 1690 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1657 case "$host_vendor"in1691 case $host_vendor in 1658 1692 ncr) 1659 1693 lt_cv_deplibs_check_method=pass_all 1660 1694 ;; 1661 1695 motorola) 1662 1663 1696 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 1697 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1664 1698 ;; 1665 1699 esac … … 1674 1708 1675 1709 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1676 echo "configure:1 677: checking for object suffix" >&51710 echo "configure:1711: checking for object suffix" >&5 1677 1711 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1678 1712 echo $ac_n "(cached) $ac_c" 1>&6 … … 1680 1714 rm -f conftest* 1681 1715 echo 'int i = 1;' > conftest.$ac_ext 1682 if { (eval echo configure:1 683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1716 if { (eval echo configure:1717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1683 1717 for ac_file in conftest.*; do 1684 1718 case $ac_file in … … 1706 1740 1707 1741 # Only perform the check for file, if the check method requires it 1708 case "$deplibs_check_method"in1742 case $deplibs_check_method in 1709 1743 file_magic*) 1710 1744 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1711 1745 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1712 echo "configure:17 13: checking for ${ac_tool_prefix}file" >&51746 echo "configure:1747: checking for ${ac_tool_prefix}file" >&5 1713 1747 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1714 1748 echo $ac_n "(cached) $ac_c" 1>&6 1715 1749 else 1716 case "$MAGIC_CMD"in1750 case $MAGIC_CMD in 1717 1751 /*) 1718 1752 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1730 1764 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1731 1765 if test -n "$file_magic_test_file"; then 1732 case "$deplibs_check_method"in1766 case $deplibs_check_method in 1733 1767 "file_magic "*) 1734 1768 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1772 1806 if test -n "$ac_tool_prefix"; then 1773 1807 echo $ac_n "checking for file""... $ac_c" 1>&6 1774 echo "configure:1 775: checking for file" >&51808 echo "configure:1809: checking for file" >&5 1775 1809 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1776 1810 echo $ac_n "(cached) $ac_c" 1>&6 1777 1811 else 1778 case "$MAGIC_CMD"in1812 case $MAGIC_CMD in 1779 1813 /*) 1780 1814 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1792 1826 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1793 1827 if test -n "$file_magic_test_file"; then 1794 case "$deplibs_check_method"in1828 case $deplibs_check_method in 1795 1829 "file_magic "*) 1796 1830 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1843 1877 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1844 1878 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1845 echo "configure:18 46: checking for $ac_word" >&51879 echo "configure:1880: checking for $ac_word" >&5 1846 1880 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1847 1881 echo $ac_n "(cached) $ac_c" 1>&6 … … 1876 1910 set dummy ranlib; ac_word=$2 1877 1911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1878 echo "configure:1 879: checking for $ac_word" >&51912 echo "configure:1913: checking for $ac_word" >&5 1879 1913 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1880 1914 echo $ac_n "(cached) $ac_c" 1>&6 … … 1912 1946 set dummy ${ac_tool_prefix}strip; ac_word=$2 1913 1947 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1914 echo "configure:19 15: checking for $ac_word" >&51948 echo "configure:1949: checking for $ac_word" >&5 1915 1949 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1916 1950 echo $ac_n "(cached) $ac_c" 1>&6 … … 1945 1979 set dummy strip; ac_word=$2 1946 1980 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1947 echo "configure:19 48: checking for $ac_word" >&51981 echo "configure:1982: checking for $ac_word" >&5 1948 1982 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1949 1983 echo $ac_n "(cached) $ac_c" 1>&6 … … 1984 2018 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 1985 2019 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 1986 test "$ ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"1987 test "$ ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"2020 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 2021 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 1988 2022 1989 2023 … … 2010 2044 # Some flags need to be propagated to the compiler or linker for good 2011 2045 # libtool support. 2012 case "$host"in2046 case $host in 2013 2047 *-*-irix6*) 2014 2048 # Find out which ABI we are using. 2015 echo '#line 2016 "configure"' > conftest.$ac_ext 2016 if { (eval echo configure:2017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2017 case "`/usr/bin/file conftest.o`" in 2049 echo '#line 2050 "configure"' > conftest.$ac_ext 2050 if { (eval echo configure:2051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2051 if test "$lt_cv_prog_gnu_ld" = yes; then 2052 case `/usr/bin/file conftest.$ac_objext` in 2053 *32-bit*) 2054 LD="${LD-ld} -melf32bsmip" 2055 ;; 2056 *N32*) 2057 LD="${LD-ld} -melf32bmipn32" 2058 ;; 2059 *64-bit*) 2060 LD="${LD-ld} -melf64bmip" 2061 ;; 2062 esac 2063 else 2064 case `/usr/bin/file conftest.$ac_objext` in 2018 2065 *32-bit*) 2019 2066 LD="${LD-ld} -32" … … 2026 2073 ;; 2027 2074 esac 2075 fi 2076 fi 2077 rm -rf conftest* 2078 ;; 2079 2080 ia64-*-hpux*) 2081 # Find out which ABI we are using. 2082 echo 'int i;' > conftest.$ac_ext 2083 if { (eval echo configure:2084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2084 case "`/usr/bin/file conftest.o`" in 2085 *ELF-32*) 2086 HPUX_IA64_MODE="32" 2087 ;; 2088 *ELF-64*) 2089 HPUX_IA64_MODE="64" 2090 ;; 2091 esac 2028 2092 fi 2029 2093 rm -rf conftest* … … 2035 2099 CFLAGS="$CFLAGS -belf" 2036 2100 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2037 echo "configure:2 038: checking whether the C compiler needs -belf" >&52101 echo "configure:2102: checking whether the C compiler needs -belf" >&5 2038 2102 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2039 2103 echo $ac_n "(cached) $ac_c" 1>&6 … … 2048 2112 2049 2113 cat > conftest.$ac_ext <<EOF 2050 #line 2 051"configure"2114 #line 2115 "configure" 2051 2115 #include "confdefs.h" 2052 2116 … … 2055 2119 ; return 0; } 2056 2120 EOF 2057 if { (eval echo configure:2 058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2121 if { (eval echo configure:2122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2058 2122 rm -rf conftest* 2059 2123 lt_cv_cc_needs_belf=yes … … 2165 2229 exec 5>>./config.log 2166 2230 2167 2168 2231 2169 2232 … … 2179 2242 set dummy gcc; ac_word=$2 2180 2243 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2181 echo "configure:2 182: checking for $ac_word" >&52244 echo "configure:2245: checking for $ac_word" >&5 2182 2245 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2183 2246 echo $ac_n "(cached) $ac_c" 1>&6 … … 2210 2273 set dummy cc; ac_word=$2 2211 2274 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2212 echo "configure:22 13: checking for $ac_word" >&52275 echo "configure:2276: checking for $ac_word" >&5 2213 2276 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2214 2277 echo $ac_n "(cached) $ac_c" 1>&6 … … 2263 2326 set dummy cl; ac_word=$2 2264 2327 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2265 echo "configure:2 266: checking for $ac_word" >&52328 echo "configure:2329: checking for $ac_word" >&5 2266 2329 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2267 2330 echo $ac_n "(cached) $ac_c" 1>&6 … … 2296 2359 2297 2360 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2298 echo "configure:2 299: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52361 echo "configure:2362: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2299 2362 2300 2363 ac_ext=c … … 2307 2370 cat > conftest.$ac_ext << EOF 2308 2371 2309 #line 23 10"configure"2372 #line 2373 "configure" 2310 2373 #include "confdefs.h" 2311 2374 2312 2375 main(){return(0);} 2313 2376 EOF 2314 if { (eval echo configure:23 15: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2377 if { (eval echo configure:2378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2315 2378 ac_cv_prog_cc_works=yes 2316 2379 # If we can't run a trivial program, we are probably using a cross compiler. … … 2338 2401 fi 2339 2402 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2340 echo "configure:2 341: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52403 echo "configure:2404: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2341 2404 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2342 2405 cross_compiling=$ac_cv_prog_cc_cross 2343 2406 2344 2407 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2345 echo "configure:2 346: checking whether we are using GNU C" >&52408 echo "configure:2409: checking whether we are using GNU C" >&5 2346 2409 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2347 2410 echo $ac_n "(cached) $ac_c" 1>&6 … … 2352 2415 #endif 2353 2416 EOF 2354 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2 355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2417 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2355 2418 ac_cv_prog_gcc=yes 2356 2419 else … … 2371 2434 CFLAGS= 2372 2435 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2373 echo "configure:2 374: checking whether ${CC-cc} accepts -g" >&52436 echo "configure:2437: checking whether ${CC-cc} accepts -g" >&5 2374 2437 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2375 2438 echo $ac_n "(cached) $ac_c" 1>&6 … … 2414 2477 # ./install, which can be erroneously created by make from ./install.sh. 2415 2478 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2416 echo "configure:24 17: checking for a BSD compatible install" >&52479 echo "configure:2480: checking for a BSD compatible install" >&5 2417 2480 if test -z "$INSTALL"; then 2418 2481 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 2472 2535 do 2473 2536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2474 echo "configure:2 475: checking for $ac_func" >&52537 echo "configure:2538: checking for $ac_func" >&5 2475 2538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2476 2539 echo $ac_n "(cached) $ac_c" 1>&6 2477 2540 else 2478 2541 cat > conftest.$ac_ext <<EOF 2479 #line 2 480"configure"2542 #line 2543 "configure" 2480 2543 #include "confdefs.h" 2481 2544 /* System header to define __stub macros and hopefully few prototypes, … … 2500 2563 ; return 0; } 2501 2564 EOF 2502 if { (eval echo configure:25 03: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2565 if { (eval echo configure:2566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2503 2566 rm -rf conftest* 2504 2567 eval "ac_cv_func_$ac_func=yes" … … 2525 2588 2526 2589 2527 ALL_LINGUAS= 2590 ALL_LINGUAS="fr tr sv es id da pt_BR" 2528 2591 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2529 echo "configure:25 30: checking how to run the C preprocessor" >&52592 echo "configure:2593: checking how to run the C preprocessor" >&5 2530 2593 # On Suns, sometimes $CPP names a directory. 2531 2594 if test -n "$CPP" && test -d "$CPP"; then … … 2543 2606 cat > conftest.$ac_ext <<EOF 2544 2607 #include <sys/types.h> 2545 #line 2 546"configure"2608 #line 2609 "configure" 2546 2609 #include "confdefs.h" 2547 2610 #include <assert.h> … … 2549 2612 EOF 2550 2613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2551 { (eval echo configure:2 552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2614 { (eval echo configure:2615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2552 2615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2553 2616 if test -z "$ac_err"; then … … 2561 2624 cat > conftest.$ac_ext <<EOF 2562 2625 #include <sys/types.h> 2563 #line 2 564"configure"2626 #line 2627 "configure" 2564 2627 #include "confdefs.h" 2565 2628 #include <assert.h> … … 2567 2630 EOF 2568 2631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2569 { (eval echo configure:2 570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2632 { (eval echo configure:2633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2570 2633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2571 2634 if test -z "$ac_err"; then … … 2579 2642 cat > conftest.$ac_ext <<EOF 2580 2643 #include <sys/types.h> 2581 #line 2 582"configure"2644 #line 2645 "configure" 2582 2645 #include "confdefs.h" 2583 2646 #include <assert.h> … … 2585 2648 EOF 2586 2649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2587 { (eval echo configure:2 588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2650 { (eval echo configure:2651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2588 2651 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2589 2652 if test -z "$ac_err"; then … … 2612 2675 set dummy ranlib; ac_word=$2 2613 2676 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2614 echo "configure:26 15: checking for $ac_word" >&52677 echo "configure:2678: checking for $ac_word" >&5 2615 2678 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2616 2679 echo $ac_n "(cached) $ac_c" 1>&6 … … 2641 2704 2642 2705 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2643 echo "configure:2 644: checking for ANSI C header files" >&52706 echo "configure:2707: checking for ANSI C header files" >&5 2644 2707 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2645 2708 echo $ac_n "(cached) $ac_c" 1>&6 … … 2647 2710 cat > conftest.$ac_ext <<EOF 2648 2711 #include <sys/types.h> 2649 #line 2 650"configure"2712 #line 2713 "configure" 2650 2713 #include "confdefs.h" 2651 2714 #include <stdlib.h> … … 2655 2718 EOF 2656 2719 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2657 { (eval echo configure:2 658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2720 { (eval echo configure:2721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2658 2721 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2659 2722 if test -z "$ac_err"; then … … 2672 2735 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2673 2736 cat > conftest.$ac_ext <<EOF 2674 #line 2 675"configure"2737 #line 2738 "configure" 2675 2738 #include "confdefs.h" 2676 2739 #include <string.h> … … 2690 2753 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2691 2754 cat > conftest.$ac_ext <<EOF 2692 #line 2 693"configure"2755 #line 2756 "configure" 2693 2756 #include "confdefs.h" 2694 2757 #include <stdlib.h> … … 2711 2774 else 2712 2775 cat > conftest.$ac_ext <<EOF 2713 #line 27 14"configure"2776 #line 2777 "configure" 2714 2777 #include "confdefs.h" 2715 2778 #include <ctype.h> … … 2722 2785 2723 2786 EOF 2724 if { (eval echo configure:27 25: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2787 if { (eval echo configure:2788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2725 2788 then 2726 2789 : … … 2746 2809 2747 2810 echo $ac_n "checking for working const""... $ac_c" 1>&6 2748 echo "configure:2 749: checking for working const" >&52811 echo "configure:2812: checking for working const" >&5 2749 2812 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2750 2813 echo $ac_n "(cached) $ac_c" 1>&6 2751 2814 else 2752 2815 cat > conftest.$ac_ext <<EOF 2753 #line 2 754"configure"2816 #line 2817 "configure" 2754 2817 #include "confdefs.h" 2755 2818 … … 2800 2863 ; return 0; } 2801 2864 EOF 2802 if { (eval echo configure:28 03: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2865 if { (eval echo configure:2866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2803 2866 rm -rf conftest* 2804 2867 ac_cv_c_const=yes … … 2821 2884 2822 2885 echo $ac_n "checking for inline""... $ac_c" 1>&6 2823 echo "configure:28 24: checking for inline" >&52886 echo "configure:2887: checking for inline" >&5 2824 2887 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2825 2888 echo $ac_n "(cached) $ac_c" 1>&6 … … 2828 2891 for ac_kw in inline __inline__ __inline; do 2829 2892 cat > conftest.$ac_ext <<EOF 2830 #line 28 31"configure"2893 #line 2894 "configure" 2831 2894 #include "confdefs.h" 2832 2895 … … 2835 2898 ; return 0; } 2836 2899 EOF 2837 if { (eval echo configure:2 838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2900 if { (eval echo configure:2901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2838 2901 rm -rf conftest* 2839 2902 ac_cv_c_inline=$ac_kw; break … … 2861 2924 2862 2925 echo $ac_n "checking for off_t""... $ac_c" 1>&6 2863 echo "configure:2 864: checking for off_t" >&52926 echo "configure:2927: checking for off_t" >&5 2864 2927 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 2865 2928 echo $ac_n "(cached) $ac_c" 1>&6 2866 2929 else 2867 2930 cat > conftest.$ac_ext <<EOF 2868 #line 2 869"configure"2931 #line 2932 "configure" 2869 2932 #include "confdefs.h" 2870 2933 #include <sys/types.h> … … 2894 2957 2895 2958 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2896 echo "configure:2 897: checking for size_t" >&52959 echo "configure:2960: checking for size_t" >&5 2897 2960 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2898 2961 echo $ac_n "(cached) $ac_c" 1>&6 2899 2962 else 2900 2963 cat > conftest.$ac_ext <<EOF 2901 #line 29 02"configure"2964 #line 2965 "configure" 2902 2965 #include "confdefs.h" 2903 2966 #include <sys/types.h> … … 2929 2992 # for constant arguments. Useless! 2930 2993 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2931 echo "configure:29 32: checking for working alloca.h" >&52994 echo "configure:2995: checking for working alloca.h" >&5 2932 2995 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2933 2996 echo $ac_n "(cached) $ac_c" 1>&6 2934 2997 else 2935 2998 cat > conftest.$ac_ext <<EOF 2936 #line 2937"configure"2999 #line 3000 "configure" 2937 3000 #include "confdefs.h" 2938 3001 #include <alloca.h> … … 2941 3004 ; return 0; } 2942 3005 EOF 2943 if { (eval echo configure: 2944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3006 if { (eval echo configure:3007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2944 3007 rm -rf conftest* 2945 3008 ac_cv_header_alloca_h=yes … … 2962 3025 2963 3026 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2964 echo "configure: 2965: checking for alloca" >&53027 echo "configure:3028: checking for alloca" >&5 2965 3028 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2966 3029 echo $ac_n "(cached) $ac_c" 1>&6 2967 3030 else 2968 3031 cat > conftest.$ac_ext <<EOF 2969 #line 2970"configure"3032 #line 3033 "configure" 2970 3033 #include "confdefs.h" 2971 3034 … … 2995 3058 ; return 0; } 2996 3059 EOF 2997 if { (eval echo configure: 2998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3060 if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2998 3061 rm -rf conftest* 2999 3062 ac_cv_func_alloca_works=yes … … 3027 3090 3028 3091 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 3029 echo "configure:30 30: checking whether alloca needs Cray hooks" >&53092 echo "configure:3093: checking whether alloca needs Cray hooks" >&5 3030 3093 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 3031 3094 echo $ac_n "(cached) $ac_c" 1>&6 3032 3095 else 3033 3096 cat > conftest.$ac_ext <<EOF 3034 #line 30 35"configure"3097 #line 3098 "configure" 3035 3098 #include "confdefs.h" 3036 3099 #if defined(CRAY) && ! defined(CRAY2) … … 3057 3120 for ac_func in _getb67 GETB67 getb67; do 3058 3121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3059 echo "configure:3 060: checking for $ac_func" >&53122 echo "configure:3123: checking for $ac_func" >&5 3060 3123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3061 3124 echo $ac_n "(cached) $ac_c" 1>&6 3062 3125 else 3063 3126 cat > conftest.$ac_ext <<EOF 3064 #line 3 065"configure"3127 #line 3128 "configure" 3065 3128 #include "confdefs.h" 3066 3129 /* System header to define __stub macros and hopefully few prototypes, … … 3085 3148 ; return 0; } 3086 3149 EOF 3087 if { (eval echo configure:3 088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3150 if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3088 3151 rm -rf conftest* 3089 3152 eval "ac_cv_func_$ac_func=yes" … … 3112 3175 3113 3176 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 3114 echo "configure:31 15: checking stack direction for C alloca" >&53177 echo "configure:3178: checking stack direction for C alloca" >&5 3115 3178 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 3116 3179 echo $ac_n "(cached) $ac_c" 1>&6 … … 3120 3183 else 3121 3184 cat > conftest.$ac_ext <<EOF 3122 #line 31 23"configure"3185 #line 3186 "configure" 3123 3186 #include "confdefs.h" 3124 3187 find_stack_direction () … … 3139 3202 } 3140 3203 EOF 3141 if { (eval echo configure:3 142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3204 if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3142 3205 then 3143 3206 ac_cv_c_stack_direction=1 … … 3164 3227 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3165 3228 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3166 echo "configure:3 167: checking for $ac_hdr" >&53229 echo "configure:3230: checking for $ac_hdr" >&5 3167 3230 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3168 3231 echo $ac_n "(cached) $ac_c" 1>&6 … … 3170 3233 cat > conftest.$ac_ext <<EOF 3171 3234 #include <sys/types.h> 3172 #line 3 173"configure"3235 #line 3236 "configure" 3173 3236 #include "confdefs.h" 3174 3237 #include <$ac_hdr> 3175 3238 EOF 3176 3239 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3177 { (eval echo configure:3 178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3240 { (eval echo configure:3241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3178 3241 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3179 3242 if test -z "$ac_err"; then … … 3204 3267 do 3205 3268 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3206 echo "configure:32 07: checking for $ac_func" >&53269 echo "configure:3270: checking for $ac_func" >&5 3207 3270 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3208 3271 echo $ac_n "(cached) $ac_c" 1>&6 3209 3272 else 3210 3273 cat > conftest.$ac_ext <<EOF 3211 #line 32 12"configure"3274 #line 3275 "configure" 3212 3275 #include "confdefs.h" 3213 3276 /* System header to define __stub macros and hopefully few prototypes, … … 3232 3295 ; return 0; } 3233 3296 EOF 3234 if { (eval echo configure:32 35: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3297 if { (eval echo configure:3298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3235 3298 rm -rf conftest* 3236 3299 eval "ac_cv_func_$ac_func=yes" … … 3257 3320 3258 3321 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3259 echo "configure:3 260: checking for working mmap" >&53322 echo "configure:3323: checking for working mmap" >&5 3260 3323 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3261 3324 echo $ac_n "(cached) $ac_c" 1>&6 … … 3265 3328 else 3266 3329 cat > conftest.$ac_ext <<EOF 3267 #line 3 268"configure"3330 #line 3331 "configure" 3268 3331 #include "confdefs.h" 3269 3332 … … 3405 3468 3406 3469 EOF 3407 if { (eval echo configure:34 08: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3470 if { (eval echo configure:3471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3408 3471 then 3409 3472 ac_cv_func_mmap_fixed_mapped=yes … … 3433 3496 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3434 3497 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3435 echo "configure:34 36: checking for $ac_hdr" >&53498 echo "configure:3499: checking for $ac_hdr" >&5 3436 3499 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3437 3500 echo $ac_n "(cached) $ac_c" 1>&6 … … 3439 3502 cat > conftest.$ac_ext <<EOF 3440 3503 #include <sys/types.h> 3441 #line 3 442"configure"3504 #line 3505 "configure" 3442 3505 #include "confdefs.h" 3443 3506 #include <$ac_hdr> 3444 3507 EOF 3445 3508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3446 { (eval echo configure:3 447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3509 { (eval echo configure:3510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3447 3510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3448 3511 if test -z "$ac_err"; then … … 3474 3537 do 3475 3538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3476 echo "configure:3 477: checking for $ac_func" >&53539 echo "configure:3540: checking for $ac_func" >&5 3477 3540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3478 3541 echo $ac_n "(cached) $ac_c" 1>&6 3479 3542 else 3480 3543 cat > conftest.$ac_ext <<EOF 3481 #line 3 482"configure"3544 #line 3545 "configure" 3482 3545 #include "confdefs.h" 3483 3546 /* System header to define __stub macros and hopefully few prototypes, … … 3502 3565 ; return 0; } 3503 3566 EOF 3504 if { (eval echo configure:35 05: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3567 if { (eval echo configure:3568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3505 3568 rm -rf conftest* 3506 3569 eval "ac_cv_func_$ac_func=yes" … … 3531 3594 do 3532 3595 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3533 echo "configure:35 34: checking for $ac_func" >&53596 echo "configure:3597: checking for $ac_func" >&5 3534 3597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3535 3598 echo $ac_n "(cached) $ac_c" 1>&6 3536 3599 else 3537 3600 cat > conftest.$ac_ext <<EOF 3538 #line 3 539"configure"3601 #line 3602 "configure" 3539 3602 #include "confdefs.h" 3540 3603 /* System header to define __stub macros and hopefully few prototypes, … … 3559 3622 ; return 0; } 3560 3623 EOF 3561 if { (eval echo configure:3 562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3624 if { (eval echo configure:3625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3562 3625 rm -rf conftest* 3563 3626 eval "ac_cv_func_$ac_func=yes" … … 3593 3656 if test $ac_cv_header_locale_h = yes; then 3594 3657 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 3595 echo "configure:3 596: checking for LC_MESSAGES" >&53658 echo "configure:3659: checking for LC_MESSAGES" >&5 3596 3659 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 3597 3660 echo $ac_n "(cached) $ac_c" 1>&6 3598 3661 else 3599 3662 cat > conftest.$ac_ext <<EOF 3600 #line 36 01"configure"3663 #line 3664 "configure" 3601 3664 #include "confdefs.h" 3602 3665 #include <locale.h> … … 3605 3668 ; return 0; } 3606 3669 EOF 3607 if { (eval echo configure:36 08: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3670 if { (eval echo configure:3671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3608 3671 rm -rf conftest* 3609 3672 am_cv_val_LC_MESSAGES=yes … … 3626 3689 fi 3627 3690 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 3628 echo "configure:36 29: checking whether NLS is requested" >&53691 echo "configure:3692: checking whether NLS is requested" >&5 3629 3692 # Check whether --enable-nls or --disable-nls was given. 3630 3693 if test "${enable_nls+set}" = set; then … … 3646 3709 3647 3710 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 3648 echo "configure:3 649: checking whether included gettext is requested" >&53711 echo "configure:3712: checking whether included gettext is requested" >&5 3649 3712 # Check whether --with-included-gettext or --without-included-gettext was given. 3650 3713 if test "${with_included_gettext+set}" = set; then … … 3665 3728 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3666 3729 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 3667 echo "configure:3 668: checking for libintl.h" >&53730 echo "configure:3731: checking for libintl.h" >&5 3668 3731 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3669 3732 echo $ac_n "(cached) $ac_c" 1>&6 … … 3671 3734 cat > conftest.$ac_ext <<EOF 3672 3735 #include <sys/types.h> 3673 #line 3 674"configure"3736 #line 3737 "configure" 3674 3737 #include "confdefs.h" 3675 3738 #include <libintl.h> 3676 3739 EOF 3677 3740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3678 { (eval echo configure:3 679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3741 { (eval echo configure:3742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3679 3742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3680 3743 if test -z "$ac_err"; then … … 3693 3756 echo "$ac_t""yes" 1>&6 3694 3757 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 3695 echo "configure:3 696: checking for gettext in libc" >&53758 echo "configure:3759: checking for gettext in libc" >&5 3696 3759 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 3697 3760 echo $ac_n "(cached) $ac_c" 1>&6 3698 3761 else 3699 3762 cat > conftest.$ac_ext <<EOF 3700 #line 37 01"configure"3763 #line 3764 "configure" 3701 3764 #include "confdefs.h" 3702 3765 #include <libintl.h> … … 3705 3768 ; return 0; } 3706 3769 EOF 3707 if { (eval echo configure:37 08: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3770 if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3708 3771 rm -rf conftest* 3709 3772 gt_cv_func_gettext_libc=yes … … 3721 3784 if test "$gt_cv_func_gettext_libc" != "yes"; then 3722 3785 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 3723 echo "configure:37 24: checking for bindtextdomain in -lintl" >&53786 echo "configure:3787: checking for bindtextdomain in -lintl" >&5 3724 3787 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3725 3788 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3729 3792 LIBS="-lintl $LIBS" 3730 3793 cat > conftest.$ac_ext <<EOF 3731 #line 37 32"configure"3794 #line 3795 "configure" 3732 3795 #include "confdefs.h" 3733 3796 /* Override any gcc2 internal prototype to avoid an error. */ … … 3740 3803 ; return 0; } 3741 3804 EOF 3742 if { (eval echo configure:3 743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3805 if { (eval echo configure:3806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3743 3806 rm -rf conftest* 3744 3807 eval "ac_cv_lib_$ac_lib_var=yes" … … 3756 3819 echo "$ac_t""yes" 1>&6 3757 3820 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 3758 echo "configure:3 759: checking for gettext in libintl" >&53821 echo "configure:3822: checking for gettext in libintl" >&5 3759 3822 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 3760 3823 echo $ac_n "(cached) $ac_c" 1>&6 3761 3824 else 3762 3825 cat > conftest.$ac_ext <<EOF 3763 #line 3 764"configure"3826 #line 3827 "configure" 3764 3827 #include "confdefs.h" 3765 3828 … … 3768 3831 ; return 0; } 3769 3832 EOF 3770 if { (eval echo configure:3 771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3833 if { (eval echo configure:3834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3771 3834 rm -rf conftest* 3772 3835 gt_cv_func_gettext_libintl=yes … … 3796 3859 set dummy msgfmt; ac_word=$2 3797 3860 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3798 echo "configure:3 799: checking for $ac_word" >&53861 echo "configure:3862: checking for $ac_word" >&5 3799 3862 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3800 3863 echo $ac_n "(cached) $ac_c" 1>&6 … … 3830 3893 do 3831 3894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3832 echo "configure:38 33: checking for $ac_func" >&53895 echo "configure:3896: checking for $ac_func" >&5 3833 3896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3834 3897 echo $ac_n "(cached) $ac_c" 1>&6 3835 3898 else 3836 3899 cat > conftest.$ac_ext <<EOF 3837 #line 3 838"configure"3900 #line 3901 "configure" 3838 3901 #include "confdefs.h" 3839 3902 /* System header to define __stub macros and hopefully few prototypes, … … 3858 3921 ; return 0; } 3859 3922 EOF 3860 if { (eval echo configure:3 861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3923 if { (eval echo configure:3924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3861 3924 rm -rf conftest* 3862 3925 eval "ac_cv_func_$ac_func=yes" … … 3885 3948 set dummy gmsgfmt; ac_word=$2 3886 3949 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3887 echo "configure:3 888: checking for $ac_word" >&53950 echo "configure:3951: checking for $ac_word" >&5 3888 3951 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 3889 3952 echo $ac_n "(cached) $ac_c" 1>&6 … … 3925 3988 set dummy xgettext; ac_word=$2 3926 3989 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3927 echo "configure:39 28: checking for $ac_word" >&53990 echo "configure:3991: checking for $ac_word" >&5 3928 3991 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 3929 3992 echo $ac_n "(cached) $ac_c" 1>&6 … … 3957 4020 3958 4021 cat > conftest.$ac_ext <<EOF 3959 #line 3960"configure"4022 #line 4023 "configure" 3960 4023 #include "confdefs.h" 3961 4024 … … 3965 4028 ; return 0; } 3966 4029 EOF 3967 if { (eval echo configure: 3968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4030 if { (eval echo configure:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3968 4031 rm -rf conftest* 3969 4032 CATOBJEXT=.gmo … … 3997 4060 set dummy msgfmt; ac_word=$2 3998 4061 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3999 echo "configure:40 00: checking for $ac_word" >&54062 echo "configure:4063: checking for $ac_word" >&5 4000 4063 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4001 4064 echo $ac_n "(cached) $ac_c" 1>&6 … … 4031 4094 set dummy gmsgfmt; ac_word=$2 4032 4095 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4033 echo "configure:40 34: checking for $ac_word" >&54096 echo "configure:4097: checking for $ac_word" >&5 4034 4097 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4035 4098 echo $ac_n "(cached) $ac_c" 1>&6 … … 4071 4134 set dummy xgettext; ac_word=$2 4072 4135 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4073 echo "configure:4 074: checking for $ac_word" >&54136 echo "configure:4137: checking for $ac_word" >&5 4074 4137 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4075 4138 echo $ac_n "(cached) $ac_c" 1>&6 … … 4161 4224 else 4162 4225 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 4163 echo "configure:4 164: checking for catalogs to be installed" >&54226 echo "configure:4227: checking for catalogs to be installed" >&5 4164 4227 NEW_LINGUAS= 4165 4228 for lang in ${LINGUAS=$ALL_LINGUAS}; do … … 4189 4252 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 4190 4253 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 4191 echo "configure:4 192: checking for linux/version.h" >&54254 echo "configure:4255: checking for linux/version.h" >&5 4192 4255 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4193 4256 echo $ac_n "(cached) $ac_c" 1>&6 … … 4195 4258 cat > conftest.$ac_ext <<EOF 4196 4259 #include <sys/types.h> 4197 #line 4 198"configure"4260 #line 4261 "configure" 4198 4261 #include "confdefs.h" 4199 4262 #include <linux/version.h> 4200 4263 EOF 4201 4264 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4202 { (eval echo configure:42 03: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4265 { (eval echo configure:4266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4203 4266 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4204 4267 if test -z "$ac_err"; then … … 4245 4308 4246 4309 4247 if test - d $srcdir/po; then4310 if test -f $srcdir/po/POTFILES.in; then 4248 4311 test -d po || mkdir po 4249 4312 if test "x$srcdir" != "x."; then 4250 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then4313 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then 4251 4314 posrcprefix="$srcdir/" 4252 4315 else … … 4263 4326 4264 4327 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 4265 echo "configure:4 266: checking whether to enable maintainer-specific portions of Makefiles" >&54328 echo "configure:4329: checking whether to enable maintainer-specific portions of Makefiles" >&5 4266 4329 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 4267 4330 if test "${enable_maintainer_mode+set}" = set; then … … 4289 4352 4290 4353 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 4291 echo "configure:4 292: checking for executable suffix" >&54354 echo "configure:4355: checking for executable suffix" >&5 4292 4355 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 4293 4356 echo $ac_n "(cached) $ac_c" 1>&6 … … 4299 4362 echo 'int main () { return 0; }' > conftest.$ac_ext 4300 4363 ac_cv_exeext= 4301 if { (eval echo configure:43 02: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then4364 if { (eval echo configure:4365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 4302 4365 for file in conftest.*; do 4303 4366 case $file in … … 4324 4387 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4325 4388 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4326 echo "configure:43 27: checking for $ac_hdr" >&54389 echo "configure:4390: checking for $ac_hdr" >&5 4327 4390 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4328 4391 echo $ac_n "(cached) $ac_c" 1>&6 … … 4330 4393 cat > conftest.$ac_ext <<EOF 4331 4394 #include <sys/types.h> 4332 #line 43 33"configure"4395 #line 4396 "configure" 4333 4396 #include "confdefs.h" 4334 4397 #include <$ac_hdr> 4335 4398 EOF 4336 4399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4337 { (eval echo configure:4 338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4400 { (eval echo configure:4401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4338 4401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4339 4402 if test -z "$ac_err"; then … … 4362 4425 4363 4426 4364 echo $ac_n "checking the size of gmon pointers""... $ac_c" 1>&6 4365 echo "configure:4366: checking the size of gmon pointers" >&5 4366 if test "$cross_compiling" = yes; then 4367 gmon_ptr_size=4 4368 else 4369 cat > conftest.$ac_ext <<EOF 4370 #line 4371 "configure" 4371 #include "confdefs.h" 4372 #include <stdio.h> 4373 #include <stdlib.h> 4374 #if HAVE_SYS_GMON_OUT_H 4375 #include <sys/gmon_out.h> 4376 #endif 4377 main() 4378 { 4379 #if HAVE_SYS_GMON_OUT_H 4380 struct gmon_cg_arc_record arc; 4381 FILE *f=fopen("conftestval", "w"); 4382 if (!f) exit(1); 4383 fprintf(f, "%d\n", sizeof(arc.from_pc)); 4384 exit(0); 4385 #else 4386 FILE *f=fopen("conftestval", "w"); 4387 if (!f) exit(1); 4388 fprintf(f, "%d\n", (int) sizeof(char *)); 4389 exit(1); 4390 #endif 4391 } 4392 EOF 4393 if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4394 then 4395 gmon_ptr_size=`cat conftestval` 4396 else 4397 echo "configure: failed program was:" >&5 4398 cat conftest.$ac_ext >&5 4399 rm -fr conftest* 4400 gmon_ptr_size=4 4401 fi 4402 rm -fr conftest* 4403 fi 4404 4405 echo "$ac_t""$gmon_ptr_size" 1>&6 4406 4407 cat >> confdefs.h <<EOF 4408 #define GMON_PTR_SIZE $gmon_ptr_size 4409 EOF 4410 4411 4412 build_warnings="-W -Wall" 4427 build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 4413 4428 # Check whether --enable-build-warnings or --disable-build-warnings was given. 4414 4429 if test "${enable_build_warnings+set}" = set; then -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.