summaryrefslogtreecommitdiffstats
path: root/llvm/autoconf/m4
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-08-06 20:52:18 +0000
committerEric Christopher <echristo@apple.com>2012-08-06 20:52:18 +0000
commit22738d00a30670d5227b47fe2b34d044cebd481c (patch)
treea9e31e9aa0be3f16ab53b67cbf51103467478870 /llvm/autoconf/m4
parentb9ddbd3daa318f38266ea8c4b0786073911615ed (diff)
downloadbcm5719-llvm-22738d00a30670d5227b47fe2b34d044cebd481c.tar.gz
bcm5719-llvm-22738d00a30670d5227b47fe2b34d044cebd481c.zip
Add support for the OpenBSD for Bitrig.
Patch by David Hill. llvm-svn: 161344
Diffstat (limited to 'llvm/autoconf/m4')
-rw-r--r--llvm/autoconf/m4/libtool.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/autoconf/m4/libtool.m4 b/llvm/autoconf/m4/libtool.m4
index 36ac3d15def..05af7a2ee3f 100644
--- a/llvm/autoconf/m4/libtool.m4
+++ b/llvm/autoconf/m4/libtool.m4
@@ -176,7 +176,7 @@ old_postuninstall_cmds=
if test -n "$RANLIB"; then
case $host_os in
- openbsd*)
+ openbsd* | bitrig*)
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
;;
*)
@@ -729,7 +729,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
lt_cv_sys_max_cmd_len=8192;
;;
- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly* | bitrig*)
# This has been around since 386BSD, at least. Likely further.
if test -x /sbin/sysctl; then
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
@@ -1631,7 +1631,7 @@ nto-qnx*)
shlibpath_overrides_runpath=yes
;;
-openbsd*)
+openbsd* | bitrig*)
version_type=sunos
sys_lib_dlsearch_path_spec="/usr/lib"
need_lib_prefix=no
@@ -3382,7 +3382,7 @@ case $host_os in
# C++ shared libraries are fairly broken
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
- openbsd*)
+ openbsd* | bitrig*)
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
@@ -6003,7 +6003,7 @@ _LT_EOF
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
;;
- openbsd*)
+ openbsd* | bitrig*)
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
OpenPOWER on IntegriCloud