+1999-03-24 Thomas Tanner <tanner@gmx.de>
+
+ * doc/PLATFORMS: Erez Zadok reported that libtool works on bsdi 4.0.1
+ * doc/libtool.texi (libltdl): libltdl supports BeOS
+ * libltdl/ltdl.c: partially reverted my previous patch: BeOS will
+ automatically search in ADDON_PATH
+ * ltmain.in: only accept -L paths that exist, support relative
+ -L paths, removed offensive warnings/comments
+
1999-03-24 Alexandre Oliva <oliva@dcc.unicamp.br>
* ltconfig.in (ld_shlibs, amigaos*): disable shared libraries
hppa1.1-hp-hpux9.05 gcc 1.2f ok
hppa1.1-hp-hpux9.01 gcc 1.2f ok
i*86-*-bsdi4.0 gcc 1.2f ok
+i*86-*-bsdi4.0.1 gcc 1.2f ok
i*86-*-bsdi3.1 gcc 1.2e NS
i*86-*-bsdi3.0 gcc 1.2e NS
i*86-*-bsdi2.1 gcc 1.2e NS
@item
LoadLibrary (Win16 and Win32)
@item
+load_add_on (BeOS)
+@item
GNU DLD (emulates dynamic linking for static libraries)
@item
libtool's dlpreopen (see @pxref{Dlpreopening})
file = (FILE*) find_file(basename,
getenv("LTDL_LIBRARY_PATH"),
&dir, 0);
-#ifdef __BEOS__
- if (!file)
- file = (FILE*) find_file(basename,
- getenv("ADDON_PATH"),
- &dir, 0);
-#endif
#ifdef LTDL_SHLIBPATH_VAR
if (!file)
file = (FILE*) find_file(basename,
-L*)
dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
+ if test -d "$dir"; then :
+ else
+ $echo "$modename: directory \`$dir' does not exist" 1>&2
+ exit 1
+ fi
+ # We need an absolute path.
case "$dir" in
- /* | [A-Za-z]:[/\\]*)
- # Add the corresponding hardcode_libdir_flag, if it is not identical.
- ;;
+ /* | [A-Za-z]:[/\\]*) ;;
*)
- $echo "$modename: \`-L$dir' cannot specify a relative directory" 1>&2
- exit 1
+ absdir=`cd "$dir" && pwd`
+ if test -z "$absdir"; then
+ $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
+ exit 1
+ fi
+ dir="$absdir"
;;
esac
case " $deplibs " in
if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
eval flag=\"$thread_safe_flag_spec\"
-
linkopts="$linkopts $flag"
fi
link_command="$compile_var$compile_command$compile_rpath"
relink_command="$finalize_var$finalize_command$finalize_rpath"
- # AGH! Flame the AIX and HP-UX people for me, will ya?
$echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
$echo "$modename: \`$output' will be relinked during installation" 1>&2
else
# Replace the output file specification.
relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
- $echo "$modename: warning: relinking \`$file' on behalf of your buggy system linker" 1>&2
$show "$relink_command"
if $run eval "$relink_command"; then :
else