* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)

[ openbsd ]: Add an explicit check for shared libraries support.
This commit is contained in:
Matthieu Herrb 2007-03-29 22:24:31 +00:00 committed by Ralf Wildenhues
parent df0897ee7a
commit 01efecee4d
2 changed files with 40 additions and 27 deletions

View File

@ -1,3 +1,8 @@
2007-03-30 Matthieu Herrb <matthieu.herrb@laas.fr>
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
[ openbsd ]: Add an explicit check for shared libraries support.
2007-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2007-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.am ($(srcdir)/$(m4dir)/ltversion.m4): Fix quoting * Makefile.am ($(srcdir)/$(m4dir)/ltversion.m4): Fix quoting

View File

@ -4708,6 +4708,7 @@ _LT_EOF
;; ;;
openbsd*) openbsd*)
if test -f /usr/libexec/ld.so; then
_LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct, $1)=yes
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
_LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
@ -4728,6 +4729,9 @@ _LT_EOF
;; ;;
esac esac
fi fi
else
_LT_TAGVAR(ld_shlibs, $1)=no
fi
;; ;;
os2*) os2*)
@ -5919,6 +5923,7 @@ if test "$_lt_caught_CXX_error" != yes; then
;; ;;
openbsd*) openbsd*)
if test -f /usr/libexec/ld.so; then
_LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct, $1)=yes
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
_LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
@ -5930,6 +5935,9 @@ if test "$_lt_caught_CXX_error" != yes; then
_LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
fi fi
output_verbose_link_cmd=echo output_verbose_link_cmd=echo
else
_LT_TAGVAR(ld_shlibs, $1)=no
fi
;; ;;
osf3* | osf4* | osf5*) osf3* | osf4* | osf5*)