171 |
old_postuninstall_cmds= |
old_postuninstall_cmds= |
172 |
|
|
173 |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
174 |
|
case $host_os in |
175 |
|
openbsd*) |
176 |
|
old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" |
177 |
|
;; |
178 |
|
*) |
179 |
|
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" |
180 |
|
;; |
181 |
|
esac |
182 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
|
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" |
|
183 |
fi |
fi |
184 |
|
|
185 |
# Only perform the check for file, if the check method requires it |
# Only perform the check for file, if the check method requires it |
1294 |
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' |
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' |
1295 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
1296 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
1297 |
if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" || test"$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1298 |
shlibpath_overrides_runpath=no |
case $host_os in |
1299 |
|
openbsd2.[[89]] | openbsd2.[[89]].*) |
1300 |
|
shlibpath_overrides_runpath=no |
1301 |
|
;; |
1302 |
|
*) |
1303 |
|
shlibpath_overrides_runpath=yes |
1304 |
|
;; |
1305 |
|
esac |
1306 |
else |
else |
1307 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
1308 |
fi |
fi |
1951 |
openbsd*) |
openbsd*) |
1952 |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_cmd=/usr/bin/file |
1953 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
1954 |
if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1955 |
[lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'] |
[lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'] |
1956 |
else |
else |
1957 |
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' |
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' |
4799 |
_LT_AC_TAGVAR(hardcode_direct, $1)=yes |
_LT_AC_TAGVAR(hardcode_direct, $1)=yes |
4800 |
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no |
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no |
4801 |
|
|
4802 |
case "$host_os" in |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
4803 |
openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) |
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' |
4804 |
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
4805 |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
4806 |
;; |
else |
4807 |
*) |
case $host_os in |
4808 |
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' |
openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) |
4809 |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
4810 |
if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
4811 |
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
;; |
4812 |
fi |
*) |
4813 |
;; |
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' |
4814 |
esac |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
4815 |
|
;; |
4816 |
|
esac |
4817 |
|
fi |
4818 |
;; |
;; |
4819 |
|
|
4820 |
os2*) |
os2*) |