diff options
| author | Eric Christopher <echristo@apple.com> | 2011-10-26 00:42:12 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2011-10-26 00:42:12 +0000 |
| commit | 49709ad6d082776b7d3390ec82ddf8b3eccc5b11 (patch) | |
| tree | 1311e0f297430c978eb9f4e18e9c1fe0426520f3 /llvm/autoconf/m4 | |
| parent | 4bfff503fda162801c831da7634b005d3a341f22 (diff) | |
| download | bcm5719-llvm-49709ad6d082776b7d3390ec82ddf8b3eccc5b11.tar.gz bcm5719-llvm-49709ad6d082776b7d3390ec82ddf8b3eccc5b11.zip | |
Handle newer cases for freebsd which is approaching 10.0 and not 1.0.
Patch by Dimitry Andric!
llvm-svn: 142995
Diffstat (limited to 'llvm/autoconf/m4')
| -rw-r--r-- | llvm/autoconf/m4/libtool.m4 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/autoconf/m4/libtool.m4 b/llvm/autoconf/m4/libtool.m4 index e89738cc912..36ac3d15def 100644 --- a/llvm/autoconf/m4/libtool.m4 +++ b/llvm/autoconf/m4/libtool.m4 @@ -1384,7 +1384,7 @@ dgux*) shlibpath_var=LD_LIBRARY_PATH ;; -freebsd1*) +freebsd1.*) dynamic_linker=no ;; @@ -1407,7 +1407,7 @@ freebsd* | dragonfly*) objformat=`/usr/bin/objformat` else case $host_os in - freebsd[[123]]*) objformat=aout ;; + freebsd[[123]].*) objformat=aout ;; *) objformat=elf ;; esac fi @@ -1425,7 +1425,7 @@ freebsd* | dragonfly*) esac shlibpath_var=LD_LIBRARY_PATH case $host_os in - freebsd2*) + freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) @@ -3099,7 +3099,7 @@ case $host_os in ;; esac ;; - freebsd[[12]]*) + freebsd[[12]].*) # C++ shared libraries reported to be fairly broken before switch to ELF _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; @@ -5858,7 +5858,7 @@ _LT_EOF _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; - freebsd1*) + freebsd1.*) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; @@ -5874,7 +5874,7 @@ _LT_EOF ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) + freebsd2.*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes |

