Changeset 1394 for trunk/src/gcc/libf2c/configure
- Timestamp:
- Apr 28, 2004, 6:58:06 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/libf2c/configure
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1393 r1394 858 858 # canonicalize only relative paths, because then amd will not unmount 859 859 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd. 860 glibcpp_builddir=` pwd`860 glibcpp_builddir=`${PWDCMD-pwd}` 861 861 case $srcdir in 862 862 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;; … … 1705 1705 hppa*) 1706 1706 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1707 lt_cv_file_magic_cmd=/usr/bin/file1708 lt_cv_file_magic_test_file=/usr/lib/libc.sl1707 lt_cv_file_magic_cmd=/usr/bin/file 1708 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1709 1709 ;; 1710 1710 ia64*) … … 1712 1712 lt_cv_file_magic_cmd=/usr/bin/file 1713 1713 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1714 ;;1714 ;; 1715 1715 esac 1716 1716 ;; … … 1740 1740 linux-gnu*) 1741 1741 case $host_cpu in 1742 alpha* | mips* |hppa* | i*86 | powerpc* | sparc* | ia64* )1742 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1743 1743 lt_cv_deplibs_check_method=pass_all ;; 1744 1744 *) … … 2187 2187 ;; 2188 2188 2189 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 2190 # Find out which ABI we are using. 2191 echo 'int i;' > conftest.$ac_ext 2192 if { (eval echo configure:2193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2193 case "`/usr/bin/file conftest.o`" in 2194 *32-bit*) 2195 case $host in 2196 x86_64-*linux*) 2197 LD="${LD-ld} -m elf_i386" 2198 ;; 2199 ppc64-*linux*|powerpc64-*linux*) 2200 LD="${LD-ld} -m elf32ppclinux" 2201 ;; 2202 s390x-*linux*) 2203 LD="${LD-ld} -m elf_s390" 2204 ;; 2205 sparc64-*linux*) 2206 LD="${LD-ld} -m elf32_sparc" 2207 ;; 2208 esac 2209 ;; 2210 *64-bit*) 2211 case $host in 2212 x86_64-*linux*) 2213 LD="${LD-ld} -m elf_x86_64" 2214 ;; 2215 ppc*-*linux*|powerpc*-*linux*) 2216 LD="${LD-ld} -m elf64ppc" 2217 ;; 2218 s390*-*linux*) 2219 LD="${LD-ld} -m elf64_s390" 2220 ;; 2221 sparc*-*linux*) 2222 LD="${LD-ld} -m elf64_sparc" 2223 ;; 2224 esac 2225 ;; 2226 esac 2227 fi 2228 rm -rf conftest* 2229 ;; 2230 2189 2231 *-*-sco3.2v5*) 2190 2232 # On SCO OpenServer 5, we need -belf to get full-featured binaries. … … 2192 2234 CFLAGS="$CFLAGS -belf" 2193 2235 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2194 echo "configure:2 195: checking whether the C compiler needs -belf" >&52236 echo "configure:2237: checking whether the C compiler needs -belf" >&5 2195 2237 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2196 2238 echo $ac_n "(cached) $ac_c" 1>&6 … … 2205 2247 2206 2248 cat > conftest.$ac_ext <<EOF 2207 #line 22 08"configure"2249 #line 2250 "configure" 2208 2250 #include "confdefs.h" 2209 2251 … … 2212 2254 ; return 0; } 2213 2255 EOF 2214 if { (eval echo configure:22 15: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2256 if { (eval echo configure:2257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2215 2257 rm -rf conftest* 2216 2258 lt_cv_cc_needs_belf=yes … … 2336 2378 set dummy ranlib; ac_word=$2 2337 2379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2338 echo "configure:23 39: checking for $ac_word" >&52380 echo "configure:2381: checking for $ac_word" >&5 2339 2381 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2340 2382 echo $ac_n "(cached) $ac_c" 1>&6 … … 2377 2419 # ./install, which can be erroneously created by make from ./install.sh. 2378 2420 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2379 echo "configure:2 380: checking for a BSD compatible install" >&52421 echo "configure:2422: checking for a BSD compatible install" >&5 2380 2422 if test -z "$INSTALL"; then 2381 2423 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 2432 2474 2433 2475 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2434 echo "configure:24 35: checking whether ${MAKE-make} sets \${MAKE}" >&52476 echo "configure:2477: checking whether ${MAKE-make} sets \${MAKE}" >&5 2435 2477 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2436 2478 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 2461 2503 # Sanity check for the cross-compilation case: 2462 2504 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2463 echo "configure:2 464: checking how to run the C preprocessor" >&52505 echo "configure:2506: checking how to run the C preprocessor" >&5 2464 2506 # On Suns, sometimes $CPP names a directory. 2465 2507 if test -n "$CPP" && test -d "$CPP"; then … … 2477 2519 cat > conftest.$ac_ext <<EOF 2478 2520 #include <sys/types.h> 2479 #line 2 480"configure"2521 #line 2522 "configure" 2480 2522 #include "confdefs.h" 2481 2523 #include <assert.h> … … 2483 2525 EOF 2484 2526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2485 { (eval echo configure:2 486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2527 { (eval echo configure:2528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2486 2528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2487 2529 if test -z "$ac_err"; then … … 2495 2537 cat > conftest.$ac_ext <<EOF 2496 2538 #include <sys/types.h> 2497 #line 2 498"configure"2539 #line 2540 "configure" 2498 2540 #include "confdefs.h" 2499 2541 #include <assert.h> … … 2501 2543 EOF 2502 2544 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2503 { (eval echo configure:25 04: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2545 { (eval echo configure:2546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2504 2546 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2505 2547 if test -z "$ac_err"; then … … 2513 2555 cat > conftest.$ac_ext <<EOF 2514 2556 #include <sys/types.h> 2515 #line 25 16"configure"2557 #line 2558 "configure" 2516 2558 #include "confdefs.h" 2517 2559 #include <assert.h> … … 2519 2561 EOF 2520 2562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2521 { (eval echo configure:25 22: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2563 { (eval echo configure:2564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2522 2564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2523 2565 if test -z "$ac_err"; then … … 2545 2587 ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'` 2546 2588 echo $ac_n "checking for stdio.h""... $ac_c" 1>&6 2547 echo "configure:25 48: checking for stdio.h" >&52589 echo "configure:2590: checking for stdio.h" >&5 2548 2590 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2549 2591 echo $ac_n "(cached) $ac_c" 1>&6 … … 2551 2593 cat > conftest.$ac_ext <<EOF 2552 2594 #include <sys/types.h> 2553 #line 25 54"configure"2595 #line 2596 "configure" 2554 2596 #include "confdefs.h" 2555 2597 #include <stdio.h> 2556 2598 EOF 2557 2599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2558 { (eval echo configure:2 559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2600 { (eval echo configure:2601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2559 2601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2560 2602 if test -z "$ac_err"; then … … 2584 2626 2585 2627 echo $ac_n "checking for built-in g77 integer types""... $ac_c" 1>&6 2586 echo "configure:2 587: checking for built-in g77 integer types" >&52628 echo "configure:2629: checking for built-in g77 integer types" >&5 2587 2629 if eval "test \"`echo '$''{'libf2c_cv_has_g77_builtin_types'+set}'`\" = set"; then 2588 2630 echo $ac_n "(cached) $ac_c" 1>&6 2589 2631 else 2590 2632 cat > conftest.$ac_ext <<EOF 2591 #line 2 592"configure"2633 #line 2634 "configure" 2592 2634 #include "confdefs.h" 2593 2635 … … 2599 2641 ; return 0; } 2600 2642 EOF 2601 if { (eval echo configure:26 02: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2643 if { (eval echo configure:2644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2602 2644 rm -rf conftest* 2603 2645 libf2c_cv_has_g77_builtin_types=yes … … 2930 2972 toplevel_srcdir=${toplevel_srcdir} 2931 2973 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 2974 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}" 2932 2975 2933 2976 EOF -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.