Changeset 1394 for trunk/src/gcc/libobjc/configure
- Timestamp:
- Apr 28, 2004, 6:58:06 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/libobjc/configure
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1393 r1394 862 862 # canonicalize only relative paths, because then amd will not unmount 863 863 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd. 864 glibcpp_builddir=` pwd`864 glibcpp_builddir=`${PWDCMD-pwd}` 865 865 case $srcdir in 866 866 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;; … … 1713 1713 hppa*) 1714 1714 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1715 lt_cv_file_magic_cmd=/usr/bin/file1716 lt_cv_file_magic_test_file=/usr/lib/libc.sl1715 lt_cv_file_magic_cmd=/usr/bin/file 1716 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1717 1717 ;; 1718 1718 ia64*) … … 1720 1720 lt_cv_file_magic_cmd=/usr/bin/file 1721 1721 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1722 ;;1722 ;; 1723 1723 esac 1724 1724 ;; … … 1748 1748 linux-gnu*) 1749 1749 case $host_cpu in 1750 alpha* | mips* |hppa* | i*86 | powerpc* | sparc* | ia64* )1750 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1751 1751 lt_cv_deplibs_check_method=pass_all ;; 1752 1752 *) … … 2195 2195 ;; 2196 2196 2197 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 2198 # Find out which ABI we are using. 2199 echo 'int i;' > conftest.$ac_ext 2200 if { (eval echo configure:2201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2201 case "`/usr/bin/file conftest.o`" in 2202 *32-bit*) 2203 case $host in 2204 x86_64-*linux*) 2205 LD="${LD-ld} -m elf_i386" 2206 ;; 2207 ppc64-*linux*|powerpc64-*linux*) 2208 LD="${LD-ld} -m elf32ppclinux" 2209 ;; 2210 s390x-*linux*) 2211 LD="${LD-ld} -m elf_s390" 2212 ;; 2213 sparc64-*linux*) 2214 LD="${LD-ld} -m elf32_sparc" 2215 ;; 2216 esac 2217 ;; 2218 *64-bit*) 2219 case $host in 2220 x86_64-*linux*) 2221 LD="${LD-ld} -m elf_x86_64" 2222 ;; 2223 ppc*-*linux*|powerpc*-*linux*) 2224 LD="${LD-ld} -m elf64ppc" 2225 ;; 2226 s390*-*linux*) 2227 LD="${LD-ld} -m elf64_s390" 2228 ;; 2229 sparc*-*linux*) 2230 LD="${LD-ld} -m elf64_sparc" 2231 ;; 2232 esac 2233 ;; 2234 esac 2235 fi 2236 rm -rf conftest* 2237 ;; 2238 2197 2239 *-*-sco3.2v5*) 2198 2240 # On SCO OpenServer 5, we need -belf to get full-featured binaries. … … 2200 2242 CFLAGS="$CFLAGS -belf" 2201 2243 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2202 echo "configure:22 03: checking whether the C compiler needs -belf" >&52244 echo "configure:2245: checking whether the C compiler needs -belf" >&5 2203 2245 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2204 2246 echo $ac_n "(cached) $ac_c" 1>&6 … … 2213 2255 2214 2256 cat > conftest.$ac_ext <<EOF 2215 #line 22 16"configure"2257 #line 2258 "configure" 2216 2258 #include "confdefs.h" 2217 2259 … … 2220 2262 ; return 0; } 2221 2263 EOF 2222 if { (eval echo configure:22 23: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2264 if { (eval echo configure:2265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2223 2265 rm -rf conftest* 2224 2266 lt_cv_cc_needs_belf=yes … … 2250 2292 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 2251 2293 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2252 echo "configure:22 53: checking for $ac_word" >&52294 echo "configure:2295: checking for $ac_word" >&5 2253 2295 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then 2254 2296 echo $ac_n "(cached) $ac_c" 1>&6 … … 2283 2325 set dummy dlltool; ac_word=$2 2284 2326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2285 echo "configure:2 286: checking for $ac_word" >&52327 echo "configure:2328: checking for $ac_word" >&5 2286 2328 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then 2287 2329 echo $ac_n "(cached) $ac_c" 1>&6 … … 2319 2361 set dummy ${ac_tool_prefix}as; ac_word=$2 2320 2362 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2321 echo "configure:23 22: checking for $ac_word" >&52363 echo "configure:2364: checking for $ac_word" >&5 2322 2364 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then 2323 2365 echo $ac_n "(cached) $ac_c" 1>&6 … … 2352 2394 set dummy as; ac_word=$2 2353 2395 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2354 echo "configure:23 55: checking for $ac_word" >&52396 echo "configure:2397: checking for $ac_word" >&5 2355 2397 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then 2356 2398 echo $ac_n "(cached) $ac_c" 1>&6 … … 2388 2430 set dummy ${ac_tool_prefix}objdump; ac_word=$2 2389 2431 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2390 echo "configure:2 391: checking for $ac_word" >&52432 echo "configure:2433: checking for $ac_word" >&5 2391 2433 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then 2392 2434 echo $ac_n "(cached) $ac_c" 1>&6 … … 2421 2463 set dummy objdump; ac_word=$2 2422 2464 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2423 echo "configure:24 24: checking for $ac_word" >&52465 echo "configure:2466: checking for $ac_word" >&5 2424 2466 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then 2425 2467 echo $ac_n "(cached) $ac_c" 1>&6 … … 2458 2500 # can override, but on older systems we have to supply one 2459 2501 echo $ac_n "checking if libtool should supply DllMain function""... $ac_c" 1>&6 2460 echo "configure:2 461: checking if libtool should supply DllMain function" >&52502 echo "configure:2503: checking if libtool should supply DllMain function" >&5 2461 2503 if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then 2462 2504 echo $ac_n "(cached) $ac_c" 1>&6 2463 2505 else 2464 2506 cat > conftest.$ac_ext <<EOF 2465 #line 2 466"configure"2507 #line 2508 "configure" 2466 2508 #include "confdefs.h" 2467 2509 … … 2471 2513 ; return 0; } 2472 2514 EOF 2473 if { (eval echo configure:2 474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2515 if { (eval echo configure:2516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2474 2516 rm -rf conftest* 2475 2517 lt_cv_need_dllmain=no … … 2492 2534 CFLAGS="$CFLAGS -mdll" 2493 2535 echo $ac_n "checking how to link DLLs""... $ac_c" 1>&6 2494 echo "configure:2 495: checking how to link DLLs" >&52536 echo "configure:2537: checking how to link DLLs" >&5 2495 2537 if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then 2496 2538 echo $ac_n "(cached) $ac_c" 1>&6 2497 2539 else 2498 2540 cat > conftest.$ac_ext <<EOF 2499 #line 25 00"configure"2541 #line 2542 "configure" 2500 2542 #include "confdefs.h" 2501 2543 … … 2504 2546 ; return 0; } 2505 2547 EOF 2506 if { (eval echo configure:25 07: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2548 if { (eval echo configure:2549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2507 2549 rm -rf conftest* 2508 2550 lt_cv_cc_dll_switch=-mdll … … 2622 2664 set dummy ranlib; ac_word=$2 2623 2665 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2624 echo "configure:26 25: checking for $ac_word" >&52666 echo "configure:2667: checking for $ac_word" >&5 2625 2667 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2626 2668 echo $ac_n "(cached) $ac_c" 1>&6 … … 2663 2705 # ./install, which can be erroneously created by make from ./install.sh. 2664 2706 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2665 echo "configure:2 666: checking for a BSD compatible install" >&52707 echo "configure:2708: checking for a BSD compatible install" >&5 2666 2708 if test -z "$INSTALL"; then 2667 2709 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 2718 2760 2719 2761 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2720 echo "configure:27 21: checking whether ${MAKE-make} sets \${MAKE}" >&52762 echo "configure:2763: checking whether ${MAKE-make} sets \${MAKE}" >&5 2721 2763 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2722 2764 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 2747 2789 # Sanity check for the cross-compilation case: 2748 2790 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2749 echo "configure:27 50: checking how to run the C preprocessor" >&52791 echo "configure:2792: checking how to run the C preprocessor" >&5 2750 2792 # On Suns, sometimes $CPP names a directory. 2751 2793 if test -n "$CPP" && test -d "$CPP"; then … … 2763 2805 cat > conftest.$ac_ext <<EOF 2764 2806 #include <sys/types.h> 2765 #line 2 766"configure"2807 #line 2808 "configure" 2766 2808 #include "confdefs.h" 2767 2809 #include <assert.h> … … 2769 2811 EOF 2770 2812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2771 { (eval echo configure:2 772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2813 { (eval echo configure:2814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2772 2814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2773 2815 if test -z "$ac_err"; then … … 2781 2823 cat > conftest.$ac_ext <<EOF 2782 2824 #include <sys/types.h> 2783 #line 2 784"configure"2825 #line 2826 "configure" 2784 2826 #include "confdefs.h" 2785 2827 #include <assert.h> … … 2787 2829 EOF 2788 2830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2789 { (eval echo configure:2 790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2831 { (eval echo configure:2832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2790 2832 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2791 2833 if test -z "$ac_err"; then … … 2799 2841 cat > conftest.$ac_ext <<EOF 2800 2842 #include <sys/types.h> 2801 #line 28 02"configure"2843 #line 2844 "configure" 2802 2844 #include "confdefs.h" 2803 2845 #include <assert.h> … … 2805 2847 EOF 2806 2848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2807 { (eval echo configure:28 08: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2849 { (eval echo configure:2850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2808 2850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2809 2851 if test -z "$ac_err"; then … … 2831 2873 ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'` 2832 2874 echo $ac_n "checking for stdio.h""... $ac_c" 1>&6 2833 echo "configure:28 34: checking for stdio.h" >&52875 echo "configure:2876: checking for stdio.h" >&5 2834 2876 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2835 2877 echo $ac_n "(cached) $ac_c" 1>&6 … … 2837 2879 cat > conftest.$ac_ext <<EOF 2838 2880 #include <sys/types.h> 2839 #line 28 40"configure"2881 #line 2882 "configure" 2840 2882 #include "confdefs.h" 2841 2883 #include <stdio.h> 2842 2884 EOF 2843 2885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2844 { (eval echo configure:28 45: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2886 { (eval echo configure:2887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2845 2887 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2846 2888 if test -z "$ac_err"; then … … 2870 2912 2871 2913 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2872 echo "configure:2 873: checking for ANSI C header files" >&52914 echo "configure:2915: checking for ANSI C header files" >&5 2873 2915 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2874 2916 echo $ac_n "(cached) $ac_c" 1>&6 … … 2876 2918 cat > conftest.$ac_ext <<EOF 2877 2919 #include <sys/types.h> 2878 #line 2 879"configure"2920 #line 2921 "configure" 2879 2921 #include "confdefs.h" 2880 2922 #include <stdlib.h> … … 2884 2926 EOF 2885 2927 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2886 { (eval echo configure:2 887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2928 { (eval echo configure:2929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2887 2929 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2888 2930 if test -z "$ac_err"; then … … 2901 2943 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2902 2944 cat > conftest.$ac_ext <<EOF 2903 #line 29 04"configure"2945 #line 2946 "configure" 2904 2946 #include "confdefs.h" 2905 2947 #include <string.h> … … 2919 2961 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2920 2962 cat > conftest.$ac_ext <<EOF 2921 #line 29 22"configure"2963 #line 2964 "configure" 2922 2964 #include "confdefs.h" 2923 2965 #include <stdlib.h> … … 2940 2982 else 2941 2983 cat > conftest.$ac_ext <<EOF 2942 #line 29 43"configure"2984 #line 2985 "configure" 2943 2985 #include "confdefs.h" 2944 2986 #include <ctype.h> … … 2951 2993 2952 2994 EOF 2953 if { (eval echo configure:29 54: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2995 if { (eval echo configure:2996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2954 2996 then 2955 2997 : … … 2979 3021 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2980 3022 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2981 echo "configure: 2982: checking for $ac_hdr" >&53023 echo "configure:3024: checking for $ac_hdr" >&5 2982 3024 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2983 3025 echo $ac_n "(cached) $ac_c" 1>&6 … … 2985 3027 cat > conftest.$ac_ext <<EOF 2986 3028 #include <sys/types.h> 2987 #line 2988"configure"3029 #line 3030 "configure" 2988 3030 #include "confdefs.h" 2989 3031 #include <$ac_hdr> 2990 3032 EOF 2991 3033 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2992 { (eval echo configure: 2993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3034 { (eval echo configure:3035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2993 3035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2994 3036 if test -z "$ac_err"; then … … 3020 3062 3021 3063 echo $ac_n "checking for gthread cflags""... $ac_c" 1>&6 3022 echo "configure:30 23: checking for gthread cflags" >&53064 echo "configure:3065: checking for gthread cflags" >&5 3023 3065 if eval "test \"`echo '$''{'objc_cv_gthread_flags'+set}'`\" = set"; then 3024 3066 echo $ac_n "(cached) $ac_c" 1>&6 … … 3452 3494 toplevel_srcdir=${toplevel_srcdir} 3453 3495 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 3496 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}" 3454 3497 3455 3498 EOF -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.