Changeset 1394 for trunk/src/gcc/libffi/configure
- Timestamp:
- Apr 28, 2004, 6:58:06 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/libffi/configure
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1393 r1394 723 723 if test "${srcdir}" = "."; then 724 724 if test "${with_target_subdir}" != "."; then 725 libffi_basedir="${ srcdir}/${with_multisrctop}.."725 libffi_basedir="${with_multisrctop}../" 726 726 else 727 libffi_basedir="${ srcdir}/${with_multisrctop}"727 libffi_basedir="${with_multisrctop}" 728 728 fi 729 729 else 730 libffi_basedir="${srcdir}" 731 fi 732 730 libffi_basedir= 731 fi 733 732 734 733 ac_aux_dir= 735 for ac_dir in $ srcdir $srcdir/.. $srcdir/../..; do734 for ac_dir in ${libffi_basedir}.. $srcdir/${libffi_basedir}..; do 736 735 if test -f $ac_dir/install-sh; then 737 736 ac_aux_dir=$ac_dir … … 745 744 done 746 745 if test -z "$ac_aux_dir"; then 747 { echo "configure: error: can not find install-sh or install.sh in $ srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }746 { echo "configure: error: can not find install-sh or install.sh in ${libffi_basedir}.. $srcdir/${libffi_basedir}.." 1>&2; exit 1; } 748 747 fi 749 748 ac_config_guess=$ac_aux_dir/config.guess 750 749 ac_config_sub=$ac_aux_dir/config.sub 751 750 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 751 752 752 753 753 … … 1341 1341 hppa*) 1342 1342 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1343 lt_cv_file_magic_cmd=/usr/bin/file1344 lt_cv_file_magic_test_file=/usr/lib/libc.sl1343 lt_cv_file_magic_cmd=/usr/bin/file 1344 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1345 1345 ;; 1346 1346 ia64*) … … 1348 1348 lt_cv_file_magic_cmd=/usr/bin/file 1349 1349 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1350 ;;1350 ;; 1351 1351 esac 1352 1352 ;; … … 1376 1376 linux-gnu*) 1377 1377 case $host_cpu in 1378 alpha* | mips* |hppa* | i*86 | powerpc* | sparc* | ia64* )1378 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1379 1379 lt_cv_deplibs_check_method=pass_all ;; 1380 1380 *) … … 1829 1829 ;; 1830 1830 1831 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 1832 # Find out which ABI we are using. 1833 echo 'int i;' > conftest.$ac_ext 1834 if { (eval echo configure:1835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1835 case "`/usr/bin/file conftest.o`" in 1836 *32-bit*) 1837 case $host in 1838 x86_64-*linux*) 1839 LD="${LD-ld} -m elf_i386" 1840 ;; 1841 ppc64-*linux*|powerpc64-*linux*) 1842 LD="${LD-ld} -m elf32ppclinux" 1843 ;; 1844 s390x-*linux*) 1845 LD="${LD-ld} -m elf_s390" 1846 ;; 1847 sparc64-*linux*) 1848 LD="${LD-ld} -m elf32_sparc" 1849 ;; 1850 esac 1851 ;; 1852 *64-bit*) 1853 case $host in 1854 x86_64-*linux*) 1855 LD="${LD-ld} -m elf_x86_64" 1856 ;; 1857 ppc*-*linux*|powerpc*-*linux*) 1858 LD="${LD-ld} -m elf64ppc" 1859 ;; 1860 s390*-*linux*) 1861 LD="${LD-ld} -m elf64_s390" 1862 ;; 1863 sparc*-*linux*) 1864 LD="${LD-ld} -m elf64_sparc" 1865 ;; 1866 esac 1867 ;; 1868 esac 1869 fi 1870 rm -rf conftest* 1871 ;; 1872 1831 1873 *-*-sco3.2v5*) 1832 1874 # On SCO OpenServer 5, we need -belf to get full-featured binaries. … … 1834 1876 CFLAGS="$CFLAGS -belf" 1835 1877 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 1836 echo "configure:18 37: checking whether the C compiler needs -belf" >&51878 echo "configure:1879: checking whether the C compiler needs -belf" >&5 1837 1879 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 1838 1880 echo $ac_n "(cached) $ac_c" 1>&6 … … 1847 1889 1848 1890 cat > conftest.$ac_ext <<EOF 1849 #line 18 50"configure"1891 #line 1892 "configure" 1850 1892 #include "confdefs.h" 1851 1893 … … 1854 1896 ; return 0; } 1855 1897 EOF 1856 if { (eval echo configure:18 57: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1898 if { (eval echo configure:1899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1857 1899 rm -rf conftest* 1858 1900 lt_cv_cc_needs_belf=yes … … 1982 2024 # ./install, which can be erroneously created by make from ./install.sh. 1983 2025 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1984 echo "configure: 1985: checking for a BSD compatible install" >&52026 echo "configure:2027: checking for a BSD compatible install" >&5 1985 2027 if test -z "$INSTALL"; then 1986 2028 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 2037 2079 2038 2080 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 2039 echo "configure:20 40: checking whether build environment is sane" >&52081 echo "configure:2082: checking whether build environment is sane" >&5 2040 2082 # Just in case 2041 2083 sleep 1 … … 2094 2136 2095 2137 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2096 echo "configure:2 097: checking whether ${MAKE-make} sets \${MAKE}" >&52138 echo "configure:2139: checking whether ${MAKE-make} sets \${MAKE}" >&5 2097 2139 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2098 2140 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 2133 2175 missing_dir=`cd $ac_aux_dir && pwd` 2134 2176 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 2135 echo "configure:21 36: checking for working aclocal" >&52177 echo "configure:2178: checking for working aclocal" >&5 2136 2178 # Run test in a subshell; some versions of sh will print an error if 2137 2179 # an executable is not found, even if stderr is redirected. … … 2146 2188 2147 2189 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 2148 echo "configure:21 49: checking for working autoconf" >&52190 echo "configure:2191: checking for working autoconf" >&5 2149 2191 # Run test in a subshell; some versions of sh will print an error if 2150 2192 # an executable is not found, even if stderr is redirected. … … 2159 2201 2160 2202 echo $ac_n "checking for working automake""... $ac_c" 1>&6 2161 echo "configure:2 162: checking for working automake" >&52203 echo "configure:2204: checking for working automake" >&5 2162 2204 # Run test in a subshell; some versions of sh will print an error if 2163 2205 # an executable is not found, even if stderr is redirected. … … 2172 2214 2173 2215 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 2174 echo "configure:2 175: checking for working autoheader" >&52216 echo "configure:2217: checking for working autoheader" >&5 2175 2217 # Run test in a subshell; some versions of sh will print an error if 2176 2218 # an executable is not found, even if stderr is redirected. … … 2185 2227 2186 2228 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 2187 echo "configure:2 188: checking for working makeinfo" >&52229 echo "configure:2230: checking for working makeinfo" >&5 2188 2230 # Run test in a subshell; some versions of sh will print an error if 2189 2231 # an executable is not found, even if stderr is redirected. … … 2203 2245 2204 2246 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 2205 echo "configure:22 06: checking for executable suffix" >&52247 echo "configure:2248: checking for executable suffix" >&5 2206 2248 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 2207 2249 echo $ac_n "(cached) $ac_c" 1>&6 … … 2213 2255 echo 'int main () { return 0; }' > conftest.$ac_ext 2214 2256 ac_cv_exeext= 2215 if { (eval echo configure:22 16: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2257 if { (eval echo configure:2258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2216 2258 for file in conftest.*; do 2217 2259 case $file in … … 2234 2276 2235 2277 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 2236 echo "configure:22 37: checking whether to enable maintainer-specific portions of Makefiles" >&52278 echo "configure:2279: checking whether to enable maintainer-specific portions of Makefiles" >&5 2237 2279 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 2238 2280 if test "${enable_maintainer_mode+set}" = set; then … … 2260 2302 set dummy gcc; ac_word=$2 2261 2303 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2262 echo "configure:2 263: checking for $ac_word" >&52304 echo "configure:2305: checking for $ac_word" >&5 2263 2305 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2264 2306 echo $ac_n "(cached) $ac_c" 1>&6 … … 2291 2333 set dummy cc; ac_word=$2 2292 2334 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2293 echo "configure:2 294: checking for $ac_word" >&52335 echo "configure:2336: checking for $ac_word" >&5 2294 2336 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2295 2337 echo $ac_n "(cached) $ac_c" 1>&6 … … 2344 2386 set dummy cl; ac_word=$2 2345 2387 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2346 echo "configure:23 47: checking for $ac_word" >&52388 echo "configure:2389: checking for $ac_word" >&5 2347 2389 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2348 2390 echo $ac_n "(cached) $ac_c" 1>&6 … … 2377 2419 2378 2420 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2379 echo "configure:2 380: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52421 echo "configure:2422: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2380 2422 2381 2423 ac_ext=c … … 2388 2430 cat > conftest.$ac_ext << EOF 2389 2431 2390 #line 2 391"configure"2432 #line 2433 "configure" 2391 2433 #include "confdefs.h" 2392 2434 2393 2435 main(){return(0);} 2394 2436 EOF 2395 if { (eval echo configure:2 396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2437 if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2396 2438 ac_cv_prog_cc_works=yes 2397 2439 # If we can't run a trivial program, we are probably using a cross compiler. … … 2419 2461 fi 2420 2462 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2421 echo "configure:24 22: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52463 echo "configure:2464: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2422 2464 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2423 2465 cross_compiling=$ac_cv_prog_cc_cross 2424 2466 2425 2467 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2426 echo "configure:24 27: checking whether we are using GNU C" >&52468 echo "configure:2469: checking whether we are using GNU C" >&5 2427 2469 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2428 2470 echo $ac_n "(cached) $ac_c" 1>&6 … … 2433 2475 #endif 2434 2476 EOF 2435 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:24 36: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2477 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2436 2478 ac_cv_prog_gcc=yes 2437 2479 else … … 2452 2494 CFLAGS= 2453 2495 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2454 echo "configure:24 55: checking whether ${CC-cc} accepts -g" >&52496 echo "configure:2497: checking whether ${CC-cc} accepts -g" >&5 2455 2497 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2456 2498 echo $ac_n "(cached) $ac_c" 1>&6 … … 2493 2535 mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; TARGETDIR=mips;; 2494 2536 i*86-*-linux*) TARGET=X86; TARGETDIR=x86;; 2537 i*86-*-sco3.2v5*) TARGET=X86; TARGETDIR=x86;; 2495 2538 i*86-*-solaris*) TARGET=X86; TARGETDIR=x86;; 2496 2539 i*86-*-beos*) TARGET=X86; TARGETDIR=x86;; … … 2502 2545 sparc-sun-4*) TARGET=SPARC; TARGETDIR=sparc;; 2503 2546 sparc*-sun-*) TARGET=SPARC; TARGETDIR=sparc;; 2504 sparc-*-linux* ) TARGET=SPARC; TARGETDIR=sparc;;2505 sparc64-*-linux* ) TARGET=SPARC; TARGETDIR=sparc;;2506 alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd* ) TARGET=ALPHA; TARGETDIR=alpha;;2547 sparc-*-linux* | sparc-*-netbsdelf*) TARGET=SPARC; TARGETDIR=sparc;; 2548 sparc64-*-linux* | sparc64-*-netbsd*) TARGET=SPARC; TARGETDIR=sparc;; 2549 alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd* | alpha*-*-netbsd*) TARGET=ALPHA; TARGETDIR=alpha;; 2507 2550 ia64*-*-*) TARGET=IA64; TARGETDIR=ia64;; 2508 2551 m68k-*-linux*) TARGET=M68K; TARGETDIR=m68k;; 2552 mips64*-*);; 2553 mips*-*-linux*) TARGET=MIPS_LINUX; TARGETDIR=mips;; 2509 2554 powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; TARGETDIR=powerpc;; 2510 2555 powerpc-*-beos*) TARGET=POWERPC; TARGETDIR=powerpc;; … … 2513 2558 rs6000-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc;; 2514 2559 arm*-*-linux-*) TARGET=ARM; TARGETDIR=arm;; 2560 s390-*-linux-*) TARGET=S390; TARGETDIR=s390;; 2561 s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;; 2562 x86_64-*-linux*) TARGET=X86_64; TARGETDIR=x86;; 2563 sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;; 2515 2564 esac 2516 2565 … … 2539 2588 2540 2589 2590 if test x$TARGET = xMIPS_LINUX; then 2591 MIPS_LINUX_TRUE= 2592 MIPS_LINUX_FALSE='#' 2593 else 2594 MIPS_LINUX_TRUE='#' 2595 MIPS_LINUX_FALSE= 2596 fi 2597 2598 2541 2599 if test x$TARGET = xSPARC; then 2542 2600 SPARC_TRUE= … … 2628 2686 fi 2629 2687 2688 2689 if test x$TARGET = xS390; then 2690 S390_TRUE= 2691 S390_FALSE='#' 2692 else 2693 S390_TRUE='#' 2694 S390_FALSE= 2695 fi 2696 2697 2698 if test x$TARGET = xX86_64; then 2699 X86_64_TRUE= 2700 X86_64_FALSE='#' 2701 else 2702 X86_64_TRUE='#' 2703 X86_64_FALSE= 2704 fi 2705 2706 2707 if test x$TARGET = xSH; then 2708 SH_TRUE= 2709 SH_FALSE='#' 2710 else 2711 SH_TRUE='#' 2712 SH_FALSE= 2713 fi 2714 2715 if test x$TARGET = xMIPS_LINUX; then 2716 TARGET=MIPS 2717 fi 2718 2630 2719 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2631 echo "configure:2 632: checking how to run the C preprocessor" >&52720 echo "configure:2721: checking how to run the C preprocessor" >&5 2632 2721 # On Suns, sometimes $CPP names a directory. 2633 2722 if test -n "$CPP" && test -d "$CPP"; then … … 2645 2734 cat > conftest.$ac_ext <<EOF 2646 2735 #include <sys/types.h> 2647 #line 2 648"configure"2736 #line 2737 "configure" 2648 2737 #include "confdefs.h" 2649 2738 #include <assert.h> … … 2651 2740 EOF 2652 2741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2653 { (eval echo configure:2 654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2742 { (eval echo configure:2743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2654 2743 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2655 2744 if test -z "$ac_err"; then … … 2663 2752 cat > conftest.$ac_ext <<EOF 2664 2753 #include <sys/types.h> 2665 #line 2 666"configure"2754 #line 2755 "configure" 2666 2755 #include "confdefs.h" 2667 2756 #include <assert.h> … … 2669 2758 EOF 2670 2759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2671 { (eval echo configure:2 672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2760 { (eval echo configure:2761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2672 2761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2673 2762 if test -z "$ac_err"; then … … 2681 2770 cat > conftest.$ac_ext <<EOF 2682 2771 #include <sys/types.h> 2683 #line 2 684"configure"2772 #line 2773 "configure" 2684 2773 #include "confdefs.h" 2685 2774 #include <assert.h> … … 2687 2776 EOF 2688 2777 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2689 { (eval echo configure:2 690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2778 { (eval echo configure:2779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2690 2779 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2691 2780 if test -z "$ac_err"; then … … 2712 2801 2713 2802 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2714 echo "configure:2 715: checking for ANSI C header files" >&52803 echo "configure:2804: checking for ANSI C header files" >&5 2715 2804 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2716 2805 echo $ac_n "(cached) $ac_c" 1>&6 … … 2718 2807 cat > conftest.$ac_ext <<EOF 2719 2808 #include <sys/types.h> 2720 #line 2 721"configure"2809 #line 2810 "configure" 2721 2810 #include "confdefs.h" 2722 2811 #include <stdlib.h> … … 2726 2815 EOF 2727 2816 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2728 { (eval echo configure:2 729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2817 { (eval echo configure:2818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2729 2818 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2730 2819 if test -z "$ac_err"; then … … 2743 2832 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2744 2833 cat > conftest.$ac_ext <<EOF 2745 #line 2 746"configure"2834 #line 2835 "configure" 2746 2835 #include "confdefs.h" 2747 2836 #include <string.h> … … 2761 2850 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2762 2851 cat > conftest.$ac_ext <<EOF 2763 #line 2 764"configure"2852 #line 2853 "configure" 2764 2853 #include "confdefs.h" 2765 2854 #include <stdlib.h> … … 2782 2871 else 2783 2872 cat > conftest.$ac_ext <<EOF 2784 #line 2 785"configure"2873 #line 2874 "configure" 2785 2874 #include "confdefs.h" 2786 2875 #include <ctype.h> … … 2793 2882 2794 2883 EOF 2795 if { (eval echo configure:2 796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2884 if { (eval echo configure:2885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2796 2885 then 2797 2886 : … … 2819 2908 do 2820 2909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2821 echo "configure:2 822: checking for $ac_func" >&52910 echo "configure:2911: checking for $ac_func" >&5 2822 2911 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2823 2912 echo $ac_n "(cached) $ac_c" 1>&6 2824 2913 else 2825 2914 cat > conftest.$ac_ext <<EOF 2826 #line 2 827"configure"2915 #line 2916 "configure" 2827 2916 #include "confdefs.h" 2828 2917 /* System header to define __stub macros and hopefully few prototypes, … … 2847 2936 ; return 0; } 2848 2937 EOF 2849 if { (eval echo configure:2 850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2938 if { (eval echo configure:2939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2850 2939 rm -rf conftest* 2851 2940 eval "ac_cv_func_$ac_func=yes" … … 2874 2963 # for constant arguments. Useless! 2875 2964 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2876 echo "configure:2 877: checking for working alloca.h" >&52965 echo "configure:2966: checking for working alloca.h" >&5 2877 2966 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2878 2967 echo $ac_n "(cached) $ac_c" 1>&6 2879 2968 else 2880 2969 cat > conftest.$ac_ext <<EOF 2881 #line 2 882"configure"2970 #line 2971 "configure" 2882 2971 #include "confdefs.h" 2883 2972 #include <alloca.h> … … 2886 2975 ; return 0; } 2887 2976 EOF 2888 if { (eval echo configure:2 889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2977 if { (eval echo configure:2978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2889 2978 rm -rf conftest* 2890 2979 ac_cv_header_alloca_h=yes … … 2907 2996 2908 2997 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2909 echo "configure:29 10: checking for alloca" >&52998 echo "configure:2999: checking for alloca" >&5 2910 2999 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2911 3000 echo $ac_n "(cached) $ac_c" 1>&6 2912 3001 else 2913 3002 cat > conftest.$ac_ext <<EOF 2914 #line 2915"configure"3003 #line 3004 "configure" 2915 3004 #include "confdefs.h" 2916 3005 … … 2940 3029 ; return 0; } 2941 3030 EOF 2942 if { (eval echo configure: 2943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3031 if { (eval echo configure:3032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2943 3032 rm -rf conftest* 2944 3033 ac_cv_func_alloca_works=yes … … 2972 3061 2973 3062 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2974 echo "configure: 2975: checking whether alloca needs Cray hooks" >&53063 echo "configure:3064: checking whether alloca needs Cray hooks" >&5 2975 3064 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2976 3065 echo $ac_n "(cached) $ac_c" 1>&6 2977 3066 else 2978 3067 cat > conftest.$ac_ext <<EOF 2979 #line 2980"configure"3068 #line 3069 "configure" 2980 3069 #include "confdefs.h" 2981 3070 #if defined(CRAY) && ! defined(CRAY2) … … 3002 3091 for ac_func in _getb67 GETB67 getb67; do 3003 3092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3004 echo "configure:30 05: checking for $ac_func" >&53093 echo "configure:3094: checking for $ac_func" >&5 3005 3094 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3006 3095 echo $ac_n "(cached) $ac_c" 1>&6 3007 3096 else 3008 3097 cat > conftest.$ac_ext <<EOF 3009 #line 30 10"configure"3098 #line 3099 "configure" 3010 3099 #include "confdefs.h" 3011 3100 /* System header to define __stub macros and hopefully few prototypes, … … 3030 3119 ; return 0; } 3031 3120 EOF 3032 if { (eval echo configure:3 033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3121 if { (eval echo configure:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3033 3122 rm -rf conftest* 3034 3123 eval "ac_cv_func_$ac_func=yes" … … 3057 3146 3058 3147 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 3059 echo "configure:3 060: checking stack direction for C alloca" >&53148 echo "configure:3149: checking stack direction for C alloca" >&5 3060 3149 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 3061 3150 echo $ac_n "(cached) $ac_c" 1>&6 … … 3065 3154 else 3066 3155 cat > conftest.$ac_ext <<EOF 3067 #line 3 068"configure"3156 #line 3157 "configure" 3068 3157 #include "confdefs.h" 3069 3158 find_stack_direction () … … 3084 3173 } 3085 3174 EOF 3086 if { (eval echo configure:3 087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3175 if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3087 3176 then 3088 3177 ac_cv_c_stack_direction=1 … … 3107 3196 3108 3197 echo $ac_n "checking size of short""... $ac_c" 1>&6 3109 echo "configure:31 10: checking size of short" >&53198 echo "configure:3199: checking size of short" >&5 3110 3199 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 3111 3200 echo $ac_n "(cached) $ac_c" 1>&6 … … 3113 3202 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3114 3203 cat > conftest.$ac_ext <<EOF 3115 #line 3 116"configure"3204 #line 3205 "configure" 3116 3205 #include "confdefs.h" 3117 3206 #include "confdefs.h" … … 3123 3212 ; return 0; } 3124 3213 EOF 3125 if { (eval echo configure:3 126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3214 if { (eval echo configure:3215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3126 3215 rm -rf conftest* 3127 3216 ac_cv_sizeof_short=$ac_size … … 3146 3235 3147 3236 echo $ac_n "checking size of int""... $ac_c" 1>&6 3148 echo "configure:3 149: checking size of int" >&53237 echo "configure:3238: checking size of int" >&5 3149 3238 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3150 3239 echo $ac_n "(cached) $ac_c" 1>&6 … … 3152 3241 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3153 3242 cat > conftest.$ac_ext <<EOF 3154 #line 3 155"configure"3243 #line 3244 "configure" 3155 3244 #include "confdefs.h" 3156 3245 #include "confdefs.h" … … 3162 3251 ; return 0; } 3163 3252 EOF 3164 if { (eval echo configure:3 165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3253 if { (eval echo configure:3254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3165 3254 rm -rf conftest* 3166 3255 ac_cv_sizeof_int=$ac_size … … 3185 3274 3186 3275 echo $ac_n "checking size of long""... $ac_c" 1>&6 3187 echo "configure:3 188: checking size of long" >&53276 echo "configure:3277: checking size of long" >&5 3188 3277 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3189 3278 echo $ac_n "(cached) $ac_c" 1>&6 … … 3191 3280 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3192 3281 cat > conftest.$ac_ext <<EOF 3193 #line 3 194"configure"3282 #line 3283 "configure" 3194 3283 #include "confdefs.h" 3195 3284 #include "confdefs.h" … … 3201 3290 ; return 0; } 3202 3291 EOF 3203 if { (eval echo configure:32 04: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3292 if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3204 3293 rm -rf conftest* 3205 3294 ac_cv_sizeof_long=$ac_size … … 3224 3313 3225 3314 echo $ac_n "checking size of long long""... $ac_c" 1>&6 3226 echo "configure:3 227: checking size of long long" >&53315 echo "configure:3316: checking size of long long" >&5 3227 3316 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then 3228 3317 echo $ac_n "(cached) $ac_c" 1>&6 … … 3230 3319 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3231 3320 cat > conftest.$ac_ext <<EOF 3232 #line 3 233"configure"3321 #line 3322 "configure" 3233 3322 #include "confdefs.h" 3234 3323 #include "confdefs.h" … … 3240 3329 ; return 0; } 3241 3330 EOF 3242 if { (eval echo configure:3 243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3331 if { (eval echo configure:3332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3243 3332 rm -rf conftest* 3244 3333 ac_cv_sizeof_long_long=$ac_size … … 3263 3352 3264 3353 echo $ac_n "checking size of float""... $ac_c" 1>&6 3265 echo "configure:3 266: checking size of float" >&53354 echo "configure:3355: checking size of float" >&5 3266 3355 if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then 3267 3356 echo $ac_n "(cached) $ac_c" 1>&6 … … 3269 3358 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3270 3359 cat > conftest.$ac_ext <<EOF 3271 #line 3 272"configure"3360 #line 3361 "configure" 3272 3361 #include "confdefs.h" 3273 3362 #include "confdefs.h" … … 3279 3368 ; return 0; } 3280 3369 EOF 3281 if { (eval echo configure:3 282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3370 if { (eval echo configure:3371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3282 3371 rm -rf conftest* 3283 3372 ac_cv_sizeof_float=$ac_size … … 3302 3391 3303 3392 echo $ac_n "checking size of double""... $ac_c" 1>&6 3304 echo "configure:33 05: checking size of double" >&53393 echo "configure:3394: checking size of double" >&5 3305 3394 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3306 3395 echo $ac_n "(cached) $ac_c" 1>&6 … … 3308 3397 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3309 3398 cat > conftest.$ac_ext <<EOF 3310 #line 3 311"configure"3399 #line 3400 "configure" 3311 3400 #include "confdefs.h" 3312 3401 #include "confdefs.h" … … 3318 3407 ; return 0; } 3319 3408 EOF 3320 if { (eval echo configure:3 321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3409 if { (eval echo configure:3410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3321 3410 rm -rf conftest* 3322 3411 ac_cv_sizeof_double=$ac_size … … 3341 3430 3342 3431 echo $ac_n "checking size of long double""... $ac_c" 1>&6 3343 echo "configure:3 344: checking size of long double" >&53432 echo "configure:3433: checking size of long double" >&5 3344 3433 if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then 3345 3434 echo $ac_n "(cached) $ac_c" 1>&6 … … 3347 3436 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3348 3437 cat > conftest.$ac_ext <<EOF 3349 #line 3 350"configure"3438 #line 3439 "configure" 3350 3439 #include "confdefs.h" 3351 3440 #include "confdefs.h" … … 3357 3446 ; return 0; } 3358 3447 EOF 3359 if { (eval echo configure:3 360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3448 if { (eval echo configure:3449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3360 3449 rm -rf conftest* 3361 3450 ac_cv_sizeof_long_double=$ac_size … … 3381 3470 3382 3471 echo $ac_n "checking size of void *""... $ac_c" 1>&6 3383 echo "configure:3 384: checking size of void *" >&53472 echo "configure:3473: checking size of void *" >&5 3384 3473 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then 3385 3474 echo $ac_n "(cached) $ac_c" 1>&6 … … 3387 3476 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 3388 3477 cat > conftest.$ac_ext <<EOF 3389 #line 3 390"configure"3478 #line 3479 "configure" 3390 3479 #include "confdefs.h" 3391 3480 #include "confdefs.h" … … 3397 3486 ; return 0; } 3398 3487 EOF 3399 if { (eval echo configure:34 00: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3488 if { (eval echo configure:3489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3400 3489 rm -rf conftest* 3401 3490 ac_cv_sizeof_void_p=$ac_size … … 3420 3509 3421 3510 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3422 echo "configure:3 423: checking whether byte ordering is bigendian" >&53511 echo "configure:3512: checking whether byte ordering is bigendian" >&5 3423 3512 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3424 3513 echo $ac_n "(cached) $ac_c" 1>&6 … … 3427 3516 # See if sys/param.h defines the BYTE_ORDER macro. 3428 3517 cat > conftest.$ac_ext <<EOF 3429 #line 3 430"configure"3518 #line 3519 "configure" 3430 3519 #include "confdefs.h" 3431 3520 #include <sys/types.h> … … 3438 3527 ; return 0; } 3439 3528 EOF 3440 if { (eval echo configure:3 441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3529 if { (eval echo configure:3530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3441 3530 rm -rf conftest* 3442 3531 # It does; now see whether it defined to BIG_ENDIAN or not. 3443 3532 cat > conftest.$ac_ext <<EOF 3444 #line 3 445"configure"3533 #line 3534 "configure" 3445 3534 #include "confdefs.h" 3446 3535 #include <sys/types.h> … … 3453 3542 ; return 0; } 3454 3543 EOF 3455 if { (eval echo configure:3 456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3544 if { (eval echo configure:3545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3456 3545 rm -rf conftest* 3457 3546 ac_cv_c_bigendian=yes … … 3473 3562 else 3474 3563 cat > conftest.$ac_ext <<EOF 3475 #line 3 476"configure"3564 #line 3565 "configure" 3476 3565 #include "confdefs.h" 3477 3566 main () { … … 3486 3575 } 3487 3576 EOF 3488 if { (eval echo configure:3 489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3577 if { (eval echo configure:3578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3489 3578 then 3490 3579 ac_cv_c_bigendian=no … … 3504 3593 if test $ac_cv_c_bigendian = unknown; then 3505 3594 echo $ac_n "checking to probe for byte ordering""... $ac_c" 1>&6 3506 echo "configure:35 07: checking to probe for byte ordering" >&53595 echo "configure:3596: checking to probe for byte ordering" >&5 3507 3596 3508 3597 cat >conftest.c <<EOF … … 3554 3643 if test x$TARGET = xSPARC; then 3555 3644 echo $ac_n "checking assembler and linker support unaligned pc related relocs""... $ac_c" 1>&6 3556 echo "configure:3 557: checking assembler and linker support unaligned pc related relocs" >&53645 echo "configure:3646: checking assembler and linker support unaligned pc related relocs" >&5 3557 3646 if eval "test \"`echo '$''{'libffi_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then 3558 3647 echo $ac_n "(cached) $ac_c" 1>&6 … … 3564 3653 LDFLAGS="$LDFLAGS -shared" 3565 3654 cat > conftest.$ac_ext <<EOF 3566 #line 3 567"configure"3655 #line 3656 "configure" 3567 3656 #include "confdefs.h" 3568 3657 asm (".text; foo: nop; .data; .align 4; .byte 0; .uaword %r_disp32(foo); .text"); … … 3571 3660 ; return 0; } 3572 3661 EOF 3573 if { (eval echo configure:3 574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3662 if { (eval echo configure:3663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3574 3663 rm -rf conftest* 3575 3664 libffi_cv_as_sparc_ua_pcrel=yes … … 3589 3678 cat >> confdefs.h <<\EOF 3590 3679 #define HAVE_AS_SPARC_UA_PCREL 1 3680 EOF 3681 3682 fi 3683 3684 echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6 3685 echo "configure:3686: checking assembler .register pseudo-op support" >&5 3686 if eval "test \"`echo '$''{'libffi_cv_as_register_pseudo_op'+set}'`\" = set"; then 3687 echo $ac_n "(cached) $ac_c" 1>&6 3688 else 3689 3690 libffi_cv_as_register_pseudo_op=unknown 3691 # Check if we have .register 3692 cat > conftest.$ac_ext <<EOF 3693 #line 3694 "configure" 3694 #include "confdefs.h" 3695 asm (".register %g2, #scratch"); 3696 int main() { 3697 3698 ; return 0; } 3699 EOF 3700 if { (eval echo configure:3701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3701 rm -rf conftest* 3702 libffi_cv_as_register_pseudo_op=yes 3703 else 3704 echo "configure: failed program was:" >&5 3705 cat conftest.$ac_ext >&5 3706 rm -rf conftest* 3707 libffi_cv_as_register_pseudo_op=no 3708 fi 3709 rm -f conftest* 3710 3711 fi 3712 3713 echo "$ac_t""$libffi_cv_as_register_pseudo_op" 1>&6 3714 if test "x$libffi_cv_as_register_pseudo_op" = xyes; then 3715 cat >> confdefs.h <<\EOF 3716 #define HAVE_AS_REGISTER_PSEUDO_OP 1 3591 3717 EOF 3592 3718 … … 3840 3966 s%@MIPS_SGI_TRUE@%$MIPS_SGI_TRUE%g 3841 3967 s%@MIPS_SGI_FALSE@%$MIPS_SGI_FALSE%g 3968 s%@MIPS_LINUX_TRUE@%$MIPS_LINUX_TRUE%g 3969 s%@MIPS_LINUX_FALSE@%$MIPS_LINUX_FALSE%g 3842 3970 s%@SPARC_TRUE@%$SPARC_TRUE%g 3843 3971 s%@SPARC_FALSE@%$SPARC_FALSE%g … … 3860 3988 s%@ARM_TRUE@%$ARM_TRUE%g 3861 3989 s%@ARM_FALSE@%$ARM_FALSE%g 3990 s%@S390_TRUE@%$S390_TRUE%g 3991 s%@S390_FALSE@%$S390_FALSE%g 3992 s%@X86_64_TRUE@%$X86_64_TRUE%g 3993 s%@X86_64_FALSE@%$X86_64_FALSE%g 3994 s%@SH_TRUE@%$SH_TRUE%g 3995 s%@SH_FALSE@%$SH_FALSE%g 3862 3996 s%@CPP@%$CPP%g 3863 3997 s%@ALLOCA@%$ALLOCA%g … … 4088 4222 CC="${CC}" 4089 4223 DEFS="$DEFS" 4224 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}" 4090 4225 test ! -d include && mkdir include 4091 4226 test ! -f include/fficonfig.h && cp fficonfig.h include/fficonfig.h … … 4103 4238 if test -n "$CONFIG_FILES"; then 4104 4239 LD="${ORIGINAL_LD_FOR_MULTILIBS}" 4105 ac_file=Makefile . ${ libffi_basedir}/../config-ml.in4240 ac_file=Makefile . ${srcdir}/${libffi_basedir}../config-ml.in 4106 4241 fi 4107 4242 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.