Changeset 619 for trunk/src/binutils/gas/configure
- Timestamp:
- Aug 16, 2003, 11:56:50 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/gas/configure
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r618 r619 1298 1298 enableval="$enable_shared" 1299 1299 p=${PACKAGE-default} 1300 case "$enableval"in1300 case $enableval in 1301 1301 yes) enable_shared=yes ;; 1302 1302 no) enable_shared=no ;; … … 1321 1321 enableval="$enable_static" 1322 1322 p=${PACKAGE-default} 1323 case "$enableval"in1323 case $enableval in 1324 1324 yes) enable_static=yes ;; 1325 1325 no) enable_static=no ;; … … 1344 1344 enableval="$enable_fast_install" 1345 1345 p=${PACKAGE-default} 1346 case "$enableval"in1346 case $enableval in 1347 1347 yes) enable_fast_install=yes ;; 1348 1348 no) enable_fast_install=no ;; … … 1372 1372 1373 1373 ac_prog=ld 1374 if test "$ ac_cv_prog_gcc" = yes; then1374 if test "$GCC" = yes; then 1375 1375 # Check if gcc -print-prog-name=ld gives a path. 1376 1376 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 … … 1383 1383 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1384 1384 esac 1385 case "$ac_prog"in1385 case $ac_prog in 1386 1386 # Accept absolute paths. 1387 1387 [\\/]* | [A-Za-z]:[\\/]*) … … 1410 1410 echo "configure:1411: checking for non-GNU ld" >&5 1411 1411 fi 1412 if eval "test \"`echo '$''{' ac_cv_path_LD'+set}'`\" = set"; then1412 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1413 1413 echo $ac_n "(cached) $ac_c" 1>&6 1414 1414 else … … 1418 1418 test -z "$ac_dir" && ac_dir=. 1419 1419 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1420 ac_cv_path_LD="$ac_dir/$ac_prog"1420 lt_cv_path_LD="$ac_dir/$ac_prog" 1421 1421 # Check to see if the program is GNU ld. I'd rather use --version, 1422 1422 # but apparently some GNU ld's only accept -v. 1423 1423 # Break only if it was the GNU/non-GNU ld that we prefer. 1424 if "$ ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1424 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1425 1425 test "$with_gnu_ld" != no && break 1426 1426 else … … 1431 1431 IFS="$ac_save_ifs" 1432 1432 else 1433 ac_cv_path_LD="$LD" # Let the user override the test with a path.1434 fi 1435 fi 1436 1437 LD="$ ac_cv_path_LD"1433 lt_cv_path_LD="$LD" # Let the user override the test with a path. 1434 fi 1435 fi 1436 1437 LD="$lt_cv_path_LD" 1438 1438 if test -n "$LD"; then 1439 1439 echo "$ac_t""$LD" 1>&6 … … 1444 1444 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1445 1445 echo "configure:1446: checking if the linker ($LD) is GNU ld" >&5 1446 if eval "test \"`echo '$''{' ac_cv_prog_gnu_ld'+set}'`\" = set"; then1446 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1447 1447 echo $ac_n "(cached) $ac_c" 1>&6 1448 1448 else 1449 1449 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1450 1450 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1451 ac_cv_prog_gnu_ld=yes1452 else 1453 ac_cv_prog_gnu_ld=no1454 fi 1455 fi 1456 1457 echo "$ac_t""$ ac_cv_prog_gnu_ld" 1>&61458 with_gnu_ld=$ ac_cv_prog_gnu_ld1451 lt_cv_prog_gnu_ld=yes 1452 else 1453 lt_cv_prog_gnu_ld=no 1454 fi 1455 fi 1456 1457 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 1458 with_gnu_ld=$lt_cv_prog_gnu_ld 1459 1459 1460 1460 … … 1473 1473 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1474 1474 echo "configure:1475: checking for BSD-compatible nm" >&5 1475 if eval "test \"`echo '$''{' ac_cv_path_NM'+set}'`\" = set"; then1475 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1476 1476 echo $ac_n "(cached) $ac_c" 1>&6 1477 1477 else 1478 1478 if test -n "$NM"; then 1479 1479 # Let the user override the test. 1480 ac_cv_path_NM="$NM"1480 lt_cv_path_NM="$NM" 1481 1481 else 1482 1482 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1490 1490 # Tru64's nm complains that /dev/null is an invalid object file 1491 1491 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1492 ac_cv_path_NM="$tmp_nm -B"1492 lt_cv_path_NM="$tmp_nm -B" 1493 1493 break 1494 1494 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1495 ac_cv_path_NM="$tmp_nm -p"1495 lt_cv_path_NM="$tmp_nm -p" 1496 1496 break 1497 1497 else 1498 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but1498 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1499 1499 continue # so that we can try to find one that supports BSD flags 1500 1500 fi … … 1502 1502 done 1503 1503 IFS="$ac_save_ifs" 1504 test -z "$ ac_cv_path_NM" && ac_cv_path_NM=nm1505 fi 1506 fi 1507 1508 NM="$ ac_cv_path_NM"1504 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1505 fi 1506 fi 1507 1508 NM="$lt_cv_path_NM" 1509 1509 echo "$ac_t""$NM" 1>&6 1510 1510 … … 1555 1555 # whether `pass_all' will *always* work, you probably want this one. 1556 1556 1557 case "$host_os"in1558 aix 4*)1557 case $host_os in 1558 aix*) 1559 1559 lt_cv_deplibs_check_method=pass_all 1560 1560 ;; … … 1565 1565 1566 1566 bsdi4*) 1567 1568 1567 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1568 lt_cv_file_magic_cmd='/usr/bin/file -L' 1569 1569 lt_cv_file_magic_test_file=/shlib/libc.so 1570 1570 ;; … … 1575 1575 ;; 1576 1576 1577 darwin* | rhapsody*) 1578 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 1579 lt_cv_file_magic_cmd='/usr/bin/file -L' 1580 case "$host_os" in 1581 rhapsody* | darwin1.012) 1582 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 1583 ;; 1584 *) # Darwin 1.3 on 1585 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 1586 ;; 1587 esac 1588 ;; 1589 1577 1590 freebsd* ) 1578 1591 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1579 case "$host_cpu"in1592 case $host_cpu in 1580 1593 i*86 ) 1581 1594 # Not sure whether the presence of OpenBSD here was a mistake. 1582 1595 # Let's accept both of them until this is cleared up. 1583 1584 1596 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 1597 lt_cv_file_magic_cmd=/usr/bin/file 1585 1598 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1586 1599 ;; … … 1595 1608 ;; 1596 1609 1597 hpux10.20*) 1598 # TODO: Does this work for hpux-11 too? 1599 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library' 1600 lt_cv_file_magic_cmd=/usr/bin/file 1601 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1610 hpux10.20*|hpux11*) 1611 case $host_cpu in 1612 hppa*) 1613 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1614 lt_cv_file_magic_cmd=/usr/bin/file 1615 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1616 ;; 1617 ia64*) 1618 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1619 lt_cv_file_magic_cmd=/usr/bin/file 1620 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1621 ;; 1622 esac 1602 1623 ;; 1603 1624 1604 1625 irix5* | irix6*) 1605 case "$host_os"in1626 case $host_os in 1606 1627 irix5*) 1607 1628 # this will be overridden with pass_all, but let us keep it just in case … … 1609 1630 ;; 1610 1631 *) 1611 case "$LD"in1632 case $LD in 1612 1633 *-32|*"-32 ") libmagic=32-bit;; 1613 1634 *-n32|*"-n32 ") libmagic=N32;; … … 1616 1637 esac 1617 1638 # this will be overridden with pass_all, but let us keep it just in case 1618 1619 1639 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1640 ;; 1620 1641 esac 1621 1642 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1625 1646 # This must be Linux ELF. 1626 1647 linux-gnu*) 1627 case "$host_cpu"in1628 alpha* | i*86 | powerpc* | sparc* | ia64* )1648 case $host_cpu in 1649 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1629 1650 lt_cv_deplibs_check_method=pass_all ;; 1630 1651 *) 1631 1652 # glibc up to 2.1.1 does not perform some relocations on ARM 1632 1633 1653 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1654 esac 1634 1655 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1635 1656 ;; 1636 1657 1637 1658 netbsd*) 1638 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 1659 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1660 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 1639 1661 else 1640 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1641 lt_cv_file_magic_cmd='/usr/bin/file -L' 1642 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1662 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1643 1663 fi 1664 ;; 1665 1666 os2*) 1667 lt_cv_deplibs_check_method=pass_all 1668 ;; 1669 1670 newsos6) 1671 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 1672 lt_cv_file_magic_cmd=/usr/bin/file 1673 lt_cv_file_magic_test_file=/usr/lib/libnls.so 1644 1674 ;; 1645 1675 … … 1660 1690 ;; 1661 1691 1692 sysv5uw[78]* | sysv4*uw2*) 1693 lt_cv_deplibs_check_method=pass_all 1694 ;; 1695 1662 1696 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1663 case "$host_vendor"in1697 case $host_vendor in 1664 1698 ncr) 1665 1699 lt_cv_deplibs_check_method=pass_all 1666 1700 ;; 1667 1701 motorola) 1668 1669 1702 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]' 1703 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1670 1704 ;; 1671 1705 esac … … 1680 1714 1681 1715 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1682 echo "configure:1 683: checking for object suffix" >&51716 echo "configure:1717: checking for object suffix" >&5 1683 1717 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1684 1718 echo $ac_n "(cached) $ac_c" 1>&6 … … 1686 1720 rm -f conftest* 1687 1721 echo 'int i = 1;' > conftest.$ac_ext 1688 if { (eval echo configure:1 689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1722 if { (eval echo configure:1723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1689 1723 for ac_file in conftest.*; do 1690 1724 case $ac_file in … … 1712 1746 1713 1747 # Only perform the check for file, if the check method requires it 1714 case "$deplibs_check_method"in1748 case $deplibs_check_method in 1715 1749 file_magic*) 1716 1750 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1717 1751 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1718 echo "configure:17 19: checking for ${ac_tool_prefix}file" >&51752 echo "configure:1753: checking for ${ac_tool_prefix}file" >&5 1719 1753 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1720 1754 echo $ac_n "(cached) $ac_c" 1>&6 1721 1755 else 1722 case "$MAGIC_CMD"in1756 case $MAGIC_CMD in 1723 1757 /*) 1724 1758 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1736 1770 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1737 1771 if test -n "$file_magic_test_file"; then 1738 case "$deplibs_check_method"in1772 case $deplibs_check_method in 1739 1773 "file_magic "*) 1740 1774 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1778 1812 if test -n "$ac_tool_prefix"; then 1779 1813 echo $ac_n "checking for file""... $ac_c" 1>&6 1780 echo "configure:1 781: checking for file" >&51814 echo "configure:1815: checking for file" >&5 1781 1815 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1782 1816 echo $ac_n "(cached) $ac_c" 1>&6 1783 1817 else 1784 case "$MAGIC_CMD"in1818 case $MAGIC_CMD in 1785 1819 /*) 1786 1820 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1798 1832 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1799 1833 if test -n "$file_magic_test_file"; then 1800 case "$deplibs_check_method"in1834 case $deplibs_check_method in 1801 1835 "file_magic "*) 1802 1836 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1849 1883 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1850 1884 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1851 echo "configure:18 52: checking for $ac_word" >&51885 echo "configure:1886: checking for $ac_word" >&5 1852 1886 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1853 1887 echo $ac_n "(cached) $ac_c" 1>&6 … … 1882 1916 set dummy ranlib; ac_word=$2 1883 1917 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1884 echo "configure:1 885: checking for $ac_word" >&51918 echo "configure:1919: checking for $ac_word" >&5 1885 1919 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1886 1920 echo $ac_n "(cached) $ac_c" 1>&6 … … 1918 1952 set dummy ${ac_tool_prefix}strip; ac_word=$2 1919 1953 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1920 echo "configure:19 21: checking for $ac_word" >&51954 echo "configure:1955: checking for $ac_word" >&5 1921 1955 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1922 1956 echo $ac_n "(cached) $ac_c" 1>&6 … … 1951 1985 set dummy strip; ac_word=$2 1952 1986 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1953 echo "configure:19 54: checking for $ac_word" >&51987 echo "configure:1988: checking for $ac_word" >&5 1954 1988 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1955 1989 echo $ac_n "(cached) $ac_c" 1>&6 … … 1990 2024 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 1991 2025 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 1992 test "$ ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"1993 test "$ ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"2026 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 2027 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 1994 2028 1995 2029 … … 2016 2050 # Some flags need to be propagated to the compiler or linker for good 2017 2051 # libtool support. 2018 case "$host"in2052 case $host in 2019 2053 *-*-irix6*) 2020 2054 # Find out which ABI we are using. 2021 echo '#line 2022 "configure"' > conftest.$ac_ext 2022 if { (eval echo configure:2023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2023 case "`/usr/bin/file conftest.o`" in 2055 echo '#line 2056 "configure"' > conftest.$ac_ext 2056 if { (eval echo configure:2057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2057 if test "$lt_cv_prog_gnu_ld" = yes; then 2058 case `/usr/bin/file conftest.$ac_objext` in 2059 *32-bit*) 2060 LD="${LD-ld} -melf32bsmip" 2061 ;; 2062 *N32*) 2063 LD="${LD-ld} -melf32bmipn32" 2064 ;; 2065 *64-bit*) 2066 LD="${LD-ld} -melf64bmip" 2067 ;; 2068 esac 2069 else 2070 case `/usr/bin/file conftest.$ac_objext` in 2024 2071 *32-bit*) 2025 2072 LD="${LD-ld} -32" … … 2032 2079 ;; 2033 2080 esac 2081 fi 2082 fi 2083 rm -rf conftest* 2084 ;; 2085 2086 ia64-*-hpux*) 2087 # Find out which ABI we are using. 2088 echo 'int i;' > conftest.$ac_ext 2089 if { (eval echo configure:2090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2090 case "`/usr/bin/file conftest.o`" in 2091 *ELF-32*) 2092 HPUX_IA64_MODE="32" 2093 ;; 2094 *ELF-64*) 2095 HPUX_IA64_MODE="64" 2096 ;; 2097 esac 2034 2098 fi 2035 2099 rm -rf conftest* … … 2041 2105 CFLAGS="$CFLAGS -belf" 2042 2106 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2043 echo "configure:2 044: checking whether the C compiler needs -belf" >&52107 echo "configure:2108: checking whether the C compiler needs -belf" >&5 2044 2108 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2045 2109 echo $ac_n "(cached) $ac_c" 1>&6 … … 2054 2118 2055 2119 cat > conftest.$ac_ext <<EOF 2056 #line 2 057"configure"2120 #line 2121 "configure" 2057 2121 #include "confdefs.h" 2058 2122 … … 2061 2125 ; return 0; } 2062 2126 EOF 2063 if { (eval echo configure:2 064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2127 if { (eval echo configure:2128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2064 2128 rm -rf conftest* 2065 2129 lt_cv_cc_needs_belf=yes … … 2171 2235 exec 5>>./config.log 2172 2236 2173 2174 2237 2175 2238 … … 2210 2273 using_cgen=no 2211 2274 2212 build_warnings="-W -Wall "2275 build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 2213 2276 # Check whether --enable-build-warnings or --disable-build-warnings was given. 2214 2277 if test "${enable_build_warnings+set}" = set; then … … 2242 2305 GDBINIT=".gdbinit" 2243 2306 case "${host}" in 2244 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*- cygwin* | *-*-windows*)2307 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*) 2245 2308 GDBINIT="gdb.ini" 2246 2309 ;; … … 2295 2358 case ${cpu} in 2296 2359 alpha*) cpu_type=alpha ;; 2297 armeb) cpu_type=arm endian=big ;; 2298 arm*) cpu_type=arm endian=little ;; 2299 armb*) cpu_type=arm endian=little ;; 2300 armv*l) cpu_type=arm endian=little ;; 2301 armv*b) cpu_type=arm endian=big ;; 2302 xscale*) cpu_type=arm endian=little ;; 2303 strongarm*) cpu_type=arm endian=little ;; 2304 thumb*) cpu_type=arm endian=little ;; 2360 arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;; 2361 arm*|xscale*|strongarm*) cpu_type=arm endian=little ;; 2305 2362 hppa*) cpu_type=hppa ;; 2306 2363 i[3456]86) cpu_type=i386 arch=i386;; 2307 2364 x86_64) cpu_type=i386 arch=x86_64;; 2308 2365 ia64) cpu_type=ia64 ;; 2366 ip2k) cpu_type=ip2k endian=big ;; 2367 iq2000) cpu_type=iq2000 endian=big ;; 2309 2368 m6811|m6812|m68hc12) cpu_type=m68hc11 ;; 2310 2369 m680[012346]0) cpu_type=m68k ;; … … 2315 2374 mips*el) cpu_type=mips endian=little ;; 2316 2375 mips*) cpu_type=mips endian=big ;; 2376 or32*) cpu_type=or32 endian=big ;; 2317 2377 pjl*) cpu_type=pj endian=little ;; 2318 2378 pj*) cpu_type=pj endian=big ;; 2319 powerpc le*) cpu_type=ppc endian=little ;;2379 powerpc*le*) cpu_type=ppc endian=little ;; 2320 2380 powerpc*) cpu_type=ppc endian=big ;; 2321 2381 rs6000*) cpu_type=ppc ;; 2382 s390x*) cpu_type=s390 arch=s390x ;; 2383 s390*) cpu_type=s390 arch=s390 ;; 2384 sh5*) cpu_type=sh64 endian=big ;; 2385 sh5le*) cpu_type=sh64 endian=little ;; 2386 sh64*) cpu_type=sh64 endian=big ;; 2387 sh64le*) cpu_type=sh64 endian=little ;; 2388 sh*le) cpu_type=sh endian=little ;; 2389 sh*) cpu_type=sh endian=big ;; 2322 2390 sparclite*) cpu_type=sparc arch=sparclite ;; 2323 2391 sparclet*) cpu_type=sparc arch=sparclet ;; … … 2326 2394 sparc*) cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c. 2327 2395 v850*) cpu_type=v850 ;; 2396 xtensa*) cpu_type=xtensa arch=xtensa ;; 2328 2397 *) cpu_type=${cpu} ;; 2329 2398 esac … … 2342 2411 # assign object format 2343 2412 case ${generic_target} in 2344 a29k-*-coff) fmt=coff ;; 2345 a29k-amd-udi) fmt=coff ;; 2346 a29k-amd-ebmon) fmt=coff ;; 2347 a29k-nyu-sym1) fmt=coff ;; 2348 a29k-*-rtems*) fmt=coff ;; 2349 a29k-*-vxworks*) fmt=coff ;; 2350 2351 alpha*-*-*vms*) fmt=evax ;; 2352 alpha*-*-netware*) fmt=ecoff ;; 2353 alpha*-*-openbsd*) fmt=ecoff ;; 2354 alpha*-*-osf*) fmt=ecoff ;; 2355 alpha*-*-linuxecoff*) fmt=ecoff ;; 2356 alpha*-*-linux-gnu*) fmt=elf em=linux ;; 2357 alpha*-*-netbsd*) fmt=elf em=nbsd ;; 2358 2359 arc-*-elf*) fmt=elf bfd_gas=yes ;; 2360 2361 arm-*-aout) fmt=aout ;; 2362 arm-*-coff | thumb-*-coff) fmt=coff ;; 2363 arm-*-rtems | thumb-*-rtems) fmt=elf ;; 2364 arm-*-elf | thumb-*-elf) fmt=elf ;; 2413 a29k-*-coff) fmt=coff ;; 2414 a29k-amd-udi) fmt=coff ;; 2415 a29k-amd-ebmon) fmt=coff ;; 2416 a29k-nyu-sym1) fmt=coff ;; 2417 a29k-*-rtems*) fmt=coff ;; 2418 a29k-*-vxworks*) fmt=coff ;; 2419 2420 alpha*-*-*vms*) fmt=evax ;; 2421 alpha*-*-netware*) fmt=ecoff ;; 2422 alpha*-*-osf*) fmt=ecoff ;; 2423 alpha*-*-linuxecoff*) fmt=ecoff ;; 2424 alpha*-*-linux-gnu*) fmt=elf em=linux ;; 2425 alpha*-*-netbsd*) fmt=elf em=nbsd ;; 2426 alpha*-*-openbsd*) fmt=elf em=obsd ;; 2427 2428 arc-*-elf*) fmt=elf ;; 2429 2430 arm-*-aout) fmt=aout ;; 2431 arm-*-coff | thumb-*-coff) fmt=coff ;; 2432 arm-*-rtems | thumb-*-rtems) fmt=elf ;; 2433 arm-*-elf | thumb-*-elf) fmt=elf ;; 2434 arm-*-kaos*) fmt=elf ;; 2365 2435 arm*-*-conix*) fmt=elf ;; 2366 arm-*-linux*aout*) fmt=aout em=linux ;; 2367 arm*-*-linux-gnu* | arm*-*-uclinux*) 2368 fmt=elf em=linux ;; 2369 arm-*-netbsd*) fmt=aout em=nbsd ;; 2370 arm-*-oabi | thumb-*-oabi) fmt=elf ;; 2371 arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;; 2436 arm-*-linux*aout*) fmt=aout em=linux ;; 2437 arm*-*-linux-gnu*) fmt=elf em=linux ;; 2438 arm*-*-uclinux*) fmt=elf em=linux ;; 2439 arm-*-netbsdelf*) fmt=elf em=nbsd ;; 2440 arm-*-*n*bsd*) fmt=aout em=nbsd ;; 2441 arm-**-nto*) fmt=elf ;; 2442 arm-*-oabi | thumb-*-oabi) fmt=elf ;; 2443 arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;; 2372 2444 arm-*-wince) fmt=coff em=wince-pe ;; 2373 arm-*-pe | thumb-*-pe) fmt=coff em=pe ;; 2374 arm-*-riscix*) fmt=aout em=riscix ;; 2375 arm-*-vxworks) fmt=coff ;; 2376 2377 avr-*-*) fmt=elf bfd_gas=yes ;; 2378 2379 cris-*-*) fmt=multi bfd_gas=yes ;; 2380 2381 d10v-*-*) fmt=elf bfd_gas=yes ;; 2382 d30v-*-*) fmt=elf bfd_gas=yes ;; 2383 2384 2385 fr30-*-*) fmt=elf bfd_gas=yes ;; 2386 2387 hppa-*-linux-gnu*) case ${cpu} in 2388 hppa*64*) 2389 fmt=elf em=hppalinux64;; 2390 hppa*) 2391 fmt=elf em=linux;; 2392 esac ;; 2393 hppa-*-*elf*) fmt=elf em=hppa ;; 2394 hppa-*-lites*) fmt=elf em=hppa ;; 2395 hppa-*-osf*) fmt=som em=hppa ;; 2396 hppa-*-rtems*) fmt=elf em=hppa ;; 2397 hppa-*-hpux11*) case ${cpu} in 2398 hppa*64*) 2399 fmt=elf em=hppa64 ;; 2400 hppa*) 2401 fmt=som em=hppa ;; 2402 esac ;; 2403 hppa-*-hpux*) fmt=som em=hppa ;; 2404 hppa-*-mpeix*) fmt=som em=hppa ;; 2405 hppa-*-bsd*) fmt=som em=hppa ;; 2406 hppa-*-hiux*) fmt=som em=hppa ;; 2407 2408 h8300-*-rtems*) fmt=coff ;; 2409 h8300-*-coff) fmt=coff ;; 2410 h8500-*-rtems*) fmt=coff ;; 2411 h8500-*-coff) fmt=coff ;; 2412 2413 i370-*-elf* | i370-*-linux*) fmt=elf ;; 2414 i386-ibm-aix*) fmt=coff em=i386aix ;; 2415 i386-sequent-bsd*) fmt=aout em=dynix bfd_gas=yes ;; 2416 i386-*-beospe*) fmt=coff em=pe bfd_gas=yes ;; 2417 i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;; 2418 i386-*-bsd*) fmt=aout em=386bsd ;; 2419 i386-*-netbsd0.8) fmt=aout em=386bsd ;; 2420 i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;; 2421 i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;; 2422 i386-*-linux*aout* | i386-*-linux*oldld) fmt=aout em=linux ;; 2423 i386-*-linux*coff*) fmt=coff em=linux ;; 2424 i386-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;; 2425 x86_64-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;; 2426 i386-*-lynxos*) fmt=coff em=lynx ;; 2427 i386-*-sysv[45]* | i386-*-solaris* | i386-*-elf) 2428 fmt=elf bfd_gas=yes ;; 2429 i386-*-freebsdaout* | i386-*-freebsd[12].* | i386-*-freebsd[12]) 2430 fmt=aout em=386bsd ;; 2431 i386-*-coff | i386-*-sysv* | i386-*-sco3.2v5*coff | i386-*-isc*) 2432 fmt=coff ;; 2433 i386-*-sco3.2v5*) fmt=elf 2434 if test ${this_target} = $target; then 2435 cat >> confdefs.h <<\EOF 2445 arm-*-pe | thumb-*-pe) fmt=coff em=pe ;; 2446 arm-*-riscix*) fmt=aout em=riscix ;; 2447 arm-*-vxworks) fmt=coff ;; 2448 2449 avr-*-*) fmt=elf ;; 2450 2451 cris-*-*) fmt=multi bfd_gas=yes ;; 2452 2453 d10v-*-*) fmt=elf ;; 2454 d30v-*-*) fmt=elf ;; 2455 dlx-*-*) fmt=elf ;; 2456 2457 fr30-*-*) fmt=elf ;; 2458 frv-*-*) fmt=elf ;; 2459 2460 hppa-*-linux*) case ${cpu} in 2461 hppa*64*) fmt=elf em=hppalinux64;; 2462 hppa*) fmt=elf em=linux;; 2463 esac ;; 2464 hppa-*-*elf*) fmt=elf em=hppa ;; 2465 hppa-*-lites*) fmt=elf em=hppa ;; 2466 hppa-*-netbsd*) fmt=elf em=nbsd ;; 2467 hppa-*-openbsd*) fmt=elf em=hppa ;; 2468 hppa-*-osf*) fmt=som em=hppa ;; 2469 hppa-*-rtems*) fmt=elf em=hppa ;; 2470 hppa-*-hpux11*) case ${cpu} in 2471 hppa*64*) fmt=elf em=hppa64 ;; 2472 hppa*) fmt=som em=hppa ;; 2473 esac ;; 2474 hppa-*-hpux*) fmt=som em=hppa ;; 2475 hppa-*-mpeix*) fmt=som em=hppa ;; 2476 hppa-*-bsd*) fmt=som em=hppa ;; 2477 hppa-*-hiux*) fmt=som em=hppa ;; 2478 2479 h8300-*-rtems*) fmt=coff ;; 2480 h8300-*-coff) fmt=coff ;; 2481 h8300-*-elf) fmt=elf ;; 2482 h8500-*-rtems*) fmt=coff ;; 2483 h8500-*-coff) fmt=coff ;; 2484 2485 i370-*-elf* | i370-*-linux*) fmt=elf ;; 2486 i386-ibm-aix*) fmt=coff em=i386aix ;; 2487 i386-sequent-bsd*) fmt=aout em=dynix ;; 2488 i386-*-beospe*) fmt=coff em=pe ;; 2489 i386-*-beos*) fmt=elf ;; 2490 i386-*-coff) fmt=coff ;; 2491 i386-*-elf) fmt=elf ;; 2492 i386-*-kaos*) fmt=elf ;; 2493 i386-*-bsd*) fmt=aout em=386bsd ;; 2494 i386-*-netbsd0.8) fmt=aout em=386bsd ;; 2495 i386-*-netbsdpe*) fmt=coff em=pe ;; 2496 i386-*-netbsdelf*) fmt=elf em=nbsd ;; 2497 i386-*-*n*bsd*) case ${cpu} in 2498 x86_64) fmt=elf em=nbsd ;; 2499 *) fmt=aout em=nbsd ;; 2500 esac ;; 2501 i386-*-linux*aout*) fmt=aout em=linux ;; 2502 i386-*-linux*oldld) fmt=aout em=linux ;; 2503 i386-*-linux*coff*) fmt=coff em=linux ;; 2504 i386-*-linux-gnu*) fmt=elf em=linux ;; 2505 x86_64-*-linux-gnu*) fmt=elf em=linux ;; 2506 i386-*-lynxos*) fmt=coff em=lynx ;; 2507 i386-*-sysv[45]*) fmt=elf ;; 2508 i386-*-solaris*) fmt=elf ;; 2509 i386-*-freebsdaout*) fmt=aout em=386bsd ;; 2510 i386-*-freebsd[12].*) fmt=aout em=386bsd ;; 2511 i386-*-freebsd[12]) fmt=aout em=386bsd ;; 2512 i386-*-sysv*) fmt=coff ;; 2513 i386-*-sco3.2v5*coff) fmt=coff ;; 2514 i386-*-isc*) fmt=coff ;; 2515 i386-*-sco3.2v5*) fmt=elf 2516 if test ${this_target} = $target; then 2517 cat >> confdefs.h <<\EOF 2436 2518 #define SCO_ELF 1 2437 2519 EOF 2438 2520 2439 fi2440 2441 i386-*- sco3.2*) fmt=coff;;2442 i386-*- vsta) fmt=aout ;;2443 i386-*-msdosdjgpp* | i386-*-go32* | i386-go32-rtems*)2444 fmt=coff em=go32 bfd_gas=yes 2445 2521 fi ;; 2522 i386-*-sco3.2*) fmt=coff ;; 2523 i386-*-vsta) fmt=aout ;; 2524 i386-*-msdosdjgpp* \ 2525 | i386-*-go32* \ 2526 | i386-go32-rtems*) fmt=coff em=go32 2527 cat >> confdefs.h <<\EOF 2446 2528 #define STRICTCOFF 1 2447 2529 EOF 2448 2449 2450 i386-*-rtems elf*) fmt=elf ;;2451 i386-*-rtems*) fmt=coff ;;2452 i386-*-gnu*) 2453 i386-*-mach*) 2454 fmt=aout em=mach bfd_gas=yes;;2455 i386-*-m sdos*) fmt=aout;;2456 i386-*- moss*) fmt=elf;;2457 i386-*- pe) fmt=coff em=pe bfd_gas=yes;;2458 i386-*- cygwin*) fmt=coff em=pe bfd_gas=yes;;2459 i386-*- interix*) fmt=coff em=interix bfd_gas=yes;;2460 i386-*- mingw32*) fmt=coff em=pe bfd_gas=yes;;2461 i386-*-*nt*) fmt=coff em=pe bfd_gas=yes;;2530 ;; 2531 i386-*-rtemself*) fmt=elf ;; 2532 i386-*-rtemscoff*) fmt=coff ;; 2533 i386-*-rtems*) fmt=elf ;; 2534 i386-*-gnu*) fmt=elf ;; 2535 i386-*-mach*) fmt=aout em=mach ;; 2536 i386-*-msdos*) fmt=aout ;; 2537 i386-*-moss*) fmt=elf ;; 2538 i386-*-pe) fmt=coff em=pe ;; 2539 i386-*-cygwin*) fmt=coff em=pe ;; 2540 i386-*-interix*) fmt=coff em=interix ;; 2541 i386-*-mingw32*) fmt=coff em=pe ;; 2542 i386-*-nto-qnx*) fmt=elf ;; 2543 i386-*-*nt*) fmt=coff em=pe ;; 2462 2544 i386-*-os2*) fmt=aout em=emx bfd_gas=yes ;; 2463 i386-*-vxworks*) fmt=aout ;; 2464 i386-*-chaos) fmt=elf ;; 2465 i860-stardent-sysv4* | i860-stardent-elf*) 2466 fmt=elf bfd_gas=yes endian=little 2467 echo "configure: warning: GAS support for ${generic_target} is preliminary and a work in progress" 1>&2 ;; 2468 i960-*-bout) fmt=bout ;; 2469 i960-*-coff) fmt=coff em=ic960 ;; 2470 i960-*-rtems*) fmt=coff em=ic960 ;; 2471 i960-*-nindy*) fmt=bout ;; 2472 i960-*-vxworks4*) fmt=bout ;; 2473 i960-*-vxworks5.0) fmt=bout ;; 2474 i960-*-vxworks5.*) fmt=coff em=ic960 ;; 2475 i960-*-vxworks*) fmt=bout ;; 2476 i960-*-elf*) fmt=elf ;; 2477 2478 ia64-*-elf*) fmt=elf ;; 2479 ia64-*-linux-gnu*) fmt=elf em=linux ;; 2480 ia64-*-hpux*) fmt=elf em=hpux ;; 2481 2482 m32r-*-*) fmt=elf bfd_gas=yes ;; 2483 2484 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)fmt=elf bfd_gas=yes ;; 2485 2486 m68k-*-vxworks* | m68k-ericsson-ose | m68k-*-sunos*) 2487 fmt=aout em=sun3 ;; 2488 m68k-motorola-sysv*) fmt=coff em=delta ;; 2489 m68k-bull-sysv3*) fmt=coff em=dpx2 ;; 2490 m68k-apollo-*) fmt=coff em=apollo ;; 2491 m68k-*-sysv4*) # must be before -sysv* 2492 fmt=elf em=svr4 ;; 2493 m68k-*-elf*) fmt=elf ;; 2494 m68k-*-coff | m68k-*-sysv* | m68k-*-rtems*) 2495 fmt=coff ;; 2496 m68k-*-hpux*) fmt=hp300 em=hp300 ;; 2497 m68k-*-linux*aout*) fmt=aout em=linux ;; 2498 m68k-*-linux-gnu*) fmt=elf em=linux ;; 2499 m68k-*-gnu*) fmt=elf ;; 2500 m68k-*-lynxos*) fmt=coff em=lynx ;; 2501 m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2502 m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2503 m68k-apple-aux*) fmt=coff em=aux ;; 2504 m68k-*-psos*) fmt=elf em=psos;; 2505 2506 m88k-motorola-sysv3*) fmt=coff em=delt88 ;; 2507 m88k-*-coff*) fmt=coff ;; 2508 2509 mcore-*-elf) fmt=elf bfd_gas=yes ;; 2510 mcore-*-pe) fmt=coff em=pe bfd_gas=yes ;; 2545 i386-*-vxworks*) fmt=aout ;; 2546 i386-*-chaos) fmt=elf ;; 2547 2548 i860-*-*) fmt=elf endian=little 2549 echo "configure: warning: GAS support for ${generic_target} is preliminary and a work in progress" 1>&2 ;; 2550 i960-*-bout) fmt=bout ;; 2551 i960-*-coff) fmt=coff em=ic960 ;; 2552 i960-*-rtems*) fmt=coff em=ic960 ;; 2553 i960-*-nindy*) fmt=bout ;; 2554 i960-*-vxworks5.0) fmt=bout ;; 2555 i960-*-vxworks5.*) fmt=coff em=ic960 ;; 2556 i960-*-vxworks*) fmt=bout ;; 2557 i960-*-elf*) fmt=elf ;; 2558 2559 ia64-*-elf*) fmt=elf ;; 2560 ia64-*-aix*) fmt=elf em=ia64aix ;; 2561 ia64-*-linux-gnu*) fmt=elf em=linux ;; 2562 ia64-*-hpux*) fmt=elf em=hpux ;; 2563 ia64-*-netbsd*) fmt=elf em=nbsd ;; 2564 2565 ip2k-*-*) fmt=elf ;; 2566 2567 iq2000-*-elf) fmt=elf bfd_gas=yes ;; 2568 2569 m32r-*-*) fmt=elf ;; 2570 2571 m68hc11-*-* | m6811-*-*) fmt=elf ;; 2572 m68hc12-*-* | m6812-*-*) fmt=elf ;; 2573 2574 m68k-*-vxworks*) fmt=aout em=sun3 ;; 2575 m68k-ericsson-ose) fmt=aout em=sun3 ;; 2576 m68k-*-sunos*) fmt=aout em=sun3 ;; 2577 m68k-motorola-sysv*) fmt=coff em=delta ;; 2578 m68k-bull-sysv3*) fmt=coff em=dpx2 ;; 2579 m68k-apollo-*) fmt=coff em=apollo ;; 2580 m68k-*-elf*) fmt=elf ;; 2581 m68k-*-sysv4*) fmt=elf em=svr4 ;; 2582 m68k-*-sysv*) fmt=coff ;; 2583 m68k-*-coff | m68k-*-rtemscoff*) fmt=coff ;; 2584 m68k-*-rtems*) fmt=elf ;; 2585 m68k-*-hpux*) fmt=hp300 em=hp300 ;; 2586 m68k-*-linux*aout*) fmt=aout em=linux ;; 2587 m68k-*-linux-gnu*) fmt=elf em=linux ;; 2588 m68k-*-gnu*) fmt=elf ;; 2589 m68k-*-lynxos*) fmt=coff em=lynx ;; 2590 m68k-*-netbsdelf*) fmt=elf em=nbsd ;; 2591 m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2592 m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2593 m68k-apple-aux*) fmt=coff em=aux ;; 2594 m68k-*-psos*) fmt=elf em=psos;; 2595 2596 m88k-motorola-sysv3*) fmt=coff em=delt88 ;; 2597 m88k-*-coff*) fmt=coff ;; 2598 2599 mcore-*-elf) fmt=elf ;; 2600 mcore-*-pe) fmt=coff em=pe bfd_gas=yes ;; 2511 2601 2512 2602 # don't change em like *-*-bsd does 2513 mips-dec-netbsd*) fmt=elf endian=little ;; 2514 mips-dec-openbsd*) fmt=elf endian=little ;; 2515 mips-dec-bsd*) fmt=aout endian=little ;; 2516 mips-sony-bsd*) fmt=ecoff ;; 2517 mips-*-bsd*) { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;; 2518 mips-*-ultrix*) fmt=ecoff endian=little ;; 2519 mips-*-osf*) fmt=ecoff endian=little ;; 2520 mips-*-ecoff*) fmt=ecoff ;; 2521 mips-*-pe*) fmt=coff endian=little em=pe ;; 2522 mips-*-irix6*) fmt=elf ;; 2523 mips-*-irix5*) fmt=elf ;; 2524 mips-*-irix*) fmt=ecoff ;; 2525 mips-*-lnews*) fmt=ecoff em=lnews ;; 2526 mips-*-riscos*) fmt=ecoff ;; 2527 mips-*-linux-gnu*) 2528 fmt=elf em=tmips 2529 cat >> confdefs.h <<\EOF 2530 #define MIPS_STABS_ELF 1 2531 EOF 2532 2533 ;; 2534 mips-*-sysv4*MP* | mips-*-gnu*) 2535 fmt=elf em=tmips ;; 2536 mips-*-sysv*) fmt=ecoff ;; 2537 mips-*-elf* | mips-*-rtems* | mips-*-openbsd*) 2538 fmt=elf ;; 2539 mips-*-vxworks*) fmt=elf 2540 cat >> confdefs.h <<\EOF 2541 #define MIPS_STABS_ELF 1 2542 EOF 2543 2544 ;; 2545 mn10200-*-*) fmt=elf bfd_gas=yes ;; 2546 mn10300-*-*) fmt=elf bfd_gas=yes ;; 2547 pj*) fmt=elf ;; 2548 ppc-*-pe | ppc-*-cygwin* | ppc-*-winnt*) 2549 fmt=coff em=pe ;; 2550 ppc-*-aix*) fmt=coff ;; 2551 ppc-*-beos*) fmt=coff ;; 2552 ppc-*-*bsd* | ppc-*-elf* | ppc-*-eabi* | ppc-*-sysv4*) 2553 fmt=elf ;; 2554 ppc-*-linux-gnu*) fmt=elf 2555 case "$endian" in 2556 big) ;; 2557 *) { echo "configure: error: GNU/Linux must be configured big endian" 1>&2; exit 1; } ;; 2558 esac 2559 ;; 2560 ppc-*-solaris*) fmt=elf 2561 if test ${this_target} = $target; then 2562 cat >> confdefs.h <<\EOF 2603 mips-dec-openbsd*) fmt=elf endian=little ;; 2604 mips-dec-bsd*) fmt=aout endian=little ;; 2605 mips-sony-bsd*) fmt=ecoff ;; 2606 mips-*-bsd*) 2607 { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;; 2608 mips-*-ultrix*) fmt=ecoff endian=little ;; 2609 mips-*-osf*) fmt=ecoff endian=little ;; 2610 mips-*-ecoff*) fmt=ecoff ;; 2611 mips-*-pe*) fmt=coff endian=little em=pe ;; 2612 mips-*-irix6*) fmt=elf em=irix ;; 2613 mips-*-irix5*) fmt=elf em=irix ;; 2614 mips-*-irix*) fmt=ecoff em=irix ;; 2615 mips-*-lnews*) fmt=ecoff em=lnews ;; 2616 mips-*-riscos*) fmt=ecoff ;; 2617 mips*-*-linux*) fmt=elf em=tmips ;; 2618 mips-*-sysv4*MP* | mips-*-gnu*) fmt=elf em=tmips ;; 2619 mips-*-sysv*) fmt=ecoff ;; 2620 mips-*-elf* | mips-*-rtems*) fmt=elf ;; 2621 mips-*-netbsd*) fmt=elf ;; 2622 mips-*-openbsd*) fmt=elf ;; 2623 mips-*-vxworks*) fmt=elf ;; 2624 2625 mmix-*-*) fmt=elf ;; 2626 mn10200-*-*) fmt=elf ;; 2627 mn10300-*-*) fmt=elf ;; 2628 msp430-*-*) fmt=elf ;; 2629 openrisc-*-*) fmt=elf ;; 2630 or32-*-rtems*) fmt=coff ;; 2631 or32-*-coff) fmt=coff ;; 2632 or32-*-elf) fmt=elf ;; 2633 pj*) fmt=elf ;; 2634 2635 ppc-*-pe | ppc-*-cygwin*) fmt=coff em=pe ;; 2636 ppc-*-winnt*) fmt=coff em=pe ;; 2637 ppc-*-aix5*) fmt=coff em=aix5 ;; 2638 ppc-*-aix*) fmt=coff ;; 2639 ppc-*-beos*) fmt=coff ;; 2640 ppc-*-*n*bsd* | ppc-*-elf*) fmt=elf ;; 2641 ppc-*-eabi* | ppc-*-sysv4*) fmt=elf ;; 2642 ppc-*-linux-gnu*) fmt=elf 2643 case "$endian" in 2644 big) ;; 2645 *) { echo "configure: error: GNU/Linux must be configured big endian" 1>&2; exit 1; } ;; 2646 esac ;; 2647 ppc-*-solaris*) fmt=elf 2648 if test ${this_target} = $target; then 2649 cat >> confdefs.h <<\EOF 2563 2650 #define TARGET_SOLARIS_COMMENT 1 2564 2651 EOF 2565 2652 2566 fi 2567 if test x${endian} = xbig; then 2568 { echo "configure: error: Solaris must be configured little endian" 1>&2; exit 1; } 2569 fi 2570 ;; 2571 ppc-*-rtems*) fmt=elf ;; 2572 ppc-*-macos* | ppc-*-mpw*) 2573 fmt=coff em=macos ;; 2574 ppc-*-netware*) fmt=elf em=ppcnw ;; 2575 ppc-*-vxworks*) fmt=elf ;; 2576 2577 sh-*-linux*) fmt=elf em=linux ;; 2578 sh-*-elf*) fmt=elf ;; 2579 sh-*-coff*) fmt=coff ;; 2580 sh-*-pe*) fmt=coff em=pe bfd_gas=yes;; 2581 sh-*-rtemself*) fmt=elf ;; 2582 sh-*-rtems*) fmt=coff ;; 2583 2584 ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;; 2585 ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; 2586 ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;; 2587 2588 sparc-*-rtemsaout*) fmt=aout ;; 2589 sparc-*-rtemself*) fmt=elf ;; 2590 sparc-*-rtems*) fmt=elf ;; 2591 sparc-*-sunos4*) fmt=aout em=sun3 ;; 2592 sparc-*-aout | sparc*-*-vxworks*) 2593 fmt=aout em=sparcaout ;; 2594 sparc-*-coff) fmt=coff ;; 2595 sparc-*-linux*aout*) fmt=aout em=linux ;; 2596 sparc-*-linux-gnu*) fmt=elf em=linux ;; 2597 sparc-*-lynxos*) fmt=coff em=lynx ;; 2598 sparc-fujitsu-none) fmt=aout ;; 2599 sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*) 2600 fmt=elf ;; 2601 sparc-*-netbsd*) em=nbsd bfd_gas=yes 2602 case ${cpu} in 2603 sparc) case ${os} in 2604 *elf*) fmt=elf ;; 2605 *) fmt=aout ;; 2606 esac ;; 2607 sparc64) fmt=elf ;; 2608 esac 2609 ;; 2610 sparc-*-openbsd*) fmt=aout em=nbsd ;; 2611 2612 strongarm-*-coff) fmt=coff ;; 2613 strongarm-*-elf) fmt=elf ;; 2614 xscale-*-coff) fmt=coff ;; 2615 xscale-*-elf) fmt=elf ;; 2616 2617 tic30-*-*aout*) fmt=aout bfd_gas=yes ;; 2618 tic30-*-*coff*) fmt=coff bfd_gas=yes ;; 2619 tic54x-*-* | c54x*-*-*) 2620 fmt=coff bfd_gas=yes need_libm=yes;; 2621 tic80-*-*) fmt=coff ;; 2622 2623 v850-*-*) fmt=elf bfd_gas=yes ;; 2624 v850e-*-*) fmt=elf bfd_gas=yes ;; 2625 v850ea-*-*) fmt=elf bfd_gas=yes ;; 2626 2627 vax-*-bsd* | vax-*-ultrix*) 2628 fmt=aout ;; 2629 vax-*-vms) fmt=vms ;; 2630 2631 2632 z8k-*-coff | z8k-*-sim) 2633 fmt=coff ;; 2634 2635 w65-*-*) fmt=coff ;; 2636 2637 *-*-aout | *-*-scout) 2638 fmt=aout ;; 2639 *-*-freebsd*) fmt=elf em=freebsd bfd_gas=yes ;; 2640 *-*-nindy*) 2641 fmt=bout ;; 2642 *-*-bsd*) 2643 fmt=aout em=sun3 ;; 2644 *-*-generic) fmt=generic ;; 2645 *-*-xray | *-*-hms) fmt=coff ;; 2646 *-*-sim) fmt=coff ;; 2647 *-*-elf | *-*-sysv4* | *-*-solaris*) 2648 echo "configure: warning: GAS support for ${generic_target} is incomplete." 1>&2 2649 fmt=elf dev=yes ;; 2650 *-*-vxworks) fmt=aout ;; 2651 *-*-netware) fmt=elf ;; 2653 fi 2654 if test x${endian} = xbig; then 2655 { echo "configure: error: Solaris must be configured little endian" 1>&2; exit 1; } 2656 fi ;; 2657 ppc-*-rtems*) fmt=elf ;; 2658 ppc-*-macos* | ppc-*-mpw*) fmt=coff em=macos ;; 2659 ppc-*-netware*) fmt=elf em=ppcnw ;; 2660 ppc-**-nto*) fmt=elf ;; 2661 ppc-*-vxworks*) fmt=elf ;; 2662 ppc-*-windiss*) fmt=elf ;; 2663 ppc-*-kaos*) fmt=elf ;; 2664 2665 s390x-*-linux-gnu*) fmt=elf em=linux ;; 2666 s390-*-linux-gnu*) fmt=elf em=linux ;; 2667 2668 sh*-*-linux*) fmt=elf em=linux 2669 case ${cpu} in 2670 sh*eb) endian=big ;; 2671 *) endian=little ;; 2672 esac ;; 2673 sh5*-*-netbsd*) fmt=elf em=nbsd ;; 2674 sh64*-*-netbsd*) fmt=elf em=nbsd ;; 2675 sh*-*-netbsdelf*) fmt=elf em=nbsd ;; 2676 sh-*-elf*) fmt=elf ;; 2677 sh-*-coff*) fmt=coff ;; 2678 sh-*-nto*) fmt=elf ;; 2679 sh-*-pe*) fmt=coff em=pe bfd_gas=yes endian=little ;; 2680 sh-*-rtemself*) fmt=elf ;; 2681 sh-*-rtems*) fmt=coff ;; 2682 sh-*-kaos*) fmt=elf ;; 2683 shle*-*-kaos*) fmt=elf ;; 2684 sh64-*-elf*) fmt=elf ;; 2685 2686 ns32k-pc532-mach*) fmt=aout em=pc532mach ;; 2687 ns32k-pc532-ux*) fmt=aout em=pc532mach ;; 2688 ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; 2689 ns32k-*-*n*bsd*) fmt=aout em=nbsd532 ;; 2690 2691 sparc-*-rtemsaout*) fmt=aout ;; 2692 sparc-*-rtemself*) fmt=elf ;; 2693 sparc-*-rtems*) fmt=elf ;; 2694 sparc-*-sunos4*) fmt=aout em=sun3 ;; 2695 sparc-*-aout | sparc*-*-vxworks*) fmt=aout em=sparcaout ;; 2696 sparc-*-coff) fmt=coff ;; 2697 sparc-*-linux*aout*) fmt=aout em=linux ;; 2698 sparc-*-linux-gnu*) fmt=elf em=linux ;; 2699 sparc-*-lynxos*) fmt=coff em=lynx ;; 2700 sparc-fujitsu-none) fmt=aout ;; 2701 sparc-*-elf) fmt=elf ;; 2702 sparc-*-sysv4*) fmt=elf ;; 2703 sparc-*-solaris*) fmt=elf ;; 2704 sparc-*-netbsdelf*) fmt=elf em=nbsd ;; 2705 sparc-*-*n*bsd*) case ${cpu} in 2706 sparc64) fmt=elf em=nbsd ;; 2707 *) fmt=aout em=nbsd ;; 2708 esac ;; 2709 strongarm-*-coff) fmt=coff ;; 2710 strongarm-*-elf) fmt=elf ;; 2711 strongarm-*-kaos*) fmt=elf ;; 2712 xscale-*-coff) fmt=coff ;; 2713 xscale-*-elf) fmt=elf ;; 2714 2715 tic30-*-*aout*) fmt=aout bfd_gas=yes ;; 2716 tic30-*-*coff*) fmt=coff bfd_gas=yes ;; 2717 tic4x-*-* | c4x-*-*) fmt=coff bfd_gas=yes ;; 2718 tic54x-*-* | c54x*-*-*) fmt=coff bfd_gas=yes need_libm=yes;; 2719 tic80-*-*) fmt=coff ;; 2720 2721 v850-*-*) fmt=elf ;; 2722 v850e-*-*) fmt=elf ;; 2723 v850ea-*-*) fmt=elf ;; 2724 2725 vax-*-netbsdelf*) fmt=elf em=nbsd ;; 2726 vax-*-netbsd*) fmt=aout em=nbsd ;; 2727 vax-*-bsd* | vax-*-ultrix*) fmt=aout ;; 2728 vax-*-vms) fmt=vms ;; 2729 2730 w65-*-*) fmt=coff ;; 2731 2732 xstormy16-*-*) fmt=elf ;; 2733 2734 xtensa-*-*) fmt=elf ;; 2735 2736 z8k-*-coff | z8k-*-sim) fmt=coff ;; 2737 2738 *-*-aout | *-*-scout) fmt=aout ;; 2739 *-*-freebsd*) fmt=elf em=freebsd ;; 2740 *-*-nindy*) fmt=bout ;; 2741 *-*-bsd*) fmt=aout em=sun3 ;; 2742 *-*-generic) fmt=generic ;; 2743 *-*-xray | *-*-hms) fmt=coff ;; 2744 *-*-sim) fmt=coff ;; 2745 *-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf dev=yes ;; 2746 *-*-aros*) fmt=elf em=linux bfd_gas=yes ;; 2747 *-*-vxworks) fmt=aout ;; 2748 *-*-netware) fmt=elf ;; 2652 2749 esac 2653 2750 … … 2668 2765 2669 2766 case ${cpu_type}-${fmt} in 2670 alpha*-*) bfd_gas=yes ;; 2671 arm-*) bfd_gas=yes ;; 2672 # not yet 2673 # i386-aout) bfd_gas=preferred ;; 2674 ia64*-*) bfd_gas=yes ;; 2675 mips-*) bfd_gas=yes ;; 2676 ns32k-*) bfd_gas=yes ;; 2677 ppc-*) bfd_gas=yes ;; 2678 sparc-*) bfd_gas=yes ;; 2679 strongarm-*) bfd_gas=yes ;; 2680 xscale-*) bfd_gas=yes ;; 2681 *-elf) bfd_gas=yes ;; 2682 *-ecoff) bfd_gas=yes ;; 2683 *-som) bfd_gas=yes ;; 2684 #enable bfd for coff and aout to allow testing if a bfd target is 2685 #the primary target, but not for coff or aout as the primary target 2686 i386-coff) if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;; 2687 i386-aout) if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;; 2688 *) ;; 2767 alpha*-* | arm-* | i386-* | ia64*-* | mips-* | ns32k-* \ 2768 | pdp11-* | ppc-* | sparc-* | strongarm-* | xscale-* \ 2769 | *-elf | *-ecoff | *-som) 2770 bfd_gas=yes ;; 2689 2771 esac 2690 2772 2691 2773 # Other random stuff. 2774 2775 case ${cpu_type} in 2776 mips) 2777 # Set mips_cpu to the name of the default CPU. 2778 case ${target_cpu} in 2779 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el) 2780 mips_cpu=from-abi 2781 ;; 2782 mipsisa32 | mipsisa32el) 2783 mips_cpu=mips32 2784 ;; 2785 mipsisa32r2 | mipsisa32r2el) 2786 mips_cpu=mips32r2 2787 ;; 2788 mipsisa64 | mipsisa64el) 2789 mips_cpu=mips64 2790 ;; 2791 mipstx39 | mipstx39el) 2792 mips_cpu=r3900 2793 ;; 2794 mips64vr | mips64vrel) 2795 mips_cpu=vr4100 2796 ;; 2797 mipsisa32r2*) 2798 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'` 2799 ;; 2800 mips64* | mipsisa64* | mipsisa32*) 2801 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'` 2802 ;; 2803 *) 2804 { echo "configure: error: $target_cpu isn't a supported MIPS CPU name" 1>&2; exit 1; } 2805 ;; 2806 esac 2807 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32 2808 # binaries. It's a GNU extension that some OSes don't understand. 2809 # The value only matters on ELF targets. 2810 case ${target} in 2811 *-*-irix*) 2812 use_e_mips_abi_o32=0 2813 ;; 2814 *) 2815 use_e_mips_abi_o32=1 2816 ;; 2817 esac 2818 # Decide whether to generate 32-bit or 64-bit code by default. 2819 # Used to resolve -march=from-abi when an embedded ABI is selected. 2820 case ${target} in 2821 mips64*-*-* | mipsisa64*-*-*) 2822 mips_default_64bit=1 2823 ;; 2824 *) 2825 mips_default_64bit=0 2826 ;; 2827 esac 2828 # Decide which ABI to target by default. 2829 case ${target} in 2830 mips64*-linux* | mips-sgi-irix6*) 2831 mips_default_abi=N32_ABI 2832 ;; 2833 mips*-linux*) 2834 mips_default_abi=O32_ABI 2835 ;; 2836 *) 2837 mips_default_abi=NO_ABI 2838 ;; 2839 esac 2840 cat >> confdefs.h <<EOF 2841 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu" 2842 EOF 2843 2844 cat >> confdefs.h <<EOF 2845 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32 2846 EOF 2847 2848 cat >> confdefs.h <<EOF 2849 #define MIPS_DEFAULT_64BIT $mips_default_64bit 2850 EOF 2851 2852 cat >> confdefs.h <<EOF 2853 #define MIPS_DEFAULT_ABI $mips_default_abi 2854 EOF 2855 2856 ;; 2857 esac 2692 2858 2693 2859 # Do we need the opcodes library? … … 2713 2879 # Any other special object files needed ? 2714 2880 case ${cpu_type} in 2715 fr30 | m32r)2881 fr30 | ip2k | iq2000 | m32r | openrisc) 2716 2882 using_cgen=yes 2717 2883 ;; 2718 2884 2885 frv) 2886 using_cgen=yes 2887 ;; 2719 2888 m68k) 2720 2889 case ${extra_objects} in … … 2725 2894 2726 2895 mips) 2727 echo ${extra_objects} | grep -s "itbl-parse.o" 2896 echo ${extra_objects} | grep -s "itbl-parse.o" 2728 2897 if test $? -ne 0 ; then 2729 2898 extra_objects="$extra_objects itbl-parse.o" 2730 2899 fi 2731 2900 2732 echo ${extra_objects} | grep -s "itbl-lex.o" 2901 echo ${extra_objects} | grep -s "itbl-lex.o" 2733 2902 if test $? -ne 0 ; then 2734 2903 extra_objects="$extra_objects itbl-lex.o" 2735 2904 fi 2736 2905 2737 echo ${extra_objects} | grep -s "itbl-ops.o" 2906 echo ${extra_objects} | grep -s "itbl-ops.o" 2738 2907 if test $? -ne 0 ; then 2739 2908 extra_objects="$extra_objects itbl-ops.o" … … 2741 2910 ;; 2742 2911 2743 i386 )2912 i386 | s390 | sparc) 2744 2913 if test $this_target = $target ; then 2745 2914 cat >> confdefs.h <<EOF … … 2749 2918 fi 2750 2919 ;; 2751 sparc) 2752 if test $this_target = $target ; then 2753 cat >> confdefs.h <<EOF 2754 #define DEFAULT_ARCH "${arch}" 2755 EOF 2756 2920 2921 xstormy16) 2922 using_cgen=yes 2923 ;; 2924 2925 xtensa) 2926 echo ${extra_objects} | grep -s "xtensa-relax.o" 2927 if test $? -ne 0 ; then 2928 extra_objects="$extra_objects xtensa-relax.o" 2757 2929 fi 2758 2930 ;; 2931 2759 2932 *) 2760 2933 ;; … … 2788 2961 case ${generic_target}-${fmt} in 2789 2962 mips-*-irix5*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;; 2790 mips -*-linux-gnu*-*) case "$endian" in2791 big) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;2792 *) emulation="mipslelf mipsbelf mipself mipslecoff mipsbecoff mipsecoff" ;;2963 mips*-*-linux*-*) case "$endian" in 2964 big) emulation="mipsbelf mipslelf mipself" ;; 2965 *) emulation="mipslelf mipsbelf mipself" ;; 2793 2966 esac ;; 2794 2967 mips-*-lnews*-ecoff) ;; … … 2845 3018 case ${target_cpu} in 2846 3019 vax | tahoe ) atof=${target_cpu} ;; 3020 pdp11) atof=vax ;; 2847 3021 *) atof=ieee ;; 2848 3022 esac … … 3100 3274 yes) 3101 3275 BFDLIB=../bfd/libbfd.la 3102 ALL_OBJ_DEPS="$ALL_OBJ_DEPS ../bfd/bfd.h" 3276 BFDVER_H=../bfd/bfdver.h 3277 ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h' 3103 3278 ;; 3104 3279 esac 3280 3105 3281 3106 3282 … … 3133 3309 set dummy gcc; ac_word=$2 3134 3310 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3135 echo "configure:3 136: checking for $ac_word" >&53311 echo "configure:3312: checking for $ac_word" >&5 3136 3312 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 3137 3313 echo $ac_n "(cached) $ac_c" 1>&6 … … 3164 3340 set dummy cc; ac_word=$2 3165 3341 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3166 echo "configure:3 167: checking for $ac_word" >&53342 echo "configure:3343: checking for $ac_word" >&5 3167 3343 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 3168 3344 echo $ac_n "(cached) $ac_c" 1>&6 … … 3217 3393 set dummy cl; ac_word=$2 3218 3394 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3219 echo "configure:3 220: checking for $ac_word" >&53395 echo "configure:3396: checking for $ac_word" >&5 3220 3396 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 3221 3397 echo $ac_n "(cached) $ac_c" 1>&6 … … 3250 3426 3251 3427 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 3252 echo "configure:3 253: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&53428 echo "configure:3429: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 3253 3429 3254 3430 ac_ext=c … … 3261 3437 cat > conftest.$ac_ext << EOF 3262 3438 3263 #line 3 264"configure"3439 #line 3440 "configure" 3264 3440 #include "confdefs.h" 3265 3441 3266 3442 main(){return(0);} 3267 3443 EOF 3268 if { (eval echo configure:3 269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3444 if { (eval echo configure:3445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3269 3445 ac_cv_prog_cc_works=yes 3270 3446 # If we can't run a trivial program, we are probably using a cross compiler. … … 3292 3468 fi 3293 3469 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 3294 echo "configure:3 295: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&53470 echo "configure:3471: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 3295 3471 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 3296 3472 cross_compiling=$ac_cv_prog_cc_cross 3297 3473 3298 3474 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 3299 echo "configure:3 300: checking whether we are using GNU C" >&53475 echo "configure:3476: checking whether we are using GNU C" >&5 3300 3476 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 3301 3477 echo $ac_n "(cached) $ac_c" 1>&6 … … 3306 3482 #endif 3307 3483 EOF 3308 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3 309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then3484 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 3309 3485 ac_cv_prog_gcc=yes 3310 3486 else … … 3325 3501 CFLAGS= 3326 3502 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 3327 echo "configure:3 328: checking whether ${CC-cc} accepts -g" >&53503 echo "configure:3504: checking whether ${CC-cc} accepts -g" >&5 3328 3504 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 3329 3505 echo $ac_n "(cached) $ac_c" 1>&6 … … 3362 3538 set dummy $ac_prog; ac_word=$2 3363 3539 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3364 echo "configure:3 365: checking for $ac_word" >&53540 echo "configure:3541: checking for $ac_word" >&5 3365 3541 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 3366 3542 echo $ac_n "(cached) $ac_c" 1>&6 … … 3394 3570 3395 3571 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 3396 echo "configure:3 397: checking how to run the C preprocessor" >&53572 echo "configure:3573: checking how to run the C preprocessor" >&5 3397 3573 # On Suns, sometimes $CPP names a directory. 3398 3574 if test -n "$CPP" && test -d "$CPP"; then … … 3410 3586 cat > conftest.$ac_ext <<EOF 3411 3587 #include <sys/types.h> 3412 #line 3 413"configure"3588 #line 3589 "configure" 3413 3589 #include "confdefs.h" 3414 3590 #include <assert.h> … … 3416 3592 EOF 3417 3593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3418 { (eval echo configure:3 419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3594 { (eval echo configure:3595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3419 3595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3420 3596 if test -z "$ac_err"; then … … 3428 3604 cat > conftest.$ac_ext <<EOF 3429 3605 #include <sys/types.h> 3430 #line 3 431"configure"3606 #line 3607 "configure" 3431 3607 #include "confdefs.h" 3432 3608 #include <assert.h> … … 3434 3610 EOF 3435 3611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3436 { (eval echo configure:3 437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3612 { (eval echo configure:3613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3437 3613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3438 3614 if test -z "$ac_err"; then … … 3446 3622 cat > conftest.$ac_ext <<EOF 3447 3623 #include <sys/types.h> 3448 #line 3 449"configure"3624 #line 3625 "configure" 3449 3625 #include "confdefs.h" 3450 3626 #include <assert.h> … … 3452 3628 EOF 3453 3629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3454 { (eval echo configure:3 455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3630 { (eval echo configure:3631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3455 3631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3456 3632 if test -z "$ac_err"; then … … 3482 3658 set dummy $ac_prog; ac_word=$2 3483 3659 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3484 echo "configure:3 485: checking for $ac_word" >&53660 echo "configure:3661: checking for $ac_word" >&5 3485 3661 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 3486 3662 echo $ac_n "(cached) $ac_c" 1>&6 … … 3511 3687 test -n "$LEX" && break 3512 3688 done 3513 test -n "$LEX" || LEX=" "$missing_dir/missing flex""3689 test -n "$LEX" || LEX="$missing_dir/missing flex" 3514 3690 3515 3691 # Extract the first word of "flex", so it can be a program name with args. 3516 3692 set dummy flex; ac_word=$2 3517 3693 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3518 echo "configure:3 519: checking for $ac_word" >&53694 echo "configure:3695: checking for $ac_word" >&5 3519 3695 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 3520 3696 echo $ac_n "(cached) $ac_c" 1>&6 … … 3551 3727 esac 3552 3728 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 3553 echo "configure:3 554: checking for yywrap in -l$ac_lib" >&53729 echo "configure:3730: checking for yywrap in -l$ac_lib" >&5 3554 3730 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` 3555 3731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3559 3735 LIBS="-l$ac_lib $LIBS" 3560 3736 cat > conftest.$ac_ext <<EOF 3561 #line 3 562"configure"3737 #line 3738 "configure" 3562 3738 #include "confdefs.h" 3563 3739 /* Override any gcc2 internal prototype to avoid an error. */ … … 3570 3746 ; return 0; } 3571 3747 EOF 3572 if { (eval echo configure:3 573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3748 if { (eval echo configure:3749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3573 3749 rm -rf conftest* 3574 3750 eval "ac_cv_lib_$ac_lib_var=yes" … … 3593 3769 3594 3770 echo $ac_n "checking lex output file root""... $ac_c" 1>&6 3595 echo "configure:3 596: checking lex output file root" >&53771 echo "configure:3772: checking lex output file root" >&5 3596 3772 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then 3597 3773 echo $ac_n "(cached) $ac_c" 1>&6 … … 3614 3790 3615 3791 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 3616 echo "configure:3 617: checking whether yytext is a pointer" >&53792 echo "configure:3793: checking whether yytext is a pointer" >&5 3617 3793 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then 3618 3794 echo $ac_n "(cached) $ac_c" 1>&6 … … 3626 3802 LIBS="$LIBS $LEXLIB" 3627 3803 cat > conftest.$ac_ext <<EOF 3628 #line 3 629"configure"3804 #line 3805 "configure" 3629 3805 #include "confdefs.h" 3630 3806 `cat $LEX_OUTPUT_ROOT.c` … … 3633 3809 ; return 0; } 3634 3810 EOF 3635 if { (eval echo configure:3 636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3811 if { (eval echo configure:3812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3636 3812 rm -rf conftest* 3637 3813 ac_cv_prog_lex_yytext_pointer=yes … … 3655 3831 3656 3832 3657 ALL_LINGUAS= 3833 ALL_LINGUAS="fr tr es" 3658 3834 # Extract the first word of "ranlib", so it can be a program name with args. 3659 3835 set dummy ranlib; ac_word=$2 3660 3836 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3661 echo "configure:3 662: checking for $ac_word" >&53837 echo "configure:3838: checking for $ac_word" >&5 3662 3838 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 3663 3839 echo $ac_n "(cached) $ac_c" 1>&6 … … 3688 3864 3689 3865 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 3690 echo "configure:3 691: checking for ANSI C header files" >&53866 echo "configure:3867: checking for ANSI C header files" >&5 3691 3867 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 3692 3868 echo $ac_n "(cached) $ac_c" 1>&6 … … 3694 3870 cat > conftest.$ac_ext <<EOF 3695 3871 #include <sys/types.h> 3696 #line 3 697"configure"3872 #line 3873 "configure" 3697 3873 #include "confdefs.h" 3698 3874 #include <stdlib.h> … … 3702 3878 EOF 3703 3879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3704 { (eval echo configure:3 705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3880 { (eval echo configure:3881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3705 3881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3706 3882 if test -z "$ac_err"; then … … 3719 3895 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3720 3896 cat > conftest.$ac_ext <<EOF 3721 #line 3 722"configure"3897 #line 3898 "configure" 3722 3898 #include "confdefs.h" 3723 3899 #include <string.h> … … 3737 3913 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3738 3914 cat > conftest.$ac_ext <<EOF 3739 #line 3 740"configure"3915 #line 3916 "configure" 3740 3916 #include "confdefs.h" 3741 3917 #include <stdlib.h> … … 3758 3934 else 3759 3935 cat > conftest.$ac_ext <<EOF 3760 #line 3 761"configure"3936 #line 3937 "configure" 3761 3937 #include "confdefs.h" 3762 3938 #include <ctype.h> … … 3769 3945 3770 3946 EOF 3771 if { (eval echo configure:3 772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3947 if { (eval echo configure:3948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3772 3948 then 3773 3949 : … … 3793 3969 3794 3970 echo $ac_n "checking for working const""... $ac_c" 1>&6 3795 echo "configure:3 796: checking for working const" >&53971 echo "configure:3972: checking for working const" >&5 3796 3972 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 3797 3973 echo $ac_n "(cached) $ac_c" 1>&6 3798 3974 else 3799 3975 cat > conftest.$ac_ext <<EOF 3800 #line 3 801"configure"3976 #line 3977 "configure" 3801 3977 #include "confdefs.h" 3802 3978 … … 3847 4023 ; return 0; } 3848 4024 EOF 3849 if { (eval echo configure: 3850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4025 if { (eval echo configure:4026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3850 4026 rm -rf conftest* 3851 4027 ac_cv_c_const=yes … … 3868 4044 3869 4045 echo $ac_n "checking for inline""... $ac_c" 1>&6 3870 echo "configure: 3871: checking for inline" >&54046 echo "configure:4047: checking for inline" >&5 3871 4047 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 3872 4048 echo $ac_n "(cached) $ac_c" 1>&6 … … 3875 4051 for ac_kw in inline __inline__ __inline; do 3876 4052 cat > conftest.$ac_ext <<EOF 3877 #line 3878"configure"4053 #line 4054 "configure" 3878 4054 #include "confdefs.h" 3879 4055 … … 3882 4058 ; return 0; } 3883 4059 EOF 3884 if { (eval echo configure: 3885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4060 if { (eval echo configure:4061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3885 4061 rm -rf conftest* 3886 4062 ac_cv_c_inline=$ac_kw; break … … 3908 4084 3909 4085 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3910 echo "configure: 3911: checking for off_t" >&54086 echo "configure:4087: checking for off_t" >&5 3911 4087 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 3912 4088 echo $ac_n "(cached) $ac_c" 1>&6 3913 4089 else 3914 4090 cat > conftest.$ac_ext <<EOF 3915 #line 3916"configure"4091 #line 4092 "configure" 3916 4092 #include "confdefs.h" 3917 4093 #include <sys/types.h> … … 3941 4117 3942 4118 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3943 echo "configure: 3944: checking for size_t" >&54119 echo "configure:4120: checking for size_t" >&5 3944 4120 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 3945 4121 echo $ac_n "(cached) $ac_c" 1>&6 3946 4122 else 3947 4123 cat > conftest.$ac_ext <<EOF 3948 #line 3949"configure"4124 #line 4125 "configure" 3949 4125 #include "confdefs.h" 3950 4126 #include <sys/types.h> … … 3976 4152 # for constant arguments. Useless! 3977 4153 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 3978 echo "configure: 3979: checking for working alloca.h" >&54154 echo "configure:4155: checking for working alloca.h" >&5 3979 4155 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 3980 4156 echo $ac_n "(cached) $ac_c" 1>&6 3981 4157 else 3982 4158 cat > conftest.$ac_ext <<EOF 3983 #line 3984"configure"4159 #line 4160 "configure" 3984 4160 #include "confdefs.h" 3985 4161 #include <alloca.h> … … 3988 4164 ; return 0; } 3989 4165 EOF 3990 if { (eval echo configure: 3991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4166 if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3991 4167 rm -rf conftest* 3992 4168 ac_cv_header_alloca_h=yes … … 4009 4185 4010 4186 echo $ac_n "checking for alloca""... $ac_c" 1>&6 4011 echo "configure:4 012: checking for alloca" >&54187 echo "configure:4188: checking for alloca" >&5 4012 4188 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4013 4189 echo $ac_n "(cached) $ac_c" 1>&6 4014 4190 else 4015 4191 cat > conftest.$ac_ext <<EOF 4016 #line 4 017"configure"4192 #line 4193 "configure" 4017 4193 #include "confdefs.h" 4018 4194 … … 4042 4218 ; return 0; } 4043 4219 EOF 4044 if { (eval echo configure:4 045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4220 if { (eval echo configure:4221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4045 4221 rm -rf conftest* 4046 4222 ac_cv_func_alloca_works=yes … … 4074 4250 4075 4251 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4076 echo "configure:4 077: checking whether alloca needs Cray hooks" >&54252 echo "configure:4253: checking whether alloca needs Cray hooks" >&5 4077 4253 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4078 4254 echo $ac_n "(cached) $ac_c" 1>&6 4079 4255 else 4080 4256 cat > conftest.$ac_ext <<EOF 4081 #line 4 082"configure"4257 #line 4258 "configure" 4082 4258 #include "confdefs.h" 4083 4259 #if defined(CRAY) && ! defined(CRAY2) … … 4104 4280 for ac_func in _getb67 GETB67 getb67; do 4105 4281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4106 echo "configure:4 107: checking for $ac_func" >&54282 echo "configure:4283: checking for $ac_func" >&5 4107 4283 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4108 4284 echo $ac_n "(cached) $ac_c" 1>&6 4109 4285 else 4110 4286 cat > conftest.$ac_ext <<EOF 4111 #line 4 112"configure"4287 #line 4288 "configure" 4112 4288 #include "confdefs.h" 4113 4289 /* System header to define __stub macros and hopefully few prototypes, … … 4132 4308 ; return 0; } 4133 4309 EOF 4134 if { (eval echo configure:4 135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4310 if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4135 4311 rm -rf conftest* 4136 4312 eval "ac_cv_func_$ac_func=yes" … … 4159 4335 4160 4336 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 4161 echo "configure:4 162: checking stack direction for C alloca" >&54337 echo "configure:4338: checking stack direction for C alloca" >&5 4162 4338 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 4163 4339 echo $ac_n "(cached) $ac_c" 1>&6 … … 4167 4343 else 4168 4344 cat > conftest.$ac_ext <<EOF 4169 #line 4 170"configure"4345 #line 4346 "configure" 4170 4346 #include "confdefs.h" 4171 4347 find_stack_direction () … … 4186 4362 } 4187 4363 EOF 4188 if { (eval echo configure:4 189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null4364 if { (eval echo configure:4365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4189 4365 then 4190 4366 ac_cv_c_stack_direction=1 … … 4211 4387 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4212 4388 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4213 echo "configure:4 214: checking for $ac_hdr" >&54389 echo "configure:4390: checking for $ac_hdr" >&5 4214 4390 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4215 4391 echo $ac_n "(cached) $ac_c" 1>&6 … … 4217 4393 cat > conftest.$ac_ext <<EOF 4218 4394 #include <sys/types.h> 4219 #line 4 220"configure"4395 #line 4396 "configure" 4220 4396 #include "confdefs.h" 4221 4397 #include <$ac_hdr> 4222 4398 EOF 4223 4399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4224 { (eval echo configure:4 225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4400 { (eval echo configure:4401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4225 4401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4226 4402 if test -z "$ac_err"; then … … 4251 4427 do 4252 4428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4253 echo "configure:4 254: checking for $ac_func" >&54429 echo "configure:4430: checking for $ac_func" >&5 4254 4430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4255 4431 echo $ac_n "(cached) $ac_c" 1>&6 4256 4432 else 4257 4433 cat > conftest.$ac_ext <<EOF 4258 #line 4 259"configure"4434 #line 4435 "configure" 4259 4435 #include "confdefs.h" 4260 4436 /* System header to define __stub macros and hopefully few prototypes, … … 4279 4455 ; return 0; } 4280 4456 EOF 4281 if { (eval echo configure:4 282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4457 if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4282 4458 rm -rf conftest* 4283 4459 eval "ac_cv_func_$ac_func=yes" … … 4304 4480 4305 4481 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 4306 echo "configure:4 307: checking for working mmap" >&54482 echo "configure:4483: checking for working mmap" >&5 4307 4483 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 4308 4484 echo $ac_n "(cached) $ac_c" 1>&6 … … 4312 4488 else 4313 4489 cat > conftest.$ac_ext <<EOF 4314 #line 4 315"configure"4490 #line 4491 "configure" 4315 4491 #include "confdefs.h" 4316 4492 … … 4452 4628 4453 4629 EOF 4454 if { (eval echo configure:4 455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null4630 if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4455 4631 then 4456 4632 ac_cv_func_mmap_fixed_mapped=yes … … 4480 4656 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4481 4657 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4482 echo "configure:4 483: checking for $ac_hdr" >&54658 echo "configure:4659: checking for $ac_hdr" >&5 4483 4659 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4484 4660 echo $ac_n "(cached) $ac_c" 1>&6 … … 4486 4662 cat > conftest.$ac_ext <<EOF 4487 4663 #include <sys/types.h> 4488 #line 4 489"configure"4664 #line 4665 "configure" 4489 4665 #include "confdefs.h" 4490 4666 #include <$ac_hdr> 4491 4667 EOF 4492 4668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4493 { (eval echo configure:4 494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4669 { (eval echo configure:4670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4494 4670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4495 4671 if test -z "$ac_err"; then … … 4521 4697 do 4522 4698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4523 echo "configure:4 524: checking for $ac_func" >&54699 echo "configure:4700: checking for $ac_func" >&5 4524 4700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4525 4701 echo $ac_n "(cached) $ac_c" 1>&6 4526 4702 else 4527 4703 cat > conftest.$ac_ext <<EOF 4528 #line 4 529"configure"4704 #line 4705 "configure" 4529 4705 #include "confdefs.h" 4530 4706 /* System header to define __stub macros and hopefully few prototypes, … … 4549 4725 ; return 0; } 4550 4726 EOF 4551 if { (eval echo configure:4 552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4727 if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4552 4728 rm -rf conftest* 4553 4729 eval "ac_cv_func_$ac_func=yes" … … 4578 4754 do 4579 4755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4580 echo "configure:4 581: checking for $ac_func" >&54756 echo "configure:4757: checking for $ac_func" >&5 4581 4757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4582 4758 echo $ac_n "(cached) $ac_c" 1>&6 4583 4759 else 4584 4760 cat > conftest.$ac_ext <<EOF 4585 #line 4 586"configure"4761 #line 4762 "configure" 4586 4762 #include "confdefs.h" 4587 4763 /* System header to define __stub macros and hopefully few prototypes, … … 4606 4782 ; return 0; } 4607 4783 EOF 4608 if { (eval echo configure:4 609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4784 if { (eval echo configure:4785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4609 4785 rm -rf conftest* 4610 4786 eval "ac_cv_func_$ac_func=yes" … … 4640 4816 if test $ac_cv_header_locale_h = yes; then 4641 4817 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 4642 echo "configure:4 643: checking for LC_MESSAGES" >&54818 echo "configure:4819: checking for LC_MESSAGES" >&5 4643 4819 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 4644 4820 echo $ac_n "(cached) $ac_c" 1>&6 4645 4821 else 4646 4822 cat > conftest.$ac_ext <<EOF 4647 #line 4 648"configure"4823 #line 4824 "configure" 4648 4824 #include "confdefs.h" 4649 4825 #include <locale.h> … … 4652 4828 ; return 0; } 4653 4829 EOF 4654 if { (eval echo configure:4 655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4830 if { (eval echo configure:4831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4655 4831 rm -rf conftest* 4656 4832 am_cv_val_LC_MESSAGES=yes … … 4673 4849 fi 4674 4850 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 4675 echo "configure:4 676: checking whether NLS is requested" >&54851 echo "configure:4852: checking whether NLS is requested" >&5 4676 4852 # Check whether --enable-nls or --disable-nls was given. 4677 4853 if test "${enable_nls+set}" = set; then … … 4693 4869 4694 4870 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 4695 echo "configure:4 696: checking whether included gettext is requested" >&54871 echo "configure:4872: checking whether included gettext is requested" >&5 4696 4872 # Check whether --with-included-gettext or --without-included-gettext was given. 4697 4873 if test "${with_included_gettext+set}" = set; then … … 4712 4888 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 4713 4889 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 4714 echo "configure:4 715: checking for libintl.h" >&54890 echo "configure:4891: checking for libintl.h" >&5 4715 4891 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4716 4892 echo $ac_n "(cached) $ac_c" 1>&6 … … 4718 4894 cat > conftest.$ac_ext <<EOF 4719 4895 #include <sys/types.h> 4720 #line 4 721"configure"4896 #line 4897 "configure" 4721 4897 #include "confdefs.h" 4722 4898 #include <libintl.h> 4723 4899 EOF 4724 4900 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4725 { (eval echo configure:4 726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4901 { (eval echo configure:4902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4726 4902 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4727 4903 if test -z "$ac_err"; then … … 4740 4916 echo "$ac_t""yes" 1>&6 4741 4917 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 4742 echo "configure:4 743: checking for gettext in libc" >&54918 echo "configure:4919: checking for gettext in libc" >&5 4743 4919 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 4744 4920 echo $ac_n "(cached) $ac_c" 1>&6 4745 4921 else 4746 4922 cat > conftest.$ac_ext <<EOF 4747 #line 4 748"configure"4923 #line 4924 "configure" 4748 4924 #include "confdefs.h" 4749 4925 #include <libintl.h> … … 4752 4928 ; return 0; } 4753 4929 EOF 4754 if { (eval echo configure:4 755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4930 if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4755 4931 rm -rf conftest* 4756 4932 gt_cv_func_gettext_libc=yes … … 4768 4944 if test "$gt_cv_func_gettext_libc" != "yes"; then 4769 4945 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 4770 echo "configure:4 771: checking for bindtextdomain in -lintl" >&54946 echo "configure:4947: checking for bindtextdomain in -lintl" >&5 4771 4947 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 4772 4948 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4776 4952 LIBS="-lintl $LIBS" 4777 4953 cat > conftest.$ac_ext <<EOF 4778 #line 4 779"configure"4954 #line 4955 "configure" 4779 4955 #include "confdefs.h" 4780 4956 /* Override any gcc2 internal prototype to avoid an error. */ … … 4787 4963 ; return 0; } 4788 4964 EOF 4789 if { (eval echo configure:4 790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4965 if { (eval echo configure:4966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4790 4966 rm -rf conftest* 4791 4967 eval "ac_cv_lib_$ac_lib_var=yes" … … 4803 4979 echo "$ac_t""yes" 1>&6 4804 4980 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 4805 echo "configure:4 806: checking for gettext in libintl" >&54981 echo "configure:4982: checking for gettext in libintl" >&5 4806 4982 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 4807 4983 echo $ac_n "(cached) $ac_c" 1>&6 4808 4984 else 4809 4985 cat > conftest.$ac_ext <<EOF 4810 #line 4 811"configure"4986 #line 4987 "configure" 4811 4987 #include "confdefs.h" 4812 4988 … … 4815 4991 ; return 0; } 4816 4992 EOF 4817 if { (eval echo configure:4 818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4993 if { (eval echo configure:4994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4818 4994 rm -rf conftest* 4819 4995 gt_cv_func_gettext_libintl=yes … … 4843 5019 set dummy msgfmt; ac_word=$2 4844 5020 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4845 echo "configure: 4846: checking for $ac_word" >&55021 echo "configure:5022: checking for $ac_word" >&5 4846 5022 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4847 5023 echo $ac_n "(cached) $ac_c" 1>&6 … … 4877 5053 do 4878 5054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4879 echo "configure: 4880: checking for $ac_func" >&55055 echo "configure:5056: checking for $ac_func" >&5 4880 5056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4881 5057 echo $ac_n "(cached) $ac_c" 1>&6 4882 5058 else 4883 5059 cat > conftest.$ac_ext <<EOF 4884 #line 4885"configure"5060 #line 5061 "configure" 4885 5061 #include "confdefs.h" 4886 5062 /* System header to define __stub macros and hopefully few prototypes, … … 4905 5081 ; return 0; } 4906 5082 EOF 4907 if { (eval echo configure: 4908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5083 if { (eval echo configure:5084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4908 5084 rm -rf conftest* 4909 5085 eval "ac_cv_func_$ac_func=yes" … … 4932 5108 set dummy gmsgfmt; ac_word=$2 4933 5109 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4934 echo "configure: 4935: checking for $ac_word" >&55110 echo "configure:5111: checking for $ac_word" >&5 4935 5111 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4936 5112 echo $ac_n "(cached) $ac_c" 1>&6 … … 4972 5148 set dummy xgettext; ac_word=$2 4973 5149 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4974 echo "configure: 4975: checking for $ac_word" >&55150 echo "configure:5151: checking for $ac_word" >&5 4975 5151 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4976 5152 echo $ac_n "(cached) $ac_c" 1>&6 … … 5004 5180 5005 5181 cat > conftest.$ac_ext <<EOF 5006 #line 5 007"configure"5182 #line 5183 "configure" 5007 5183 #include "confdefs.h" 5008 5184 … … 5012 5188 ; return 0; } 5013 5189 EOF 5014 if { (eval echo configure:5 015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5190 if { (eval echo configure:5191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5015 5191 rm -rf conftest* 5016 5192 CATOBJEXT=.gmo … … 5044 5220 set dummy msgfmt; ac_word=$2 5045 5221 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5046 echo "configure:5 047: checking for $ac_word" >&55222 echo "configure:5223: checking for $ac_word" >&5 5047 5223 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 5048 5224 echo $ac_n "(cached) $ac_c" 1>&6 … … 5078 5254 set dummy gmsgfmt; ac_word=$2 5079 5255 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5080 echo "configure:5 081: checking for $ac_word" >&55256 echo "configure:5257: checking for $ac_word" >&5 5081 5257 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 5082 5258 echo $ac_n "(cached) $ac_c" 1>&6 … … 5118 5294 set dummy xgettext; ac_word=$2 5119 5295 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5120 echo "configure:5 121: checking for $ac_word" >&55296 echo "configure:5297: checking for $ac_word" >&5 5121 5297 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 5122 5298 echo $ac_n "(cached) $ac_c" 1>&6 … … 5208 5384 else 5209 5385 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 5210 echo "configure:5 211: checking for catalogs to be installed" >&55386 echo "configure:5387: checking for catalogs to be installed" >&5 5211 5387 NEW_LINGUAS= 5212 5388 for lang in ${LINGUAS=$ALL_LINGUAS}; do … … 5236 5412 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 5237 5413 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 5238 echo "configure:5 239: checking for linux/version.h" >&55414 echo "configure:5415: checking for linux/version.h" >&5 5239 5415 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5240 5416 echo $ac_n "(cached) $ac_c" 1>&6 … … 5242 5418 cat > conftest.$ac_ext <<EOF 5243 5419 #include <sys/types.h> 5244 #line 5 245"configure"5420 #line 5421 "configure" 5245 5421 #include "confdefs.h" 5246 5422 #include <linux/version.h> 5247 5423 EOF 5248 5424 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5249 { (eval echo configure:5 250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5425 { (eval echo configure:5426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5250 5426 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5251 5427 if test -z "$ac_err"; then … … 5292 5468 5293 5469 5294 if test - d $srcdir/po; then5470 if test -f $srcdir/po/POTFILES.in; then 5295 5471 test -d po || mkdir po 5296 5472 if test "x$srcdir" != "x."; then 5297 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then5473 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then 5298 5474 posrcprefix="$srcdir/" 5299 5475 else … … 5310 5486 5311 5487 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 5312 echo "configure:5 313: checking whether to enable maintainer-specific portions of Makefiles" >&55488 echo "configure:5489: checking whether to enable maintainer-specific portions of Makefiles" >&5 5313 5489 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 5314 5490 if test "${enable_maintainer_mode+set}" = set; then … … 5336 5512 5337 5513 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 5338 echo "configure:5 339: checking for executable suffix" >&55514 echo "configure:5515: checking for executable suffix" >&5 5339 5515 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 5340 5516 echo $ac_n "(cached) $ac_c" 1>&6 … … 5346 5522 echo 'int main () { return 0; }' > conftest.$ac_ext 5347 5523 ac_cv_exeext= 5348 if { (eval echo configure:5 349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then5524 if { (eval echo configure:5525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 5349 5525 for file in conftest.*; do 5350 5526 case $file in … … 5371 5547 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5372 5548 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5373 echo "configure:5 374: checking for $ac_hdr" >&55549 echo "configure:5550: checking for $ac_hdr" >&5 5374 5550 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5375 5551 echo $ac_n "(cached) $ac_c" 1>&6 … … 5377 5553 cat > conftest.$ac_ext <<EOF 5378 5554 #include <sys/types.h> 5379 #line 5 380"configure"5555 #line 5556 "configure" 5380 5556 #include "confdefs.h" 5381 5557 #include <$ac_hdr> 5382 5558 EOF 5383 5559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5384 { (eval echo configure:5 385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5560 { (eval echo configure:5561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5385 5561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5386 5562 if test -z "$ac_err"; then … … 5412 5588 # people who are not cross-compiling but are compiling cross-assemblers. 5413 5589 echo $ac_n "checking whether compiling a cross-assembler""... $ac_c" 1>&6 5414 echo "configure:5 415: checking whether compiling a cross-assembler" >&55590 echo "configure:5591: checking whether compiling a cross-assembler" >&5 5415 5591 if test "${host}" = "${target}"; then 5416 5592 cross_gas=no … … 5427 5603 # for constant arguments. Useless! 5428 5604 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 5429 echo "configure:5 430: checking for working alloca.h" >&55605 echo "configure:5606: checking for working alloca.h" >&5 5430 5606 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 5431 5607 echo $ac_n "(cached) $ac_c" 1>&6 5432 5608 else 5433 5609 cat > conftest.$ac_ext <<EOF 5434 #line 5 435"configure"5610 #line 5611 "configure" 5435 5611 #include "confdefs.h" 5436 5612 #include <alloca.h> … … 5439 5615 ; return 0; } 5440 5616 EOF 5441 if { (eval echo configure:5 442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5617 if { (eval echo configure:5618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5442 5618 rm -rf conftest* 5443 5619 ac_cv_header_alloca_h=yes … … 5460 5636 5461 5637 echo $ac_n "checking for alloca""... $ac_c" 1>&6 5462 echo "configure:5 463: checking for alloca" >&55638 echo "configure:5639: checking for alloca" >&5 5463 5639 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 5464 5640 echo $ac_n "(cached) $ac_c" 1>&6 5465 5641 else 5466 5642 cat > conftest.$ac_ext <<EOF 5467 #line 5 468"configure"5643 #line 5644 "configure" 5468 5644 #include "confdefs.h" 5469 5645 … … 5493 5669 ; return 0; } 5494 5670 EOF 5495 if { (eval echo configure:5 496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5671 if { (eval echo configure:5672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5496 5672 rm -rf conftest* 5497 5673 ac_cv_func_alloca_works=yes … … 5525 5701 5526 5702 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5527 echo "configure:5 528: checking whether alloca needs Cray hooks" >&55703 echo "configure:5704: checking whether alloca needs Cray hooks" >&5 5528 5704 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5529 5705 echo $ac_n "(cached) $ac_c" 1>&6 5530 5706 else 5531 5707 cat > conftest.$ac_ext <<EOF 5532 #line 5 533"configure"5708 #line 5709 "configure" 5533 5709 #include "confdefs.h" 5534 5710 #if defined(CRAY) && ! defined(CRAY2) … … 5555 5731 for ac_func in _getb67 GETB67 getb67; do 5556 5732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5557 echo "configure:5 558: checking for $ac_func" >&55733 echo "configure:5734: checking for $ac_func" >&5 5558 5734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5559 5735 echo $ac_n "(cached) $ac_c" 1>&6 5560 5736 else 5561 5737 cat > conftest.$ac_ext <<EOF 5562 #line 5 563"configure"5738 #line 5739 "configure" 5563 5739 #include "confdefs.h" 5564 5740 /* System header to define __stub macros and hopefully few prototypes, … … 5583 5759 ; return 0; } 5584 5760 EOF 5585 if { (eval echo configure:5 586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5586 5762 rm -rf conftest* 5587 5763 eval "ac_cv_func_$ac_func=yes" … … 5610 5786 5611 5787 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5612 echo "configure:5 613: checking stack direction for C alloca" >&55788 echo "configure:5789: checking stack direction for C alloca" >&5 5613 5789 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5614 5790 echo $ac_n "(cached) $ac_c" 1>&6 … … 5618 5794 else 5619 5795 cat > conftest.$ac_ext <<EOF 5620 #line 5 621"configure"5796 #line 5797 "configure" 5621 5797 #include "confdefs.h" 5622 5798 find_stack_direction () … … 5637 5813 } 5638 5814 EOF 5639 if { (eval echo configure:5 640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null5815 if { (eval echo configure:5816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5640 5816 then 5641 5817 ac_cv_c_stack_direction=1 … … 5659 5835 5660 5836 echo $ac_n "checking for inline""... $ac_c" 1>&6 5661 echo "configure:5 662: checking for inline" >&55837 echo "configure:5838: checking for inline" >&5 5662 5838 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 5663 5839 echo $ac_n "(cached) $ac_c" 1>&6 … … 5666 5842 for ac_kw in inline __inline__ __inline; do 5667 5843 cat > conftest.$ac_ext <<EOF 5668 #line 5 669"configure"5844 #line 5845 "configure" 5669 5845 #include "confdefs.h" 5670 5846 … … 5673 5849 ; return 0; } 5674 5850 EOF 5675 if { (eval echo configure:5 676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5851 if { (eval echo configure:5852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5676 5852 rm -rf conftest* 5677 5853 ac_cv_c_inline=$ac_kw; break … … 5703 5879 do 5704 5880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5705 echo "configure:5 706: checking for $ac_func" >&55881 echo "configure:5882: checking for $ac_func" >&5 5706 5882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5707 5883 echo $ac_n "(cached) $ac_c" 1>&6 5708 5884 else 5709 5885 cat > conftest.$ac_ext <<EOF 5710 #line 5 711"configure"5886 #line 5887 "configure" 5711 5887 #include "confdefs.h" 5712 5888 /* System header to define __stub macros and hopefully few prototypes, … … 5731 5907 ; return 0; } 5732 5908 EOF 5733 if { (eval echo configure:5 734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5909 if { (eval echo configure:5910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5734 5910 rm -rf conftest* 5735 5911 eval "ac_cv_func_$ac_func=yes" … … 5760 5936 do 5761 5937 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5762 echo "configure:5 763: checking for $ac_func" >&55938 echo "configure:5939: checking for $ac_func" >&5 5763 5939 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5764 5940 echo $ac_n "(cached) $ac_c" 1>&6 5765 5941 else 5766 5942 cat > conftest.$ac_ext <<EOF 5767 #line 5 768"configure"5943 #line 5944 "configure" 5768 5944 #include "confdefs.h" 5769 5945 /* System header to define __stub macros and hopefully few prototypes, … … 5788 5964 ; return 0; } 5789 5965 EOF 5790 if { (eval echo configure:5 791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5966 if { (eval echo configure:5967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5791 5967 rm -rf conftest* 5792 5968 eval "ac_cv_func_$ac_func=yes" … … 5815 5991 # do we need the math library? 5816 5992 case "${need_libm}" in 5817 yes) 5993 yes) 5818 5994 LIBM= 5819 case "$host"in5995 case $host in 5820 5996 *-*-beos* | *-*-cygwin* | *-*-pw32*) 5821 5997 # These system don't have libm … … 5823 5999 *-ncr-sysv4.3*) 5824 6000 echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6 5825 echo "configure: 5826: checking for _mwvalidcheckl in -lmw" >&56001 echo "configure:6002: checking for _mwvalidcheckl in -lmw" >&5 5826 6002 ac_lib_var=`echo mw'_'_mwvalidcheckl | sed 'y%./+-%__p_%'` 5827 6003 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5831 6007 LIBS="-lmw $LIBS" 5832 6008 cat > conftest.$ac_ext <<EOF 5833 #line 5834"configure"6009 #line 6010 "configure" 5834 6010 #include "confdefs.h" 5835 6011 /* Override any gcc2 internal prototype to avoid an error. */ … … 5842 6018 ; return 0; } 5843 6019 EOF 5844 if { (eval echo configure: 5845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6020 if { (eval echo configure:6021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5845 6021 rm -rf conftest* 5846 6022 eval "ac_cv_lib_$ac_lib_var=yes" … … 5863 6039 5864 6040 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 5865 echo "configure: 5866: checking for main in -lm" >&56041 echo "configure:6042: checking for main in -lm" >&5 5866 6042 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 5867 6043 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5871 6047 LIBS="-lm $LIBS" 5872 6048 cat > conftest.$ac_ext <<EOF 5873 #line 5874"configure"6049 #line 6050 "configure" 5874 6050 #include "confdefs.h" 5875 6051 … … 5878 6054 ; return 0; } 5879 6055 EOF 5880 if { (eval echo configure: 5881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6056 if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5881 6057 rm -rf conftest* 5882 6058 eval "ac_cv_lib_$ac_lib_var=yes" … … 5901 6077 *) 5902 6078 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 5903 echo "configure: 5904: checking for main in -lm" >&56079 echo "configure:6080: checking for main in -lm" >&5 5904 6080 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 5905 6081 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5909 6085 LIBS="-lm $LIBS" 5910 6086 cat > conftest.$ac_ext <<EOF 5911 #line 5912"configure"6087 #line 6088 "configure" 5912 6088 #include "confdefs.h" 5913 6089 … … 5916 6092 ; return 0; } 5917 6093 EOF 5918 if { (eval echo configure: 5919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6094 if { (eval echo configure:6095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5919 6095 rm -rf conftest* 5920 6096 eval "ac_cv_lib_$ac_lib_var=yes" … … 5947 6123 # working properly! 5948 6124 echo $ac_n "checking for working assert macro""... $ac_c" 1>&6 5949 echo "configure: 5950: checking for working assert macro" >&56125 echo "configure:6126: checking for working assert macro" >&5 5950 6126 if eval "test \"`echo '$''{'gas_cv_assert_ok'+set}'`\" = set"; then 5951 6127 echo $ac_n "(cached) $ac_c" 1>&6 5952 6128 else 5953 6129 cat > conftest.$ac_ext <<EOF 5954 #line 5955"configure"6130 #line 6131 "configure" 5955 6131 #include "confdefs.h" 5956 6132 #include <assert.h> … … 5968 6144 ; return 0; } 5969 6145 EOF 5970 if { (eval echo configure: 5971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6146 if { (eval echo configure:6147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5971 6147 rm -rf conftest* 5972 6148 gas_cv_assert_ok=yes … … 6009 6185 6010 6186 echo $ac_n "checking whether declaration is required for strstr""... $ac_c" 1>&6 6011 echo "configure:6 012: checking whether declaration is required for strstr" >&56187 echo "configure:6188: checking whether declaration is required for strstr" >&5 6012 6188 if eval "test \"`echo '$''{'gas_cv_decl_needed_strstr'+set}'`\" = set"; then 6013 6189 echo $ac_n "(cached) $ac_c" 1>&6 6014 6190 else 6015 6191 cat > conftest.$ac_ext <<EOF 6016 #line 6 017"configure"6192 #line 6193 "configure" 6017 6193 #include "confdefs.h" 6018 6194 $gas_test_headers … … 6025 6201 ; return 0; } 6026 6202 EOF 6027 if { (eval echo configure:6 028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6203 if { (eval echo configure:6204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6028 6204 rm -rf conftest* 6029 6205 gas_cv_decl_needed_strstr=no … … 6046 6222 6047 6223 echo $ac_n "checking whether declaration is required for malloc""... $ac_c" 1>&6 6048 echo "configure:6 049: checking whether declaration is required for malloc" >&56224 echo "configure:6225: checking whether declaration is required for malloc" >&5 6049 6225 if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then 6050 6226 echo $ac_n "(cached) $ac_c" 1>&6 6051 6227 else 6052 6228 cat > conftest.$ac_ext <<EOF 6053 #line 6 054"configure"6229 #line 6230 "configure" 6054 6230 #include "confdefs.h" 6055 6231 $gas_test_headers … … 6062 6238 ; return 0; } 6063 6239 EOF 6064 if { (eval echo configure:6 065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6240 if { (eval echo configure:6241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6065 6241 rm -rf conftest* 6066 6242 gas_cv_decl_needed_malloc=no … … 6083 6259 6084 6260 echo $ac_n "checking whether declaration is required for free""... $ac_c" 1>&6 6085 echo "configure:6 086: checking whether declaration is required for free" >&56261 echo "configure:6262: checking whether declaration is required for free" >&5 6086 6262 if eval "test \"`echo '$''{'gas_cv_decl_needed_free'+set}'`\" = set"; then 6087 6263 echo $ac_n "(cached) $ac_c" 1>&6 6088 6264 else 6089 6265 cat > conftest.$ac_ext <<EOF 6090 #line 6 091"configure"6266 #line 6267 "configure" 6091 6267 #include "confdefs.h" 6092 6268 $gas_test_headers … … 6099 6275 ; return 0; } 6100 6276 EOF 6101 if { (eval echo configure:6 102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6277 if { (eval echo configure:6278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6102 6278 rm -rf conftest* 6103 6279 gas_cv_decl_needed_free=no … … 6120 6296 6121 6297 echo $ac_n "checking whether declaration is required for sbrk""... $ac_c" 1>&6 6122 echo "configure:6 123: checking whether declaration is required for sbrk" >&56298 echo "configure:6299: checking whether declaration is required for sbrk" >&5 6123 6299 if eval "test \"`echo '$''{'gas_cv_decl_needed_sbrk'+set}'`\" = set"; then 6124 6300 echo $ac_n "(cached) $ac_c" 1>&6 6125 6301 else 6126 6302 cat > conftest.$ac_ext <<EOF 6127 #line 6 128"configure"6303 #line 6304 "configure" 6128 6304 #include "confdefs.h" 6129 6305 $gas_test_headers … … 6136 6312 ; return 0; } 6137 6313 EOF 6138 if { (eval echo configure:6 139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6314 if { (eval echo configure:6315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6139 6315 rm -rf conftest* 6140 6316 gas_cv_decl_needed_sbrk=no … … 6157 6333 6158 6334 echo $ac_n "checking whether declaration is required for environ""... $ac_c" 1>&6 6159 echo "configure:6 160: checking whether declaration is required for environ" >&56335 echo "configure:6336: checking whether declaration is required for environ" >&5 6160 6336 if eval "test \"`echo '$''{'gas_cv_decl_needed_environ'+set}'`\" = set"; then 6161 6337 echo $ac_n "(cached) $ac_c" 1>&6 6162 6338 else 6163 6339 cat > conftest.$ac_ext <<EOF 6164 #line 6 165"configure"6340 #line 6341 "configure" 6165 6341 #include "confdefs.h" 6166 6342 $gas_test_headers … … 6173 6349 ; return 0; } 6174 6350 EOF 6175 if { (eval echo configure:6 176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6351 if { (eval echo configure:6352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6176 6352 rm -rf conftest* 6177 6353 gas_cv_decl_needed_environ=no … … 6197 6373 6198 6374 echo $ac_n "checking whether declaration is required for errno""... $ac_c" 1>&6 6199 echo "configure:6 200: checking whether declaration is required for errno" >&56375 echo "configure:6376: checking whether declaration is required for errno" >&5 6200 6376 if eval "test \"`echo '$''{'gas_cv_decl_needed_errno'+set}'`\" = set"; then 6201 6377 echo $ac_n "(cached) $ac_c" 1>&6 6202 6378 else 6203 6379 cat > conftest.$ac_ext <<EOF 6204 #line 6 205"configure"6380 #line 6381 "configure" 6205 6381 #include "confdefs.h" 6206 6382 … … 6217 6393 ; return 0; } 6218 6394 EOF 6219 if { (eval echo configure:6 220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6395 if { (eval echo configure:6396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6220 6396 rm -rf conftest* 6221 6397 gas_cv_decl_needed_errno=no … … 6422 6598 s%@BFDLIB@%$BFDLIB%g 6423 6599 s%@OPCODES_LIB@%$OPCODES_LIB%g 6600 s%@BFDVER_H@%$BFDVER_H%g 6424 6601 s%@ALL_OBJ_DEPS@%$ALL_OBJ_DEPS%g 6425 6602 s%@YACC@%$YACC%g -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.