Ignore:
Timestamp:
Jan 29, 2004, 7:37:01 PM (22 years ago)
Author:
bird
Message:

Synced with binutils.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/libtool.m4

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r1102 r1103  
    145145  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
    146146  if AC_TRY_EVAL(ac_compile); then
     147   if test "$lt_cv_prog_gnu_ld" = yes; then
     148    case `/usr/bin/file conftest.$ac_objext` in
     149    *32-bit*)
     150      LD="${LD-ld} -melf32bsmip"
     151      ;;
     152    *N32*)
     153      LD="${LD-ld} -melf32bmipn32"
     154      ;;
     155    *64-bit*)
     156      LD="${LD-ld} -melf64bmip"
     157      ;;
     158    esac
     159   else
    147160    case `/usr/bin/file conftest.$ac_objext` in
    148161    *32-bit*)
     
    154167    *64-bit*)
    155168      LD="${LD-ld} -64"
     169      ;;
     170    esac
     171   fi
     172  fi
     173  rm -rf conftest*
     174  ;;
     175
     176ia64-*-hpux*)
     177  # Find out which ABI we are using.
     178  echo 'int i;' > conftest.$ac_ext
     179  if AC_TRY_EVAL(ac_compile); then
     180    case "`/usr/bin/file conftest.o`" in
     181    *ELF-32*)
     182      HPUX_IA64_MODE="32"
     183      ;;
     184    *ELF-64*)
     185      HPUX_IA64_MODE="64"
    156186      ;;
    157187    esac
     
    569599
    570600hpux10.20*|hpux11*)
    571   lt_cv_deplibs_check_method=['file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
     601  case $host_cpu in
     602  hppa*)
     603    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
    572604  lt_cv_file_magic_cmd=/usr/bin/file
    573605  lt_cv_file_magic_test_file=/usr/lib/libc.sl
     606    ;;
     607  ia64*)
     608    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64']
     609    lt_cv_file_magic_cmd=/usr/bin/file
     610    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     611  ;;
     612  esac
    574613  ;;
    575614
     
    598637linux-gnu*)
    599638  case $host_cpu in
    600   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
     639  alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    601640    lt_cv_deplibs_check_method=pass_all ;;
    602641  *)
     
    629668  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
    630669  lt_cv_file_magic_test_file=/shlib/libc.so
    631   lt_cv_deplibs_check_method=pass_all
    632   ;;
    633 
    634 os2*)
    635670  lt_cv_deplibs_check_method=pass_all
    636671  ;;
Note: See TracChangeset for help on using the changeset viewer.