]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
*** empty log message ***
authorThomas Tanner <tanner@gmx.de>
Fri, 1 Jan 1999 20:01:09 +0000 (20:01 +0000)
committerThomas Tanner <tanner@gmx.de>
Fri, 1 Jan 1999 20:01:09 +0000 (20:01 +0000)
ChangeLog
NEWS
THANKS
libltdl/ltdl.h
ltconfig.in
ltmain.in

index 8638de4687d230722b7611c5417db49cd0966466..8d25d25d07395b32ee036febaac8bded96c24da4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+1999-01-01  Thomas Tanner  <tanner@gmx.de>
+
+       * NEWS: new BeOS support
+       * THANKS: added Joseph Beckenbach
+       * libltdl/ltdl.h: use dllimport/export on Win32
+       
+1998-12-31  Joseph Beckenbach III <jrb3@best.com>
+
+       * ltconfig.in: added support for BeOS
+       * ltmain.in (shlibpath_var): added a workaround for 
+         an odd bug in the BeOS R4 sed
+       
 1998-12-31  Thomas Tanner  <tanner@gmx.de>
 
        * verified all copyright notices 
diff --git a/NEWS b/NEWS
index d69e4da028611dafacdade39769ede4e36011ae1..1bfc362e41bfa5ce50bb491e3d7dcad637769dc7 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
 NEWS - list of user-visible changes between releases of GNU Libtool
 
 New in 1.2e: CVS version:
+* Support for BeOS
 * Improved support for Win32, SysV 4.3 and NetBSD
 * Various bugfixes
 
diff --git a/THANKS b/THANKS
index d90d7f815c340ded52a444f40f40d14a86b89582..7055b792600d6da1f51bf45c77fdbefc4654ce58 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -20,6 +20,7 @@ Ian Lance Taylor <ian@cygnus.com>
 Joel Cannon <cannon@alpha.centenary.edu>
 Joel Klecker <espy@debian.org>
 Joel N. Weber II <devnull@gnu.org>
+Joseph Beckenbach III <jrb3@best.com>
 Karl Berry <kb@cs.umb.edu>
 Kenneth Albanowski <kjahds@kjahds.com>
 Marc J. Fraioli <fraioli@dg-rtp.dg.com>
index d9b993b251b8d95d57ffdde30dbac20160ef9503..8deacd0a7a3576575490807dcf1b78005ab5e175 100644 (file)
@@ -47,6 +47,16 @@ Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 # define lt_ptr_t     char*
 #endif
 
+#if defined(_WIN32) ||  defined(__CYGWIN__) || defined(__CYGWIN32__) || defined(WIN32)
+#  ifdef _LTDL_COMPILE_
+#    define EXTERN __declspec(dllexport)
+#  else
+#    define EXTERN extern __declspec(dllimport)
+#  endif
+#else
+#  define EXTERN extern
+#endif
+
 #ifdef _LTDL_COMPILE_
 typedef        struct lt_dlhandle_t *lt_dlhandle;
 #else
@@ -54,11 +64,11 @@ typedef     lt_ptr_t lt_dlhandle;
 #endif
 
 __BEGIN_DECLS
-int            lt_dlinit __P((void));
-int            lt_dlexit __P((void));
-lt_dlhandle    lt_dlopen __P((const char *filename));
-int            lt_dlclose __P((lt_dlhandle handle));
-lt_ptr_t       lt_dlsym __P((lt_dlhandle handle, const char *name));
+EXTERN int             lt_dlinit __P((void));
+EXTERN int             lt_dlexit __P((void));
+EXTERN lt_dlhandle     lt_dlopen __P((const char *filename));
+EXTERN int             lt_dlclose __P((lt_dlhandle handle));
+EXTERN lt_ptr_t                lt_dlsym __P((lt_dlhandle handle, const char *name));
 __END_DECLS
 
 #endif /* !_LTDL_H_ */
index eb874e04a2d2662c7122aea59a39ddf332429016..063e247e14ce00c398c889248482ce57d2006c78 100755 (executable)
@@ -580,7 +580,7 @@ if test "$with_gcc" = yes; then
   link_static_flag='-static'
 
   case "$host_os" in
-  aix3* | aix4* | irix5* | irix6* | osf3* | osf4*)
+  aix3* | aix4* | beos* | irix5* | irix6* | osf3* | osf4*)
     # PIC is the default for these OSes.
     ;;
   cygwin32* | mingw32* | os2*)
@@ -1008,6 +1008,14 @@ if test "$with_gnu_ld" = yes; then
     hardcode_shlibpath_var=no
     ;;
 
+  beos*)
+    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+      archive_cmds='$CC -nostart ${wl}-soname $wl$soname -o $lib $libobjs $deplibs'
+    else
+      ld_shlibs=no
+    fi
+    ;;
+
   cygwin32* | mingw32*)
     if test "$with_gcc" = yes; then
       # hardcode_libdir_flag_spec is actually meaningless, as there is
@@ -1590,6 +1598,12 @@ amigaos*)
   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
   ;;
 
+beos*)
+  library_names_spec='${libname}.so'
+  dynamic_linker="$host_os ld.so"
+  shlibpath_var=LIBRARY_PATH
+  ;;
+
 bsdi4*)
   version_type=linux
   library_names_spec='${libname}.so.$major ${libname}.so'
index 17b8e84baddad39894cfdf0631464c15ee0af45a..513756409e3c91aea0780a40fefb343934617c80 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -2129,7 +2129,8 @@ else
     $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
 
     # Some systems cannot cope with colon-terminated $shlibpath_var
-    $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/:*\$//'\`
+    # The second colon is a workaround for a bug in BeOS R4 sed
+    $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
 
     export $shlibpath_var
 "