]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* doc/PLATFORMS: Erez Zadok reported that libtool works on bsdi 4.0.1
authorThomas Tanner <tanner@gmx.de>
Wed, 24 Mar 1999 22:48:22 +0000 (22:48 +0000)
committerThomas Tanner <tanner@gmx.de>
Wed, 24 Mar 1999 22:48:22 +0000 (22:48 +0000)
* 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

ChangeLog
doc/PLATFORMS
doc/libtool.texi
libltdl/ltdl.c
ltmain.in

index 19a1844ec46d4be2ccc47e7e28ddf4f801de31ab..8f67e9b9ce633f261c90fdfd5e901539527a74a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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
index 236ff70c7966ab5fe09d3c2922f65485d02bb259..9fe5cf5bcdc0c70f7b95325eb163197f5270df1a 100644 (file)
@@ -19,6 +19,7 @@ hppa1.1-hp-hpux9.07             cc       1.0f     ok
 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
index 6a71725a032d7ed374da3481c35fca72ce6ba0e8..d4a72bdb930ae172a805637d95ee7830795f580c 100644 (file)
@@ -2599,6 +2599,8 @@ shl_load (HP-UX)
 @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})
index 65272fabdef65f7a143fe393236656cf3d5c9c69..df93ce07773d289c7dc412eae16bb15d1130a9c7 100644 (file)
@@ -1207,12 +1207,6 @@ lt_dlopen (filename)
                                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,
index 8eb7bc594d13386dbb99e3922b90e7357debe4e3..fed22505fd45dc7195366efcab0c9de07a123eaf 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1001,13 +1001,21 @@ compiler."
 
       -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
@@ -2040,7 +2048,6 @@ EOF
 
        if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
          eval flag=\"$thread_safe_flag_spec\"
-
          linkopts="$linkopts $flag"
        fi
 
@@ -2562,7 +2569,6 @@ static const void *lt_preloaded_setup() {
        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
@@ -3274,7 +3280,6 @@ libdir='$install_libdir'\
              # 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