Ignore:
Timestamp:
Apr 28, 2004, 6:58:06 AM (21 years ago)
Author:
bird
Message:

#1040: Joined the GCC 3.3.3 with the trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/libf2c/configure

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1393 r1394  
    858858# canonicalize only relative paths, because then amd will not unmount
    859859# drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
    860 glibcpp_builddir=`pwd`
     860glibcpp_builddir=`${PWDCMD-pwd}`
    861861case $srcdir in
    862862\\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
     
    17051705  hppa*)
    17061706    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/file
    1708   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1707    lt_cv_file_magic_cmd=/usr/bin/file
     1708    lt_cv_file_magic_test_file=/usr/lib/libc.sl
    17091709    ;;
    17101710  ia64*)
     
    17121712    lt_cv_file_magic_cmd=/usr/bin/file
    17131713    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    1714   ;;
     1714    ;;
    17151715  esac
    17161716  ;;
     
    17401740linux-gnu*)
    17411741  case $host_cpu in
    1742   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
     1742  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    17431743    lt_cv_deplibs_check_method=pass_all ;;
    17441744  *)
     
    21872187  ;;
    21882188
     2189x86_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
    21892231*-*-sco3.2v5*)
    21902232  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     
    21922234  CFLAGS="$CFLAGS -belf"
    21932235  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2194 echo "configure:2195: checking whether the C compiler needs -belf" >&5
     2236echo "configure:2237: checking whether the C compiler needs -belf" >&5
    21952237if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    21962238  echo $ac_n "(cached) $ac_c" 1>&6
     
    22052247
    22062248     cat > conftest.$ac_ext <<EOF
    2207 #line 2208 "configure"
     2249#line 2250 "configure"
    22082250#include "confdefs.h"
    22092251
     
    22122254; return 0; }
    22132255EOF
    2214 if { (eval echo configure:2215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2256if { (eval echo configure:2257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22152257  rm -rf conftest*
    22162258  lt_cv_cc_needs_belf=yes
     
    23362378set dummy ranlib; ac_word=$2
    23372379echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2338 echo "configure:2339: checking for $ac_word" >&5
     2380echo "configure:2381: checking for $ac_word" >&5
    23392381if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    23402382  echo $ac_n "(cached) $ac_c" 1>&6
     
    23772419# ./install, which can be erroneously created by make from ./install.sh.
    23782420echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    2379 echo "configure:2380: checking for a BSD compatible install" >&5
     2421echo "configure:2422: checking for a BSD compatible install" >&5
    23802422if test -z "$INSTALL"; then
    23812423if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    24322474
    24332475echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    2434 echo "configure:2435: checking whether ${MAKE-make} sets \${MAKE}" >&5
     2476echo "configure:2477: checking whether ${MAKE-make} sets \${MAKE}" >&5
    24352477set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    24362478if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    24612503# Sanity check for the cross-compilation case:
    24622504echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2463 echo "configure:2464: checking how to run the C preprocessor" >&5
     2505echo "configure:2506: checking how to run the C preprocessor" >&5
    24642506# On Suns, sometimes $CPP names a directory.
    24652507if test -n "$CPP" && test -d "$CPP"; then
     
    24772519  cat > conftest.$ac_ext <<EOF
    24782520#include <sys/types.h>
    2479 #line 2480 "configure"
     2521#line 2522 "configure"
    24802522#include "confdefs.h"
    24812523#include <assert.h>
     
    24832525EOF
    24842526ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2485 { (eval echo configure:2486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2527{ (eval echo configure:2528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24862528ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24872529if test -z "$ac_err"; then
     
    24952537  cat > conftest.$ac_ext <<EOF
    24962538#include <sys/types.h>
    2497 #line 2498 "configure"
     2539#line 2540 "configure"
    24982540#include "confdefs.h"
    24992541#include <assert.h>
     
    25012543EOF
    25022544ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2503 { (eval echo configure:2504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2545{ (eval echo configure:2546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25042546ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25052547if test -z "$ac_err"; then
     
    25132555  cat > conftest.$ac_ext <<EOF
    25142556#include <sys/types.h>
    2515 #line 2516 "configure"
     2557#line 2558 "configure"
    25162558#include "confdefs.h"
    25172559#include <assert.h>
     
    25192561EOF
    25202562ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2521 { (eval echo configure:2522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2563{ (eval echo configure:2564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25222564ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25232565if test -z "$ac_err"; then
     
    25452587ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'`
    25462588echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
    2547 echo "configure:2548: checking for stdio.h" >&5
     2589echo "configure:2590: checking for stdio.h" >&5
    25482590if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    25492591  echo $ac_n "(cached) $ac_c" 1>&6
     
    25512593  cat > conftest.$ac_ext <<EOF
    25522594#include <sys/types.h>
    2553 #line 2554 "configure"
     2595#line 2596 "configure"
    25542596#include "confdefs.h"
    25552597#include <stdio.h>
    25562598EOF
    25572599ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2558 { (eval echo configure:2559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2600{ (eval echo configure:2601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25592601ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25602602if test -z "$ac_err"; then
     
    25842626
    25852627echo $ac_n "checking for built-in g77 integer types""... $ac_c" 1>&6
    2586 echo "configure:2587: checking for built-in g77 integer types" >&5
     2628echo "configure:2629: checking for built-in g77 integer types" >&5
    25872629if eval "test \"`echo '$''{'libf2c_cv_has_g77_builtin_types'+set}'`\" = set"; then
    25882630  echo $ac_n "(cached) $ac_c" 1>&6
    25892631else
    25902632  cat > conftest.$ac_ext <<EOF
    2591 #line 2592 "configure"
     2633#line 2634 "configure"
    25922634#include "confdefs.h"
    25932635
     
    25992641; return 0; }
    26002642EOF
    2601 if { (eval echo configure:2602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2643if { (eval echo configure:2644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26022644  rm -rf conftest*
    26032645  libf2c_cv_has_g77_builtin_types=yes
     
    29302972toplevel_srcdir=${toplevel_srcdir}
    29312973CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
     2974ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
    29322975
    29332976EOF
Note: See TracChangeset for help on using the changeset viewer.