Changeset 1103 for trunk/src/gcc/libtool.m4
- Timestamp:
- Jan 29, 2004, 7:37:01 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/libtool.m4
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1102 r1103 145 145 echo '[#]line __oline__ "configure"' > conftest.$ac_ext 146 146 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 147 160 case `/usr/bin/file conftest.$ac_objext` in 148 161 *32-bit*) … … 154 167 *64-bit*) 155 168 LD="${LD-ld} -64" 169 ;; 170 esac 171 fi 172 fi 173 rm -rf conftest* 174 ;; 175 176 ia64-*-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" 156 186 ;; 157 187 esac … … 569 599 570 600 hpux10.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'] 572 604 lt_cv_file_magic_cmd=/usr/bin/file 573 605 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 574 613 ;; 575 614 … … 598 637 linux-gnu*) 599 638 case $host_cpu in 600 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )639 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 601 640 lt_cv_deplibs_check_method=pass_all ;; 602 641 *) … … 629 668 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' 630 669 lt_cv_file_magic_test_file=/shlib/libc.so 631 lt_cv_deplibs_check_method=pass_all632 ;;633 634 os2*)635 670 lt_cv_deplibs_check_method=pass_all 636 671 ;; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.