From: Thomas Tanner Date: Wed, 10 Mar 1999 17:23:28 +0000 (+0000) Subject: * NEWS: ordered by importance X-Git-Tag: release-1-2f~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a840ce0b07aa97bb3a58e95a7b7c04da68a021df;p=thirdparty%2Flibtool.git * NEWS: ordered by importance * Makefile.am: set LIBTOOL_FLAGS when generating libtool * configure.in: check for dlopen support and set LIBTOOL_FLAGS accordingly --- diff --git a/ChangeLog b/ChangeLog index bf1c6e9ab..e835d7e5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 1999-03-10 Thomas Tanner + * NEWS: ordered by importance + * Makefile.am: set LIBTOOL_FLAGS when generating libtool + * configure.in: check for dlopen support and set LIBTOOL_FLAGS + accordingly + * configure.in: fix spacing for --disable-ltdl-install, always configure libltdl, add libltdl/acinclude.m4 to ACINCLUDE_M4_LIST, disable installation of libltdl if necessary diff --git a/Makefile.am b/Makefile.am index 7cc583be2..ffee14cc2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,15 +30,15 @@ bin_SCRIPTS = libtool libtoolize libtool: $(srcdir)/ltmain.sh $(srcdir)/ltconfig CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ LD="$(LD)" LN_S="$(LN_S)" NM="$(NM)" RANLIB="$(RANLIB)" \ - $(SHELL) $(srcdir)/ltconfig --srcdir=$(srcdir) --output=$@ \ - $(srcdir)/ltmain.sh + $(SHELL) $(srcdir)/ltconfig $(LIBTOOL_FLAGS) --srcdir=$(srcdir) \ + --output=$@ $(srcdir)/ltmain.sh # Experimental C version of libtool. clibtool: $(srcdir)/ltmain.c $(srcdir)/ltconfig CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ LD="$(LD)" LN_S="$(LN_S)" NM="$(NM)" RANLIB="$(RANLIB)" \ - $(SHELL) $(srcdir)/ltconfig --srcdir=$(srcdir) --output=$@ \ - $(srcdir)/ltmain.c + $(SHELL) $(srcdir)/ltconfig $(LIBTOOL_FLAGS) --srcdir=$(srcdir) \ + --output=$@ $(srcdir)/ltmain.c libtoolize: $(srcdir)/libtoolize.in $(top_builddir)/config.status CONFIG_FILES=libtoolize CONFIG_HEADERS= $(top_builddir)/config.status diff --git a/NEWS b/NEWS index fd5b8d63e..9b18388a9 100644 --- a/NEWS +++ b/NEWS @@ -1,46 +1,44 @@ NEWS - list of user-visible changes between releases of GNU Libtool New in 1.2e: CVS version; 1.2f: 1999-?-?, Libtool team: -* libltdl is now built and installed unless --disable-ltdl-install -* New AC_LIBLTDL_CONVENIENCE and AC_LIBLTDL_INSTALLABLE macros, to select - convenience and/or installable versions of libltdl. -* In order for libtool to attempt to link a shared library (dll) on win32 - platforms, you must pass the -no-undefined flag to libtool in link mode. -* The path to GNU ld now works on cygwin-b18 to cygwin-b20.2 at least. -* Support for IRIX library versioning. -* Improved support for DJGPP envionment. -* Wrapper scripts now work on win32. * libtool will correctly link uninstalled libraries into programs and prefer uninstalled libraries to installed ones * Library paths that are in the system search path are no longer hardcoded. * New fast installation mode, which links the final executable in order to avoid relinking during installation. Programs in the build-tree are relinked when executed. -* New AC_DISABLE_FAST_INSTALL macro to disable the fast-install mode +* New AC_DISABLE_FAST_INSTALL macro to set the default for + the fast-install mode to disabled * New -export-symbols-regex flag, to export symbols selectively by a regular expression +* Support -R for specifying run-time path of programs and library dependencies +* New -avoid-version option to avoid versioning for libraries +* libtool module names no longer need to have a "lib" prefix + (requires automake 1.4). +* New -thread-safe flag, to build thread-safe libraries * Major improvements in libltdl: API documentation, installable version, support for module search paths, support for lt_dlopen(0), can be embedded into packages as a tar file (libltdl.tar.gz), dynamic buffer allocation and buffer overflow checks, new macro LTDL_SET_PRELOADED_SYMBOLS() which must be used in the main program, dynamic memory allocation functions are user-defineable -* If libtool could not satisfy all dependencies of a module - it will only build a static version of it +* New AC_LIBLTDL_CONVENIENCE and AC_LIBLTDL_INSTALLABLE macros, to select + convenience and/or installable versions of libltdl. +* libltdl is now built and installed unless --disable-ltdl-install * New "-dlopen self" flag for dlopening the executable itself -* dld_preloaded_symbols was renamed to lt_preloaded_symbols * New AC_LIBTOOL_DLOPEN macro to check for dlopen support, required if you use -dlopen or -dlpreopen -* New -thread-safe flag, to build thread-safe libraries -* New demos and tests -* Improved shared library checking -* Support -R for specifying run-time path of programs and library dependencies +* If libtool could not satisfy all dependencies of a module + it will only build a static version of it +* dld_preloaded_symbols was renamed to lt_preloaded_symbols * Support for BeOS -* Improved support for FreeBSD, AIX, IRIX, OSF, SysV 4.3, HP/UX, +* Improved support for FreeBSD, AIX, IRIX, OSF, SysV 4.3, HP/UX, DJGPP BSD/OS 4.x and NetBSD -* New -avoid-version option to avoid versioning for libraries -* libtool module names no longer need to have a "lib" prefix - (requires automake 1.4). +* In order for libtool to attempt to link a shared library (dll) on win32 + platforms, you must pass the -no-undefined flag to libtool in link mode. +* The path to GNU ld now works on cygwin-b18 to cygwin-b20.2 at least. +* Support for IRIX library versioning. +* New demos and tests * Various bugfixes New in 1.2c: CVS version; 1.2d: 1998-12-16, Libtool team: diff --git a/configure.in b/configure.in index 50756f323..04347905e 100644 --- a/configure.in +++ b/configure.in @@ -39,6 +39,14 @@ AC_PROG_LN_S dnl For the `lineno' script (which puts line numbers into `ltconfig'). AC_PROG_AWK +dnl Check for dlopen support +AC_LIBTOOL_DLOPEN + +LIBTOOL_FLAGS= +test "x$lt_cv_dlopen" != xno && LIBTOOL_FLAGS="--enable-dlopen" +test "x$lt_cv_dlopen_self" = xyes && LIBTOOL_FLAGS="$LIBTOOL_FLAGS --enable-dlopen-self" +AC_SUBST(LIBTOOL_FLAGS) + AC_ARG_ENABLE(ltdl-install, [ --disable-ltdl-install do not install libltdl]) if test x"$enable_ltdl_install" = xno; then