+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
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
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>
# 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
#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_ */
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*)
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
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'
$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
"