Changeset 1394 for trunk/src/gcc/zlib/configure
- Timestamp:
- Apr 28, 2004, 6:58:06 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/zlib/configure
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1393 r1394 850 850 851 851 # This works around an automake problem. 852 mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs"852 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs" 853 853 854 854 … … 1647 1647 hppa*) 1648 1648 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1649 lt_cv_file_magic_cmd=/usr/bin/file1650 lt_cv_file_magic_test_file=/usr/lib/libc.sl1649 lt_cv_file_magic_cmd=/usr/bin/file 1650 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1651 1651 ;; 1652 1652 ia64*) … … 1654 1654 lt_cv_file_magic_cmd=/usr/bin/file 1655 1655 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1656 ;;1656 ;; 1657 1657 esac 1658 1658 ;; … … 1682 1682 linux-gnu*) 1683 1683 case $host_cpu in 1684 alpha* | mips* |hppa* | i*86 | powerpc* | sparc* | ia64* )1684 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1685 1685 lt_cv_deplibs_check_method=pass_all ;; 1686 1686 *) … … 2135 2135 ;; 2136 2136 2137 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 2138 # Find out which ABI we are using. 2139 echo 'int i;' > conftest.$ac_ext 2140 if { (eval echo configure:2141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2141 case "`/usr/bin/file conftest.o`" in 2142 *32-bit*) 2143 case $host in 2144 x86_64-*linux*) 2145 LD="${LD-ld} -m elf_i386" 2146 ;; 2147 ppc64-*linux*|powerpc64-*linux*) 2148 LD="${LD-ld} -m elf32ppclinux" 2149 ;; 2150 s390x-*linux*) 2151 LD="${LD-ld} -m elf_s390" 2152 ;; 2153 sparc64-*linux*) 2154 LD="${LD-ld} -m elf32_sparc" 2155 ;; 2156 esac 2157 ;; 2158 *64-bit*) 2159 case $host in 2160 x86_64-*linux*) 2161 LD="${LD-ld} -m elf_x86_64" 2162 ;; 2163 ppc*-*linux*|powerpc*-*linux*) 2164 LD="${LD-ld} -m elf64ppc" 2165 ;; 2166 s390*-*linux*) 2167 LD="${LD-ld} -m elf64_s390" 2168 ;; 2169 sparc*-*linux*) 2170 LD="${LD-ld} -m elf64_sparc" 2171 ;; 2172 esac 2173 ;; 2174 esac 2175 fi 2176 rm -rf conftest* 2177 ;; 2178 2137 2179 *-*-sco3.2v5*) 2138 2180 # On SCO OpenServer 5, we need -belf to get full-featured binaries. … … 2140 2182 CFLAGS="$CFLAGS -belf" 2141 2183 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2142 echo "configure:21 43: checking whether the C compiler needs -belf" >&52184 echo "configure:2185: checking whether the C compiler needs -belf" >&5 2143 2185 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2144 2186 echo $ac_n "(cached) $ac_c" 1>&6 … … 2153 2195 2154 2196 cat > conftest.$ac_ext <<EOF 2155 #line 21 56"configure"2197 #line 2198 "configure" 2156 2198 #include "confdefs.h" 2157 2199 … … 2160 2202 ; return 0; } 2161 2203 EOF 2162 if { (eval echo configure:2 163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2204 if { (eval echo configure:2205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2163 2205 rm -rf conftest* 2164 2206 lt_cv_cc_needs_belf=yes … … 2286 2328 # thereby make the resulting definitions conditional. 2287 2329 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2288 echo "configure:2 289: checking how to run the C preprocessor" >&52330 echo "configure:2331: checking how to run the C preprocessor" >&5 2289 2331 # On Suns, sometimes $CPP names a directory. 2290 2332 if test -n "$CPP" && test -d "$CPP"; then … … 2302 2344 cat > conftest.$ac_ext <<EOF 2303 2345 #include <sys/types.h> 2304 #line 23 05"configure"2346 #line 2347 "configure" 2305 2347 #include "confdefs.h" 2306 2348 #include <assert.h> … … 2308 2350 EOF 2309 2351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2310 { (eval echo configure:23 11: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2352 { (eval echo configure:2353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2311 2353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2312 2354 if test -z "$ac_err"; then … … 2320 2362 cat > conftest.$ac_ext <<EOF 2321 2363 #include <sys/types.h> 2322 #line 23 23"configure"2364 #line 2365 "configure" 2323 2365 #include "confdefs.h" 2324 2366 #include <assert.h> … … 2326 2368 EOF 2327 2369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2328 { (eval echo configure:23 29: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2370 { (eval echo configure:2371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2329 2371 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2330 2372 if test -z "$ac_err"; then … … 2338 2380 cat > conftest.$ac_ext <<EOF 2339 2381 #include <sys/types.h> 2340 #line 23 41"configure"2382 #line 2383 "configure" 2341 2383 #include "confdefs.h" 2342 2384 #include <assert.h> … … 2344 2386 EOF 2345 2387 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2346 { (eval echo configure:23 47: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2388 { (eval echo configure:2389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2347 2389 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2348 2390 if test -z "$ac_err"; then … … 2392 2434 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2393 2435 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2394 echo "configure:2 395: checking for $ac_hdr" >&52436 echo "configure:2437: checking for $ac_hdr" >&5 2395 2437 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2396 2438 echo $ac_n "(cached) $ac_c" 1>&6 … … 2398 2440 cat > conftest.$ac_ext <<EOF 2399 2441 #include <sys/types.h> 2400 #line 24 01"configure"2442 #line 2443 "configure" 2401 2443 #include "confdefs.h" 2402 2444 #include <$ac_hdr> 2403 2445 EOF 2404 2446 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2405 { (eval echo configure:24 06: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2447 { (eval echo configure:2448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2406 2448 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2407 2449 if test -z "$ac_err"; then … … 2432 2474 do 2433 2475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2434 echo "configure:24 35: checking for $ac_func" >&52476 echo "configure:2477: checking for $ac_func" >&5 2435 2477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2436 2478 echo $ac_n "(cached) $ac_c" 1>&6 2437 2479 else 2438 2480 cat > conftest.$ac_ext <<EOF 2439 #line 24 40"configure"2481 #line 2482 "configure" 2440 2482 #include "confdefs.h" 2441 2483 /* System header to define __stub macros and hopefully few prototypes, … … 2460 2502 ; return 0; } 2461 2503 EOF 2462 if { (eval echo configure:2 463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2504 if { (eval echo configure:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2463 2505 rm -rf conftest* 2464 2506 eval "ac_cv_func_$ac_func=yes" … … 2485 2527 2486 2528 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2487 echo "configure:2 488: checking for working mmap" >&52529 echo "configure:2530: checking for working mmap" >&5 2488 2530 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2489 2531 echo $ac_n "(cached) $ac_c" 1>&6 … … 2493 2535 else 2494 2536 cat > conftest.$ac_ext <<EOF 2495 #line 2 496"configure"2537 #line 2538 "configure" 2496 2538 #include "confdefs.h" 2497 2539 … … 2633 2675 2634 2676 EOF 2635 if { (eval echo configure:26 36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2677 if { (eval echo configure:2678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2636 2678 then 2637 2679 ac_cv_func_mmap_fixed_mapped=yes … … 2658 2700 do 2659 2701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2660 echo "configure:2 661: checking for $ac_func" >&52702 echo "configure:2703: checking for $ac_func" >&5 2661 2703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2662 2704 echo $ac_n "(cached) $ac_c" 1>&6 2663 2705 else 2664 2706 cat > conftest.$ac_ext <<EOF 2665 #line 2 666"configure"2707 #line 2708 "configure" 2666 2708 #include "confdefs.h" 2667 2709 /* System header to define __stub macros and hopefully few prototypes, … … 2686 2728 ; return 0; } 2687 2729 EOF 2688 if { (eval echo configure:2 689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2730 if { (eval echo configure:2731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2689 2731 rm -rf conftest* 2690 2732 eval "ac_cv_func_$ac_func=yes" … … 2713 2755 if test "$with_system_zlib" = yes; then 2714 2756 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6 2715 echo "configure:27 16: checking for deflate in -lz" >&52757 echo "configure:2758: checking for deflate in -lz" >&5 2716 2758 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'` 2717 2759 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2721 2763 LIBS="-lz $LIBS" 2722 2764 cat > conftest.$ac_ext <<EOF 2723 #line 27 24"configure"2765 #line 2766 "configure" 2724 2766 #include "confdefs.h" 2725 2767 /* Override any gcc2 internal prototype to avoid an error. */ … … 2732 2774 ; return 0; } 2733 2775 EOF 2734 if { (eval echo configure:27 35: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2776 if { (eval echo configure:2777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2735 2777 rm -rf conftest* 2736 2778 eval "ac_cv_lib_$ac_lib_var=yes" … … 2764 2806 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2765 2807 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2766 echo "configure:2 767: checking for $ac_hdr" >&52808 echo "configure:2809: checking for $ac_hdr" >&5 2767 2809 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2768 2810 echo $ac_n "(cached) $ac_c" 1>&6 … … 2770 2812 cat > conftest.$ac_ext <<EOF 2771 2813 #include <sys/types.h> 2772 #line 2 773"configure"2814 #line 2815 "configure" 2773 2815 #include "confdefs.h" 2774 2816 #include <$ac_hdr> 2775 2817 EOF 2776 2818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2777 { (eval echo configure:2 778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2819 { (eval echo configure:2820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2778 2820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2779 2821 if test -z "$ac_err"; then … … 2810 2852 toolexeclibdir='$(libdir)' 2811 2853 fi 2812 toolexeclibdir=$toolexeclibdir/`$CC -print-multi-os-directory 2>/dev/null || echo .` 2854 if test "$GCC" = yes && $CC -print-multi-os-directory > /dev/null 2>&1; then 2855 multiosdir=/`$CC -print-multi-os-directory` 2856 else 2857 multiosdir= 2858 fi 2859 toolexeclibdir=${toolexeclibdir}${multiosdir} 2813 2860 2814 2861 … … 3138 3185 CC="${CC}" 3139 3186 CXX="${CXX}" 3187 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}" 3140 3188 3141 3189 EOF -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.