Changeset 1391 for branches/GNU/src/gcc/libffi/configure
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (21 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 dir.info 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libffi/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 634 634 if test "${srcdir}" = "."; then 635 635 if test "${with_target_subdir}" != "."; then 636 libffi_basedir="${ srcdir}/${with_multisrctop}.."636 libffi_basedir="${with_multisrctop}../" 637 637 else 638 libffi_basedir="${ srcdir}/${with_multisrctop}"638 libffi_basedir="${with_multisrctop}" 639 639 fi 640 640 else 641 libffi_basedir="${srcdir}" 642 fi 643 641 libffi_basedir= 642 fi 644 643 645 644 ac_aux_dir= 646 for ac_dir in $ srcdir $srcdir/.. $srcdir/../..; do645 for ac_dir in ${libffi_basedir}.. $srcdir/${libffi_basedir}..; do 647 646 if test -f $ac_dir/install-sh; then 648 647 ac_aux_dir=$ac_dir … … 656 655 done 657 656 if test -z "$ac_aux_dir"; then 658 { echo "configure: error: can not find install-sh or install.sh in $ srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }657 { echo "configure: error: can not find install-sh or install.sh in ${libffi_basedir}.. $srcdir/${libffi_basedir}.." 1>&2; exit 1; } 659 658 fi 660 659 ac_config_guess=$ac_aux_dir/config.guess 661 660 ac_config_sub=$ac_aux_dir/config.sub 662 661 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 662 663 663 664 664 … … 1239 1239 1240 1240 hpux10.20*|hpux11*) 1241 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1242 lt_cv_file_magic_cmd=/usr/bin/file 1243 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1241 case $host_cpu in 1242 hppa*) 1243 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1244 lt_cv_file_magic_cmd=/usr/bin/file 1245 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1246 ;; 1247 ia64*) 1248 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1249 lt_cv_file_magic_cmd=/usr/bin/file 1250 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1251 ;; 1252 esac 1244 1253 ;; 1245 1254 … … 1331 1340 1332 1341 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1333 echo "configure:13 34: checking for object suffix" >&51342 echo "configure:1343: checking for object suffix" >&5 1334 1343 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1335 1344 echo $ac_n "(cached) $ac_c" 1>&6 … … 1337 1346 rm -f conftest* 1338 1347 echo 'int i = 1;' > conftest.$ac_ext 1339 if { (eval echo configure:134 0: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1348 if { (eval echo configure:1349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1340 1349 for ac_file in conftest.*; do 1341 1350 case $ac_file in … … 1357 1366 1358 1367 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1359 echo "configure:136 0: checking for executable suffix" >&51368 echo "configure:1369: checking for executable suffix" >&5 1360 1369 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1361 1370 echo $ac_n "(cached) $ac_c" 1>&6 … … 1367 1376 echo 'int main () { return 0; }' > conftest.$ac_ext 1368 1377 ac_cv_exeext= 1369 if { (eval echo configure:137 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1378 if { (eval echo configure:1379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1370 1379 for file in conftest.*; do 1371 1380 case $file in … … 1400 1409 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1401 1410 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1402 echo "configure:14 03: checking for ${ac_tool_prefix}file" >&51411 echo "configure:1412: checking for ${ac_tool_prefix}file" >&5 1403 1412 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1404 1413 echo $ac_n "(cached) $ac_c" 1>&6 … … 1462 1471 if test -n "$ac_tool_prefix"; then 1463 1472 echo $ac_n "checking for file""... $ac_c" 1>&6 1464 echo "configure:14 65: checking for file" >&51473 echo "configure:1474: checking for file" >&5 1465 1474 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1466 1475 echo $ac_n "(cached) $ac_c" 1>&6 … … 1533 1542 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1534 1543 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1535 echo "configure:15 36: checking for $ac_word" >&51544 echo "configure:1545: checking for $ac_word" >&5 1536 1545 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1537 1546 echo $ac_n "(cached) $ac_c" 1>&6 … … 1565 1574 set dummy ranlib; ac_word=$2 1566 1575 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1567 echo "configure:15 68: checking for $ac_word" >&51576 echo "configure:1577: checking for $ac_word" >&5 1568 1577 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1569 1578 echo $ac_n "(cached) $ac_c" 1>&6 … … 1600 1609 set dummy ${ac_tool_prefix}strip; ac_word=$2 1601 1610 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1602 echo "configure:16 03: checking for $ac_word" >&51611 echo "configure:1612: checking for $ac_word" >&5 1603 1612 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1604 1613 echo $ac_n "(cached) $ac_c" 1>&6 … … 1632 1641 set dummy strip; ac_word=$2 1633 1642 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1634 echo "configure:16 35: checking for $ac_word" >&51643 echo "configure:1644: checking for $ac_word" >&5 1635 1644 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1636 1645 echo $ac_n "(cached) $ac_c" 1>&6 … … 1699 1708 *-*-irix6*) 1700 1709 # Find out which ABI we are using. 1701 echo '#line 1702 "configure"' > conftest.$ac_ext 1702 if { (eval echo configure:1703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1710 echo '#line 1711 "configure"' > conftest.$ac_ext 1711 if { (eval echo configure:1712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1712 if test "$lt_cv_prog_gnu_ld" = yes; then 1713 case `/usr/bin/file conftest.$ac_objext` in 1714 *32-bit*) 1715 LD="${LD-ld} -melf32bsmip" 1716 ;; 1717 *N32*) 1718 LD="${LD-ld} -melf32bmipn32" 1719 ;; 1720 *64-bit*) 1721 LD="${LD-ld} -melf64bmip" 1722 ;; 1723 esac 1724 else 1703 1725 case `/usr/bin/file conftest.$ac_objext` in 1704 1726 *32-bit*) … … 1712 1734 ;; 1713 1735 esac 1736 fi 1737 fi 1738 rm -rf conftest* 1739 ;; 1740 1741 ia64-*-hpux*) 1742 # Find out which ABI we are using. 1743 echo 'int i;' > conftest.$ac_ext 1744 if { (eval echo configure:1745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1745 case "`/usr/bin/file conftest.o`" in 1746 *ELF-32*) 1747 HPUX_IA64_MODE="32" 1748 ;; 1749 *ELF-64*) 1750 HPUX_IA64_MODE="64" 1751 ;; 1752 esac 1753 fi 1754 rm -rf conftest* 1755 ;; 1756 1757 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 1758 # Find out which ABI we are using. 1759 echo 'int i;' > conftest.$ac_ext 1760 if { (eval echo configure:1761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1761 case "`/usr/bin/file conftest.o`" in 1762 *32-bit*) 1763 case $host in 1764 x86_64-*linux*) 1765 LD="${LD-ld} -m elf_i386" 1766 ;; 1767 ppc64-*linux*|powerpc64-*linux*) 1768 LD="${LD-ld} -m elf32ppclinux" 1769 ;; 1770 s390x-*linux*) 1771 LD="${LD-ld} -m elf_s390" 1772 ;; 1773 sparc64-*linux*) 1774 LD="${LD-ld} -m elf32_sparc" 1775 ;; 1776 esac 1777 ;; 1778 *64-bit*) 1779 case $host in 1780 x86_64-*linux*) 1781 LD="${LD-ld} -m elf_x86_64" 1782 ;; 1783 ppc*-*linux*|powerpc*-*linux*) 1784 LD="${LD-ld} -m elf64ppc" 1785 ;; 1786 s390*-*linux*) 1787 LD="${LD-ld} -m elf64_s390" 1788 ;; 1789 sparc*-*linux*) 1790 LD="${LD-ld} -m elf64_sparc" 1791 ;; 1792 esac 1793 ;; 1794 esac 1714 1795 fi 1715 1796 rm -rf conftest* … … 1721 1802 CFLAGS="$CFLAGS -belf" 1722 1803 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 1723 echo "configure:1 724: checking whether the C compiler needs -belf" >&51804 echo "configure:1805: checking whether the C compiler needs -belf" >&5 1724 1805 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 1725 1806 echo $ac_n "(cached) $ac_c" 1>&6 … … 1734 1815 1735 1816 cat > conftest.$ac_ext <<EOF 1736 #line 1 737"configure"1817 #line 1818 "configure" 1737 1818 #include "confdefs.h" 1738 1819 … … 1741 1822 ; return 0; } 1742 1823 EOF 1743 if { (eval echo configure:1 744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1824 if { (eval echo configure:1825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1744 1825 rm -rf conftest* 1745 1826 lt_cv_cc_needs_belf=yes … … 1869 1950 # ./install, which can be erroneously created by make from ./install.sh. 1870 1951 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1871 echo "configure:1 872: checking for a BSD compatible install" >&51952 echo "configure:1953: checking for a BSD compatible install" >&5 1872 1953 if test -z "$INSTALL"; then 1873 1954 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1922 2003 1923 2004 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 1924 echo "configure: 1925: checking whether build environment is sane" >&52005 echo "configure:2006: checking whether build environment is sane" >&5 1925 2006 # Just in case 1926 2007 sleep 1 … … 1979 2060 1980 2061 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1981 echo "configure: 1982: checking whether ${MAKE-make} sets \${MAKE}" >&52062 echo "configure:2063: checking whether ${MAKE-make} sets \${MAKE}" >&5 1982 2063 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1983 2064 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 2018 2099 missing_dir=`cd $ac_aux_dir && pwd` 2019 2100 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 2020 echo "configure:2 021: checking for working aclocal" >&52101 echo "configure:2102: checking for working aclocal" >&5 2021 2102 # Run test in a subshell; some versions of sh will print an error if 2022 2103 # an executable is not found, even if stderr is redirected. … … 2031 2112 2032 2113 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 2033 echo "configure:2 034: checking for working autoconf" >&52114 echo "configure:2115: checking for working autoconf" >&5 2034 2115 # Run test in a subshell; some versions of sh will print an error if 2035 2116 # an executable is not found, even if stderr is redirected. … … 2044 2125 2045 2126 echo $ac_n "checking for working automake""... $ac_c" 1>&6 2046 echo "configure:2 047: checking for working automake" >&52127 echo "configure:2128: checking for working automake" >&5 2047 2128 # Run test in a subshell; some versions of sh will print an error if 2048 2129 # an executable is not found, even if stderr is redirected. … … 2057 2138 2058 2139 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 2059 echo "configure:2 060: checking for working autoheader" >&52140 echo "configure:2141: checking for working autoheader" >&5 2060 2141 # Run test in a subshell; some versions of sh will print an error if 2061 2142 # an executable is not found, even if stderr is redirected. … … 2070 2151 2071 2152 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 2072 echo "configure:2 073: checking for working makeinfo" >&52153 echo "configure:2154: checking for working makeinfo" >&5 2073 2154 # Run test in a subshell; some versions of sh will print an error if 2074 2155 # an executable is not found, even if stderr is redirected. … … 2087 2168 2088 2169 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 2089 echo "configure:2 090: checking for executable suffix" >&52170 echo "configure:2171: checking for executable suffix" >&5 2090 2171 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 2091 2172 echo $ac_n "(cached) $ac_c" 1>&6 … … 2097 2178 echo 'int main () { return 0; }' > conftest.$ac_ext 2098 2179 ac_cv_exeext= 2099 if { (eval echo configure:21 00: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2180 if { (eval echo configure:2181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2100 2181 for file in conftest.*; do 2101 2182 case $file in … … 2118 2199 2119 2200 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 2120 echo "configure:2 121: checking whether to enable maintainer-specific portions of Makefiles" >&52201 echo "configure:2202: checking whether to enable maintainer-specific portions of Makefiles" >&5 2121 2202 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 2122 2203 if test "${enable_maintainer_mode+set}" = set; then … … 2144 2225 set dummy gcc; ac_word=$2 2145 2226 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2146 echo "configure:2 147: checking for $ac_word" >&52227 echo "configure:2228: checking for $ac_word" >&5 2147 2228 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2148 2229 echo $ac_n "(cached) $ac_c" 1>&6 … … 2174 2255 set dummy cc; ac_word=$2 2175 2256 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2176 echo "configure:2 177: checking for $ac_word" >&52257 echo "configure:2258: checking for $ac_word" >&5 2177 2258 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2178 2259 echo $ac_n "(cached) $ac_c" 1>&6 … … 2225 2306 set dummy cl; ac_word=$2 2226 2307 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2227 echo "configure:2 228: checking for $ac_word" >&52308 echo "configure:2309: checking for $ac_word" >&5 2228 2309 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2229 2310 echo $ac_n "(cached) $ac_c" 1>&6 … … 2257 2338 2258 2339 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2259 echo "configure:2 260: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52340 echo "configure:2341: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2260 2341 2261 2342 ac_ext=c … … 2268 2349 cat > conftest.$ac_ext << EOF 2269 2350 2270 #line 2 271"configure"2351 #line 2352 "configure" 2271 2352 #include "confdefs.h" 2272 2353 2273 2354 main(){return(0);} 2274 2355 EOF 2275 if { (eval echo configure:2 276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2356 if { (eval echo configure:2357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2276 2357 ac_cv_prog_cc_works=yes 2277 2358 # If we can't run a trivial program, we are probably using a cross compiler. … … 2299 2380 fi 2300 2381 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2301 echo "configure:23 02: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52382 echo "configure:2383: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2302 2383 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2303 2384 cross_compiling=$ac_cv_prog_cc_cross 2304 2385 2305 2386 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2306 echo "configure:23 07: checking whether we are using GNU C" >&52387 echo "configure:2388: checking whether we are using GNU C" >&5 2307 2388 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2308 2389 echo $ac_n "(cached) $ac_c" 1>&6 … … 2313 2394 #endif 2314 2395 EOF 2315 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:23 16: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2396 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2316 2397 ac_cv_prog_gcc=yes 2317 2398 else … … 2332 2413 CFLAGS= 2333 2414 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2334 echo "configure:2 335: checking whether ${CC-cc} accepts -g" >&52415 echo "configure:2416: checking whether ${CC-cc} accepts -g" >&5 2335 2416 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2336 2417 echo $ac_n "(cached) $ac_c" 1>&6 … … 2373 2454 mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; TARGETDIR=mips;; 2374 2455 i*86-*-linux*) TARGET=X86; TARGETDIR=x86;; 2456 i*86-*-sco3.2v5*) TARGET=X86; TARGETDIR=x86;; 2375 2457 i*86-*-solaris*) TARGET=X86; TARGETDIR=x86;; 2376 2458 i*86-*-beos*) TARGET=X86; TARGETDIR=x86;; … … 2382 2464 sparc-sun-4*) TARGET=SPARC; TARGETDIR=sparc;; 2383 2465 sparc*-sun-*) TARGET=SPARC; TARGETDIR=sparc;; 2384 sparc-*-linux* ) TARGET=SPARC; TARGETDIR=sparc;;2385 sparc64-*-linux* ) TARGET=SPARC; TARGETDIR=sparc;;2386 alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd* ) TARGET=ALPHA; TARGETDIR=alpha;;2466 sparc-*-linux* | sparc-*-netbsdelf*) TARGET=SPARC; TARGETDIR=sparc;; 2467 sparc64-*-linux* | sparc64-*-netbsd*) TARGET=SPARC; TARGETDIR=sparc;; 2468 alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd* | alpha*-*-netbsd*) TARGET=ALPHA; TARGETDIR=alpha;; 2387 2469 ia64*-*-*) TARGET=IA64; TARGETDIR=ia64;; 2388 2470 m68k-*-linux*) TARGET=M68K; TARGETDIR=m68k;; 2471 mips64*-*);; 2472 mips*-*-linux*) TARGET=MIPS_LINUX; TARGETDIR=mips;; 2389 2473 powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; TARGETDIR=powerpc;; 2390 2474 powerpc-*-beos*) TARGET=POWERPC; TARGETDIR=powerpc;; … … 2393 2477 rs6000-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc;; 2394 2478 arm*-*-linux-*) TARGET=ARM; TARGETDIR=arm;; 2479 s390-*-linux-*) TARGET=S390; TARGETDIR=s390;; 2480 s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;; 2481 x86_64-*-linux*) TARGET=X86_64; TARGETDIR=x86;; 2482 sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;; 2395 2483 esac 2396 2484 … … 2419 2507 2420 2508 2509 if test x$TARGET = xMIPS_LINUX; then 2510 MIPS_LINUX_TRUE= 2511 MIPS_LINUX_FALSE='#' 2512 else 2513 MIPS_LINUX_TRUE='#' 2514 MIPS_LINUX_FALSE= 2515 fi 2516 2517 2421 2518 if test x$TARGET = xSPARC; then 2422 2519 SPARC_TRUE= … … 2508 2605 fi 2509 2606 2607 2608 if test x$TARGET = xS390; then 2609 S390_TRUE= 2610 S390_FALSE='#' 2611 else 2612 S390_TRUE='#' 2613 S390_FALSE= 2614 fi 2615 2616 2617 if test x$TARGET = xX86_64; then 2618 X86_64_TRUE= 2619 X86_64_FALSE='#' 2620 else 2621 X86_64_TRUE='#' 2622 X86_64_FALSE= 2623 fi 2624 2625 2626 if test x$TARGET = xSH; then 2627 SH_TRUE= 2628 SH_FALSE='#' 2629 else 2630 SH_TRUE='#' 2631 SH_FALSE= 2632 fi 2633 2634 if test x$TARGET = xMIPS_LINUX; then 2635 TARGET=MIPS 2636 fi 2637 2510 2638 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2511 echo "configure:2 512: checking how to run the C preprocessor" >&52639 echo "configure:2640: checking how to run the C preprocessor" >&5 2512 2640 # On Suns, sometimes $CPP names a directory. 2513 2641 if test -n "$CPP" && test -d "$CPP"; then … … 2524 2652 # not just through cpp. 2525 2653 cat > conftest.$ac_ext <<EOF 2526 #line 2 527"configure"2654 #line 2655 "configure" 2527 2655 #include "confdefs.h" 2528 2656 #include <assert.h> … … 2530 2658 EOF 2531 2659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2532 { (eval echo configure:2 533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2660 { (eval echo configure:2661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2533 2661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2534 2662 if test -z "$ac_err"; then … … 2541 2669 CPP="${CC-cc} -E -traditional-cpp" 2542 2670 cat > conftest.$ac_ext <<EOF 2543 #line 2 544"configure"2671 #line 2672 "configure" 2544 2672 #include "confdefs.h" 2545 2673 #include <assert.h> … … 2547 2675 EOF 2548 2676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2549 { (eval echo configure:2 550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2677 { (eval echo configure:2678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2550 2678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2551 2679 if test -z "$ac_err"; then … … 2558 2686 CPP="${CC-cc} -nologo -E" 2559 2687 cat > conftest.$ac_ext <<EOF 2560 #line 2 561"configure"2688 #line 2689 "configure" 2561 2689 #include "confdefs.h" 2562 2690 #include <assert.h> … … 2564 2692 EOF 2565 2693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2566 { (eval echo configure:2 567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2694 { (eval echo configure:2695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2567 2695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2568 2696 if test -z "$ac_err"; then … … 2589 2717 2590 2718 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2591 echo "configure:2 592: checking for ANSI C header files" >&52719 echo "configure:2720: checking for ANSI C header files" >&5 2592 2720 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2593 2721 echo $ac_n "(cached) $ac_c" 1>&6 2594 2722 else 2595 2723 cat > conftest.$ac_ext <<EOF 2596 #line 2 597"configure"2724 #line 2725 "configure" 2597 2725 #include "confdefs.h" 2598 2726 #include <stdlib.h> … … 2602 2730 EOF 2603 2731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2604 { (eval echo configure:2 605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2732 { (eval echo configure:2733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2605 2733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2606 2734 if test -z "$ac_err"; then … … 2619 2747 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2620 2748 cat > conftest.$ac_ext <<EOF 2621 #line 2 622"configure"2749 #line 2750 "configure" 2622 2750 #include "confdefs.h" 2623 2751 #include <string.h> … … 2637 2765 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2638 2766 cat > conftest.$ac_ext <<EOF 2639 #line 2 640"configure"2767 #line 2768 "configure" 2640 2768 #include "confdefs.h" 2641 2769 #include <stdlib.h> … … 2658 2786 else 2659 2787 cat > conftest.$ac_ext <<EOF 2660 #line 2 661"configure"2788 #line 2789 "configure" 2661 2789 #include "confdefs.h" 2662 2790 #include <ctype.h> … … 2669 2797 2670 2798 EOF 2671 if { (eval echo configure:2 672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2799 if { (eval echo configure:2800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2672 2800 then 2673 2801 : … … 2695 2823 do 2696 2824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2697 echo "configure:2 698: checking for $ac_func" >&52825 echo "configure:2826: checking for $ac_func" >&5 2698 2826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2699 2827 echo $ac_n "(cached) $ac_c" 1>&6 2700 2828 else 2701 2829 cat > conftest.$ac_ext <<EOF 2702 #line 2 703"configure"2830 #line 2831 "configure" 2703 2831 #include "confdefs.h" 2704 2832 /* System header to define __stub macros and hopefully few prototypes, … … 2723 2851 ; return 0; } 2724 2852 EOF 2725 if { (eval echo configure:2 726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2853 if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2726 2854 rm -rf conftest* 2727 2855 eval "ac_cv_func_$ac_func=yes" … … 2750 2878 # for constant arguments. Useless! 2751 2879 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2752 echo "configure:2 753: checking for working alloca.h" >&52880 echo "configure:2881: checking for working alloca.h" >&5 2753 2881 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2754 2882 echo $ac_n "(cached) $ac_c" 1>&6 2755 2883 else 2756 2884 cat > conftest.$ac_ext <<EOF 2757 #line 2 758"configure"2885 #line 2886 "configure" 2758 2886 #include "confdefs.h" 2759 2887 #include <alloca.h> … … 2762 2890 ; return 0; } 2763 2891 EOF 2764 if { (eval echo configure:2 765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2892 if { (eval echo configure:2893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2765 2893 rm -rf conftest* 2766 2894 ac_cv_header_alloca_h=yes … … 2783 2911 2784 2912 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2785 echo "configure:2 786: checking for alloca" >&52913 echo "configure:2914: checking for alloca" >&5 2786 2914 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2787 2915 echo $ac_n "(cached) $ac_c" 1>&6 2788 2916 else 2789 2917 cat > conftest.$ac_ext <<EOF 2790 #line 2 791"configure"2918 #line 2919 "configure" 2791 2919 #include "confdefs.h" 2792 2920 … … 2816 2944 ; return 0; } 2817 2945 EOF 2818 if { (eval echo configure:2 819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2946 if { (eval echo configure:2947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2819 2947 rm -rf conftest* 2820 2948 ac_cv_func_alloca_works=yes … … 2848 2976 2849 2977 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2850 echo "configure:2 851: checking whether alloca needs Cray hooks" >&52978 echo "configure:2979: checking whether alloca needs Cray hooks" >&5 2851 2979 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2852 2980 echo $ac_n "(cached) $ac_c" 1>&6 2853 2981 else 2854 2982 cat > conftest.$ac_ext <<EOF 2855 #line 2 856"configure"2983 #line 2984 "configure" 2856 2984 #include "confdefs.h" 2857 2985 #if defined(CRAY) && ! defined(CRAY2) … … 2878 3006 for ac_func in _getb67 GETB67 getb67; do 2879 3007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2880 echo "configure: 2881: checking for $ac_func" >&53008 echo "configure:3009: checking for $ac_func" >&5 2881 3009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2882 3010 echo $ac_n "(cached) $ac_c" 1>&6 2883 3011 else 2884 3012 cat > conftest.$ac_ext <<EOF 2885 #line 2886"configure"3013 #line 3014 "configure" 2886 3014 #include "confdefs.h" 2887 3015 /* System header to define __stub macros and hopefully few prototypes, … … 2906 3034 ; return 0; } 2907 3035 EOF 2908 if { (eval echo configure: 2909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3036 if { (eval echo configure:3037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2909 3037 rm -rf conftest* 2910 3038 eval "ac_cv_func_$ac_func=yes" … … 2933 3061 2934 3062 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2935 echo "configure: 2936: checking stack direction for C alloca" >&53063 echo "configure:3064: checking stack direction for C alloca" >&5 2936 3064 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2937 3065 echo $ac_n "(cached) $ac_c" 1>&6 … … 2941 3069 else 2942 3070 cat > conftest.$ac_ext <<EOF 2943 #line 2944"configure"3071 #line 3072 "configure" 2944 3072 #include "confdefs.h" 2945 3073 find_stack_direction () … … 2960 3088 } 2961 3089 EOF 2962 if { (eval echo configure: 2963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3090 if { (eval echo configure:3091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2963 3091 then 2964 3092 ac_cv_c_stack_direction=1 … … 2983 3111 2984 3112 echo $ac_n "checking size of short""... $ac_c" 1>&6 2985 echo "configure: 2986: checking size of short" >&53113 echo "configure:3114: checking size of short" >&5 2986 3114 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 2987 3115 echo $ac_n "(cached) $ac_c" 1>&6 … … 2989 3117 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 2990 3118 cat > conftest.$ac_ext <<EOF 2991 #line 2992"configure"3119 #line 3120 "configure" 2992 3120 #include "confdefs.h" 2993 3121 #include "confdefs.h" … … 2999 3127 ; return 0; } 3000 3128 EOF 3001 if { (eval echo configure:3 002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3129 if { (eval echo configure:3130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3002 3130 rm -rf conftest* 3003 3131 ac_cv_sizeof_short=$ac_size … … 3022 3150 3023 3151 echo $ac_n "checking size of int""... $ac_c" 1>&6 3024 echo "configure:3 025: checking size of int" >&53152 echo "configure:3153: checking size of int" >&5 3025 3153 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3026 3154 echo $ac_n "(cached) $ac_c" 1>&6 … … 3028 3156 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3029 3157 cat > conftest.$ac_ext <<EOF 3030 #line 3 031"configure"3158 #line 3159 "configure" 3031 3159 #include "confdefs.h" 3032 3160 #include "confdefs.h" … … 3038 3166 ; return 0; } 3039 3167 EOF 3040 if { (eval echo configure:3 041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3168 if { (eval echo configure:3169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3041 3169 rm -rf conftest* 3042 3170 ac_cv_sizeof_int=$ac_size … … 3061 3189 3062 3190 echo $ac_n "checking size of long""... $ac_c" 1>&6 3063 echo "configure:3 064: checking size of long" >&53191 echo "configure:3192: checking size of long" >&5 3064 3192 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3065 3193 echo $ac_n "(cached) $ac_c" 1>&6 … … 3067 3195 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3068 3196 cat > conftest.$ac_ext <<EOF 3069 #line 3 070"configure"3197 #line 3198 "configure" 3070 3198 #include "confdefs.h" 3071 3199 #include "confdefs.h" … … 3077 3205 ; return 0; } 3078 3206 EOF 3079 if { (eval echo configure:3 080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3207 if { (eval echo configure:3208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3080 3208 rm -rf conftest* 3081 3209 ac_cv_sizeof_long=$ac_size … … 3100 3228 3101 3229 echo $ac_n "checking size of long long""... $ac_c" 1>&6 3102 echo "configure:3 103: checking size of long long" >&53230 echo "configure:3231: checking size of long long" >&5 3103 3231 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then 3104 3232 echo $ac_n "(cached) $ac_c" 1>&6 … … 3106 3234 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3107 3235 cat > conftest.$ac_ext <<EOF 3108 #line 3 109"configure"3236 #line 3237 "configure" 3109 3237 #include "confdefs.h" 3110 3238 #include "confdefs.h" … … 3116 3244 ; return 0; } 3117 3245 EOF 3118 if { (eval echo configure:3 119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3246 if { (eval echo configure:3247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3119 3247 rm -rf conftest* 3120 3248 ac_cv_sizeof_long_long=$ac_size … … 3139 3267 3140 3268 echo $ac_n "checking size of float""... $ac_c" 1>&6 3141 echo "configure:3 142: checking size of float" >&53269 echo "configure:3270: checking size of float" >&5 3142 3270 if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then 3143 3271 echo $ac_n "(cached) $ac_c" 1>&6 … … 3145 3273 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3146 3274 cat > conftest.$ac_ext <<EOF 3147 #line 3 148"configure"3275 #line 3276 "configure" 3148 3276 #include "confdefs.h" 3149 3277 #include "confdefs.h" … … 3155 3283 ; return 0; } 3156 3284 EOF 3157 if { (eval echo configure:3 158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3285 if { (eval echo configure:3286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3158 3286 rm -rf conftest* 3159 3287 ac_cv_sizeof_float=$ac_size … … 3178 3306 3179 3307 echo $ac_n "checking size of double""... $ac_c" 1>&6 3180 echo "configure:3 181: checking size of double" >&53308 echo "configure:3309: checking size of double" >&5 3181 3309 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3182 3310 echo $ac_n "(cached) $ac_c" 1>&6 … … 3184 3312 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3185 3313 cat > conftest.$ac_ext <<EOF 3186 #line 3 187"configure"3314 #line 3315 "configure" 3187 3315 #include "confdefs.h" 3188 3316 #include "confdefs.h" … … 3194 3322 ; return 0; } 3195 3323 EOF 3196 if { (eval echo configure:3 197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3324 if { (eval echo configure:3325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3197 3325 rm -rf conftest* 3198 3326 ac_cv_sizeof_double=$ac_size … … 3217 3345 3218 3346 echo $ac_n "checking size of long double""... $ac_c" 1>&6 3219 echo "configure:3 220: checking size of long double" >&53347 echo "configure:3348: checking size of long double" >&5 3220 3348 if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then 3221 3349 echo $ac_n "(cached) $ac_c" 1>&6 … … 3223 3351 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3224 3352 cat > conftest.$ac_ext <<EOF 3225 #line 3 226"configure"3353 #line 3354 "configure" 3226 3354 #include "confdefs.h" 3227 3355 #include "confdefs.h" … … 3233 3361 ; return 0; } 3234 3362 EOF 3235 if { (eval echo configure:3 236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3363 if { (eval echo configure:3364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3236 3364 rm -rf conftest* 3237 3365 ac_cv_sizeof_long_double=$ac_size … … 3257 3385 3258 3386 echo $ac_n "checking size of void *""... $ac_c" 1>&6 3259 echo "configure:3 260: checking size of void *" >&53387 echo "configure:3388: checking size of void *" >&5 3260 3388 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then 3261 3389 echo $ac_n "(cached) $ac_c" 1>&6 … … 3263 3391 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3264 3392 cat > conftest.$ac_ext <<EOF 3265 #line 3 266"configure"3393 #line 3394 "configure" 3266 3394 #include "confdefs.h" 3267 3395 #include "confdefs.h" … … 3273 3401 ; return 0; } 3274 3402 EOF 3275 if { (eval echo configure:3 276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3403 if { (eval echo configure:3404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3276 3404 rm -rf conftest* 3277 3405 ac_cv_sizeof_void_p=$ac_size … … 3296 3424 3297 3425 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3298 echo "configure:3 299: checking whether byte ordering is bigendian" >&53426 echo "configure:3427: checking whether byte ordering is bigendian" >&5 3299 3427 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3300 3428 echo $ac_n "(cached) $ac_c" 1>&6 … … 3303 3431 # See if sys/param.h defines the BYTE_ORDER macro. 3304 3432 cat > conftest.$ac_ext <<EOF 3305 #line 3 306"configure"3433 #line 3434 "configure" 3306 3434 #include "confdefs.h" 3307 3435 #include <sys/types.h> … … 3314 3442 ; return 0; } 3315 3443 EOF 3316 if { (eval echo configure:3 317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3444 if { (eval echo configure:3445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3317 3445 rm -rf conftest* 3318 3446 # It does; now see whether it defined to BIG_ENDIAN or not. 3319 3447 cat > conftest.$ac_ext <<EOF 3320 #line 3 321"configure"3448 #line 3449 "configure" 3321 3449 #include "confdefs.h" 3322 3450 #include <sys/types.h> … … 3329 3457 ; return 0; } 3330 3458 EOF 3331 if { (eval echo configure:3 332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3459 if { (eval echo configure:3460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3332 3460 rm -rf conftest* 3333 3461 ac_cv_c_bigendian=yes … … 3349 3477 else 3350 3478 cat > conftest.$ac_ext <<EOF 3351 #line 3 352"configure"3479 #line 3480 "configure" 3352 3480 #include "confdefs.h" 3353 3481 main () { … … 3362 3490 } 3363 3491 EOF 3364 if { (eval echo configure:3 365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3492 if { (eval echo configure:3493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3365 3493 then 3366 3494 ac_cv_c_bigendian=no … … 3380 3508 if test $ac_cv_c_bigendian = unknown; then 3381 3509 echo $ac_n "checking to probe for byte ordering""... $ac_c" 1>&6 3382 echo "configure:3 383: checking to probe for byte ordering" >&53510 echo "configure:3511: checking to probe for byte ordering" >&5 3383 3511 3384 3512 cat >conftest.c <<EOF … … 3430 3558 if test x$TARGET = xSPARC; then 3431 3559 echo $ac_n "checking assembler and linker support unaligned pc related relocs""... $ac_c" 1>&6 3432 echo "configure:3 433: checking assembler and linker support unaligned pc related relocs" >&53560 echo "configure:3561: checking assembler and linker support unaligned pc related relocs" >&5 3433 3561 if eval "test \"`echo '$''{'libffi_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then 3434 3562 echo $ac_n "(cached) $ac_c" 1>&6 … … 3440 3568 LDFLAGS="$LDFLAGS -shared" 3441 3569 cat > conftest.$ac_ext <<EOF 3442 #line 3 443"configure"3570 #line 3571 "configure" 3443 3571 #include "confdefs.h" 3444 3572 asm (".text; foo: nop; .data; .align 4; .byte 0; .uaword %r_disp32(foo); .text"); … … 3447 3575 ; return 0; } 3448 3576 EOF 3449 if { (eval echo configure:3 450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3577 if { (eval echo configure:3578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3450 3578 rm -rf conftest* 3451 3579 libffi_cv_as_sparc_ua_pcrel=yes … … 3465 3593 cat >> confdefs.h <<\EOF 3466 3594 #define HAVE_AS_SPARC_UA_PCREL 1 3595 EOF 3596 3597 fi 3598 3599 echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6 3600 echo "configure:3601: checking assembler .register pseudo-op support" >&5 3601 if eval "test \"`echo '$''{'libffi_cv_as_register_pseudo_op'+set}'`\" = set"; then 3602 echo $ac_n "(cached) $ac_c" 1>&6 3603 else 3604 3605 libffi_cv_as_register_pseudo_op=unknown 3606 # Check if we have .register 3607 cat > conftest.$ac_ext <<EOF 3608 #line 3609 "configure" 3609 #include "confdefs.h" 3610 asm (".register %g2, #scratch"); 3611 int main() { 3612 3613 ; return 0; } 3614 EOF 3615 if { (eval echo configure:3616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3616 rm -rf conftest* 3617 libffi_cv_as_register_pseudo_op=yes 3618 else 3619 echo "configure: failed program was:" >&5 3620 cat conftest.$ac_ext >&5 3621 rm -rf conftest* 3622 libffi_cv_as_register_pseudo_op=no 3623 fi 3624 rm -f conftest* 3625 3626 fi 3627 3628 echo "$ac_t""$libffi_cv_as_register_pseudo_op" 1>&6 3629 if test "x$libffi_cv_as_register_pseudo_op" = xyes; then 3630 cat >> confdefs.h <<\EOF 3631 #define HAVE_AS_REGISTER_PSEUDO_OP 1 3467 3632 EOF 3468 3633 … … 3710 3875 s%@MIPS_SGI_TRUE@%$MIPS_SGI_TRUE%g 3711 3876 s%@MIPS_SGI_FALSE@%$MIPS_SGI_FALSE%g 3877 s%@MIPS_LINUX_TRUE@%$MIPS_LINUX_TRUE%g 3878 s%@MIPS_LINUX_FALSE@%$MIPS_LINUX_FALSE%g 3712 3879 s%@SPARC_TRUE@%$SPARC_TRUE%g 3713 3880 s%@SPARC_FALSE@%$SPARC_FALSE%g … … 3730 3897 s%@ARM_TRUE@%$ARM_TRUE%g 3731 3898 s%@ARM_FALSE@%$ARM_FALSE%g 3899 s%@S390_TRUE@%$S390_TRUE%g 3900 s%@S390_FALSE@%$S390_FALSE%g 3901 s%@X86_64_TRUE@%$X86_64_TRUE%g 3902 s%@X86_64_FALSE@%$X86_64_FALSE%g 3903 s%@SH_TRUE@%$SH_TRUE%g 3904 s%@SH_FALSE@%$SH_FALSE%g 3732 3905 s%@CPP@%$CPP%g 3733 3906 s%@ALLOCA@%$ALLOCA%g … … 3955 4128 CC="${CC}" 3956 4129 DEFS="$DEFS" 4130 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}" 3957 4131 test ! -d include && mkdir include 3958 4132 test ! -f include/fficonfig.h && cp fficonfig.h include/fficonfig.h … … 3970 4144 if test -n "$CONFIG_FILES"; then 3971 4145 LD="${ORIGINAL_LD_FOR_MULTILIBS}" 3972 ac_file=Makefile . ${ libffi_basedir}/../config-ml.in4146 ac_file=Makefile . ${srcdir}/${libffi_basedir}../config-ml.in 3973 4147 fi 3974 4148 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.