]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
25 years ago* libltdl/ltdl.h (lt_dlrealloc): Added declaration.
Gary V. Vaughan [Fri, 28 Jan 2000 14:26:40 +0000 (14:26 +0000)] 
* libltdl/ltdl.h (lt_dlrealloc): Added declaration.
* libltdl/ltdl.c (lt_dlrealloc): Added default definition.

25 years ago* libltdl/ltdl.c (lt_dlseterror): Catch errorcodes below 0 as
Gary V. Vaughan [Fri, 28 Jan 2000 01:39:00 +0000 (01:39 +0000)] 
* libltdl/ltdl.c (lt_dlseterror): Catch errorcodes below 0 as
invalid.
* libltdl/ltdl.h (LTDL_ERROR): Added missing '_' in K&R
definition.

25 years ago* libltdl/ltdl.h (ltdl_error_table): Added missing error code, and
Gary V. Vaughan [Fri, 28 Jan 2000 01:33:33 +0000 (01:33 +0000)] 
* libltdl/ltdl.h (ltdl_error_table): Added missing error code, and
fixed typo in another code.
* doc/libtool.texi (Libltdl interface): Added missing @end
clause.

25 years ago* ltconfig.in: Oops, replace the remaining $objdir's
Thomas Tanner [Thu, 27 Jan 2000 20:33:40 +0000 (20:33 +0000)] 
* ltconfig.in: Oops, replace the remaining $objdir's

* ltmain.in: merge library linking code of programs and libraries,
  some cleanups

25 years ago* NEWS: Updated.
Gary V. Vaughan [Thu, 27 Jan 2000 16:13:07 +0000 (16:13 +0000)] 
* NEWS: Updated.
* doc/libtool.texi (Libltdl interface): Document new entry
points.
* libltdl/ltdl.c (lt_dladderror): New function to add a user
defined error message to the tables used by lt_dlerror().
(lt_dlseterror):  New function to allow setting of last_error by
user modules.
(ltdl_error_strings): New preprocessor generated table of internal
error diagnostic strings.
(user_error_strings): New internal list of registered user error
diagnostic strings.
(throughout!): Use error messages from ltdl_error_strings.
* libltdl/ltdl.h (ltdl_error_table): New macro to tabulate
internal diagnostic error strings alongside enum keys.

25 years ago* NEWS: Updated.
Gary V. Vaughan [Thu, 27 Jan 2000 15:14:34 +0000 (15:14 +0000)] 
* NEWS: Updated.
* doc/libtool.texi (Libltdl interface): Document new entry
points.
* libltdl/ltdl.c (lt_dltype_t):  Use new type definitions for
existing fields.
(lt_dladdtype): New function to add a new ltdl dynamic loader
type to the end of the list of valid types..
(lt_dlgettypes): New function to return the complete list of ltdl
dynamic loader types.
(lt_dlsettypes): New function to replace the list of ltdl dynamic
loader types entirely -- e.g. to prepend a new type to the
existing list.
(sys_dl_open, sys_dl_close, sys_dl_sym): Work with lt_syshandle..
(sys_shl_open, sys_shl_close, sys_shl_sym): ditto.
(sys_dld_open, sys_dld_close, sys_dld_sym): ditto.
(sys_wll_open, sys_wll_close, sys_wll_sym): ditto.
(sys_bedl_open, sys_bedl_close, sys_bedl_sym): ditto.
(presym_open, presym_close, presym_sym): ditto.
(tryall_dlopen): Call lt_lib_open_t functions lt_syshandle
compatibly.
(lt_dlclose): Call lt_lib_close_t functions lt_syshandle
compatibly.
(lt_dlsym): Call lt_find_sym_t functions lt_syshandle compatibly.
(lt_dltype_t): moved type declaration from here...
* libltdl/ltdl.h (lt_dltype_t): ...to here.
(lt_syshandle): new type for low level system handles passed by
loader functions
(lt_mod_init_t):  New type for functions implementing the
initialisation for an ltdl dynamic loader.
(lt_mod_exit_t): Type of exit functions for the same.
(lt_lib_open_t): Type of loader functions for the same.
(lt_lib_close_t): Type of unloader functions for the same.
(lt_find_sym_t): Type of symbol resolver functions for the same.

25 years ago* libltdl/ltdl.c (sys_dl_init, sys_dl_exit, sys_dl_open,
Gary V. Vaughan [Thu, 27 Jan 2000 15:07:49 +0000 (15:07 +0000)] 
* libltdl/ltdl.c (sys_dl_init, sys_dl_exit, sys_dl_open,
sys_dl_close, sys_dl_sym):  Preprocess these away on cygwin to
avoid spurious error messages.

25 years agofix severe bugs reported by Elrond <Elrond@Wunder-Nett.org>
Thomas Tanner [Mon, 24 Jan 2000 20:34:46 +0000 (20:34 +0000)] 
fix severe bugs reported by Elrond <Elrond@Wunder-Nett.org>

* ltconfig.in: replace $objdir with $output_objdir

* ltmain.in: change to the builddir before relinking programs

* ltmain.in, ltconfig.in, libtool.m4, ltdl.m4:
  remove unnessary spaces from line endings

25 years ago* ltmain.in: rewrite of the ILD code, merge linking code for
Thomas Tanner [Wed, 19 Jan 2000 20:34:37 +0000 (20:34 +0000)] 
* ltmain.in: rewrite of the ILD code, merge linking code for
  programs, libraries and objects, allow linking of shared libraries
  against static libraries/objects on platforms that support it
  but print a warning, fix some typos

* partially revert my previous change and
  update only copyright notices of files that were actually modified

* NEWS: update

* libltdl/Makefile.am: version number was wrong

* libltdl/ltdl.c (tryall_dlopen): revert Gary's change
  since it breaks dlpreopening
* ltdl.m4: ditto

* libltdl/ltdl.c (sys_search_path): search in the system default
  library search path, too
* ltdl.m4 (AC_LTDL_SYSSEARCHPATH): extract the path

* libltdl/ltdl.c (find_module): remove bogus file_not_found_error

* libltdl/ltdl.c (load_deplibs): implement loading of dependency
  libraries
* libltdl/ltdl.c (unload_deplibs): implement unloading of dependency
  libraries
* libltdl/ltdl.c (lt_dlexit): correctly close all modules and
  their dependencies

* libltdl/ltdl.c (lt_dlforeach): new function
* libltdl/ltdl.h: ditto
* doc/libtool.texi (using libltdl): document it

* libtool.m4: reformatting, only add -I$topsrc_dir/libltdl to
  INCLTDL

* libtoolize.in: reformatting
* ltconfig.in: reformatting
* ltmain.in: reformatting

* mdemo/configure.in: AC_SUBST INCLTDL
* mdemo/Makefile.am: use INCLTDL

* tests/Makefile.am: reexport OBJEXT and EXEEXT
* tests/dryrun.test: use them for building main.obj and mdemo.exe

25 years ago* libltdl/ltdl.c (tryall_dlopen): Abort with
Gary V. Vaughan [Mon, 17 Jan 2000 15:21:33 +0000 (15:21 +0000)] 
* libltdl/ltdl.c (tryall_dlopen): Abort with
file_not_found_error before trying all lib_open() methods
if the file to be dlopened doesn't exist.
* ltdl.m4 (AC_HAVE_HEADERS): add unistd.h.

25 years ago* libltdl/ltdl.c (find_file): memory error fixed.
Gary V. Vaughan [Sun, 16 Jan 2000 23:20:47 +0000 (23:20 +0000)] 
* libltdl/ltdl.c (find_file): memory error fixed.

25 years ago* ltconfig.in (Usage): Now it matches the code!
Gary V. Vaughan [Fri, 14 Jan 2000 23:44:52 +0000 (23:44 +0000)] 
* ltconfig.in (Usage): Now it matches the code!
Reported by Jon Leichter <jon@symas.com>

25 years ago* README: Some notes about libtool release numbers.
Gary V. Vaughan [Fri, 14 Jan 2000 23:40:20 +0000 (23:40 +0000)] 
* README:  Some notes about libtool release numbers.

25 years ago* mdemo/README: Explain the deliberate incompleteness of the
Gary V. Vaughan [Fri, 14 Jan 2000 13:50:21 +0000 (13:50 +0000)] 
* mdemo/README: Explain the deliberate incompleteness of the
Windows port.
* mdemo/configure.in: Use AC_LIBTOOL_WIN32_DLL.
* mdemo/Makefile.am (LDFLAGS):  Add -no-undefined.

25 years ago* libltdl/ltdl.h (LTDL_STMT_START, LTDL_STMT_END): Macros for
Gary V. Vaughan [Fri, 14 Jan 2000 13:28:52 +0000 (13:28 +0000)] 
* libltdl/ltdl.h (LTDL_STMT_START, LTDL_STMT_END):  Macros for
wrapping other macros to make a portable compound statement from
multiple C statements in the expansion.
(LTDL_SET_PRELOADED_SYMBOLS): Use the above macros to add an
extern declaration for lt_preloaded_symbols, to remove
dependency on undefined symbol from libltdl.dll on cygwin (and
other -no-undefined architectures).
* libltdl/ltdl.c (lt_preloaded_symbols): No longer defined here.

25 years ago* libtool,m4 (AC_LIBTOOL_SETUP): The result of lt_cv_need_dllmain
Gary V. Vaughan [Fri, 14 Jan 2000 12:14:41 +0000 (12:14 +0000)] 
* libtool,m4 (AC_LIBTOOL_SETUP):  The result of lt_cv_need_dllmain
was set to the opposite of what it should be.
* configure.in (AC_LIBTOOL_WIN32_DLL):  Call to this macro is
required for libtool configury to test lt_cv_need_dllmain on
Windows.

25 years ago* ltconfig.in (opt_cr, mingw*): replace unescaped ? with correctly
Gary V. Vaughan [Fri, 14 Jan 2000 10:18:10 +0000 (10:18 +0000)] 
* ltconfig.in (opt_cr, mingw*): replace unescaped ? with correctly
escaped and portable {0,1} in sed expression.

25 years ago* libtool.m4 (AC_LIBLTDL_CONVENIENCE): Add -I${top_srcdir}/libltdl
Gary V. Vaughan [Thu, 13 Jan 2000 00:52:59 +0000 (00:52 +0000)] 
* libtool.m4 (AC_LIBLTDL_CONVENIENCE): Add -I${top_srcdir}/libltdl
to default INCLTDL for VPATH.
(AC_LIBLTDL_INSTALLABLE): ditto.
Reported by Tom Tromey <tromey@cygnus.com>

25 years ago* update all copyright notices to 2000
Thomas Tanner [Thu, 13 Jan 2000 00:28:09 +0000 (00:28 +0000)] 
* update all copyright notices to 2000

* doc/libtool.texi (using libltdl): document new lt_dlinfo struct,
  replace NULL with @code{NULL}, document lt_dlsetdata(),
  lt_dlgetdata() and lt_dlgetinfo()
* libltdl/Makefile.am: increment interface version number
* libltdl/configure.in: set version number to 1.1
* libltdl/ltdl.c: make some variables public by moving them
  to the info struct, add support for application specific data
  within module handles, new lt_dlsetdata(), lt_dlgetdata() and
  lt_dlgetinfo() functions,
  fix memory leaks, minor cleanups
* libltdl/ltdl.h: ditto
* mdemo/main.c: demonstrate use of lt_dlgetinfo,
  improved handling of errors

* ltconfig.in: set hardcode_into_libs = yes for GNU/Hurd, Linux
  and Solaris, only hardcode *all* run-paths if hardcode_into_libs
  is set to 'all', otherwise hardcode only user-specified rpaths
  into libraries
* ltmain.in: minor cleanups, we don't need to add user-specified
  rpaths to compile_rpath, finalize_rpath is sufficient

* ltconfig.in: transform linux* -> *linux-gnu* _after_ host_os has
  been set! (reported by Bruno Haible <haible@ilog.fr>)

* configure.in: AC_SUBST reload_flag, deplibs_check_method
  and file_magic_cmd

* README: use 'libtool --version' instead of 'ltconfig --version'
  (suggested by Francios Pinard <pinard@iro.umontreal.ca>

25 years ago* libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Leave undefined when
Gary V. Vaughan [Mon, 10 Jan 2000 23:09:12 +0000 (23:09 +0000)] 
* libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Leave undefined when
not compiling for a Windows target.
* libltdl/ltdl.c (canonicalize_path): New function to
ensure internal paths use '/' directory separators.
(find_file): use canonicalize_path.  Memory management
changed to cope.
(lt_dlopen): ditto.
(free_vars): Removed `dir' and `name', which are now handled
internally.

25 years ago* libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Define to '/' or '\',
Gary V. Vaughan [Mon, 10 Jan 2000 15:40:25 +0000 (15:40 +0000)] 
* libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Define to '/' or '\',
as suitable for the target host.
(LTDL_PATHSEP_CHAR): Similarly with ':' or ';'.
* libltdl/ltdl.c: Use LTDL_DIRSEP_CHAR and LTDL_PATHSEP_CHAR
instead of hardcoding throughout.
Reported by Jon Leichter <jon@symas.com>

25 years ago* ltmain.in: Oops, `largarg' -> `lastarg'.
Alexandre Oliva [Sat, 18 Dec 1999 08:27:41 +0000 (08:27 +0000)] 
* ltmain.in: Oops, `largarg' -> `lastarg'.

25 years ago* ltmain.in (-Wc, -Xcompiler): Implemented in compile mode.
Alexandre Oliva [Sat, 18 Dec 1999 08:22:50 +0000 (08:22 +0000)] 
* ltmain.in (-Wc, -Xcompiler): Implemented in compile mode.

25 years ago* ltmain.in (-Xcompiler, -Xlinker): Add to compile_command and
Alexandre Oliva [Sat, 18 Dec 1999 07:50:04 +0000 (07:50 +0000)] 
* ltmain.in (-Xcompiler, -Xlinker): Add to compile_command and
finalize_command.
(-Wc, -Wl): Likewise.
* tests/quote.test: Adjust quoting style of -Wl.

25 years ago* ltmain.in: Oops, `echo' -> `$echo'.
Alexandre Oliva [Sat, 18 Dec 1999 07:09:44 +0000 (07:09 +0000)] 
* ltmain.in: Oops, `echo' -> `$echo'.

25 years ago* ltmain.in (-Wl, -Wc): Make commas argument separators, just like
Alexandre Oliva [Sat, 18 Dec 1999 07:02:40 +0000 (07:02 +0000)] 
* ltmain.in (-Wl, -Wc): Make commas argument separators, just like
in gcc.

25 years ago* ltmain.in (libtool_args): Get all arguments properly enclosed in
Alexandre Oliva [Sat, 18 Dec 1999 06:27:21 +0000 (06:27 +0000)] 
* ltmain.in (libtool_args): Get all arguments properly enclosed in
quotes and backslash-protected when needed.

25 years ago* ltdl.m4: Renamed from...
Alexandre Oliva [Thu, 16 Dec 1999 11:40:16 +0000 (11:40 +0000)] 
* ltdl.m4: Renamed from...
* libltdl/ltdl.m4: that no longer exists.
* configure.in (ACINCLUDE_M4_LIST): Removed libltdl/acinclude.m4.
* Makefile.am (aclocal_macros): Added ltdl.m4.
(libltdl/acinclude.m4): Concatenate libtool.m4 and ltdl.m4.
* bootstrap: Likewise.
* libltdl/Makefile.am (ACLOCAL): Remove the definition.  Relying
upon -I may lead to duplicates.
* doc/libtool.texi: Suggest appending ltdl.m4 to acinclude.m4.
* libtoolize.in: Check AC_LIB_LTDL version number in aclocal.m4.

25 years ago* libltdl/configure.in (with_auxdir): Do not use it as the
Alexandre Oliva [Thu, 16 Dec 1999 10:42:07 +0000 (10:42 +0000)] 
* libltdl/configure.in (with_auxdir): Do not use it as the
argument of AC_CONFIG_AUX_DIR, automake requires a literal here.
Use AC_CONFIG_AUX_DIRS/DIR_DEFAULT instead.

25 years ago* libltdl/Makefile.am (ACLOCAL): Define with `-I .', as in
Alexandre Oliva [Thu, 16 Dec 1999 10:39:14 +0000 (10:39 +0000)] 
* libltdl/Makefile.am (ACLOCAL): Define with `-I .', as in
bootstrap.

25 years ago* libltdl/configure.in: path to auxiliary files can be specified
Thomas Tanner [Wed, 15 Dec 1999 13:35:21 +0000 (13:35 +0000)] 
* libltdl/configure.in: path to auxiliary files can be specified
  using --with-auxdir (idea by Howard Chu <hyc@highlandsun.com>)

* ltmain.in: don't remove multiple occurences from dependency_libs
  of a library, otherwise many dependencies would get lost

* bootstrap: use "aclocal -I ." instead of adding the contents
  of ltdl.m4 to acinclude.m4

25 years ago* NEWS: updated.
Gary V. Vaughan [Mon, 13 Dec 1999 16:34:18 +0000 (16:34 +0000)] 
* NEWS: updated.
* libltdl/Makefile.am: Use -no-undefined for dll compliance.
* libltdl/configure.in: Use AC_LIBTOOL_WIN32_DLL for dll
compliance.
* libltdl/ltdl.c: Define and use LTDL_GLOBAL_DATA to correctly
export global data symbols from libtldl.dll.
* libltdl/ltdl.h: Define and use LTDL_SCOPE to declare data
symbols as dllexport, dllimport or plain ornary extern depending
in the context in which it is used.

25 years ago* doc/libtool.texi (Distributing libltdl): document use of
Gary V. Vaughan [Mon, 13 Dec 1999 13:44:29 +0000 (13:44 +0000)] 
* doc/libtool.texi (Distributing libltdl): document use of
ltdl.m4.
* libltdl/configure.in: Removed header checks, as they are
* libltdl/ltdl.m4: Added header checks from configure.in, so that
AC_LIB_LTDL is sufficient to compile ltdl.c.
Reported by Stephan Kulow <coolo@kde.org>.

25 years ago* ltconfig.in (ltdll_obj): fixed typo: objdir -> $objdir
Gary V. Vaughan [Mon, 13 Dec 1999 12:54:24 +0000 (12:54 +0000)] 
* ltconfig.in (ltdll_obj): fixed typo: objdir -> $objdir

25 years ago* ltconfig.in (cygwin*, mingw*, export_symbols_cmds): keep any
Gary V. Vaughan [Sun, 12 Dec 1999 01:37:07 +0000 (01:37 +0000)] 
* ltconfig.in (cygwin*, mingw*, export_symbols_cmds): keep any
DATA tags associated with symbols by recent dlltool.
(cygwin*, mingw*, archive_expsym_cmds): Honor any DATA tags
found in the symbol list.
Reported by Jon Leichter <jon@symas.com>.

25 years agoFrom Stephan Kulow <coolo@kde.org>
Gary V. Vaughan [Thu, 9 Dec 1999 23:35:14 +0000 (23:35 +0000)] 
From Stephan Kulow <coolo@kde.org>
* libltdl/ltdl.m4:  Add arg 3 to AC_DEFINE's to save the user
from having to hack acconfig.h.

25 years agoMoved CVS to subversions.gnu.org
Alexandre Oliva [Wed, 8 Dec 1999 10:53:40 +0000 (10:53 +0000)] 
Moved CVS to subversions.gnu.org

25 years ago* NEWS: Updated.
Gary V. Vaughan [Tue, 7 Dec 1999 10:52:53 +0000 (10:52 +0000)] 
* NEWS: Updated.
* TODO: Note some cleanups that are now needed.
* libltdl/configure.in: Use the new macroised tests.
* libltdl/ltdl.m4: New file, macroised tests formerly in
libltdl/configure.in.
Reported by Stephan Kulow <coolo@kde.org>.

25 years agoFrom Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
Gary V. Vaughan [Mon, 6 Dec 1999 10:02:40 +0000 (10:02 +0000)] 
From Tim Mooney  <mooney@dogbert.cc.ndsu.NoDak.edu>
* ltconfig.in:  split off the osf3 section, so that the osf4 and
osf5 sections can add `-msym' to arguments passed to the linker
for shared libs.

25 years agofile ltcf-cxx.sh was initially added on branch multi-language-branch.
Alexandre Oliva [Sat, 4 Dec 1999 02:55:16 +0000 (02:55 +0000)] 
file ltcf-cxx.sh was initially added on branch multi-language-branch.

25 years agofile ltcf-c.sh was initially added on branch multi-language-branch.
Alexandre Oliva [Sat, 4 Dec 1999 02:54:45 +0000 (02:54 +0000)] 
file ltcf-c.sh was initially added on branch multi-language-branch.

25 years ago* ltconfig.in (ac_compile): Use $ac_ext instead of .c. multi-language-fork
Alexandre Oliva [Fri, 3 Dec 1999 03:21:29 +0000 (03:21 +0000)] 
* ltconfig.in (ac_compile): Use $ac_ext instead of .c.
(ac_link): Likewise.
(dlfcn.h, ac_try): Do not add filename, it is already in
ac_compile.
Reported by Stephane Conversy <Stephane.Conversy@lri.fr>

25 years ago* ltconfig.in (linux-gnu*): Disable hardcode_into_libs until it
Alexandre Oliva [Fri, 3 Dec 1999 03:10:22 +0000 (03:10 +0000)] 
* ltconfig.in (linux-gnu*): Disable hardcode_into_libs until it
works together with fast_install.

25 years ago* libtool.m4: Use host when --target is not specified.
Alexandre Oliva [Fri, 3 Dec 1999 02:57:29 +0000 (02:57 +0000)] 
* libtool.m4: Use host when --target is not specified.

25 years ago* configure.in: AC_SUBST variables that are used by ltconfig to
Alexandre Oliva [Fri, 3 Dec 1999 02:27:33 +0000 (02:27 +0000)] 
* configure.in: AC_SUBST variables that are used by ltconfig to
build libtool.

25 years ago* ltconfig.in (irix6*): Do not override deplibs_check_method
Alexandre Oliva [Fri, 3 Dec 1999 02:10:41 +0000 (02:10 +0000)] 
* ltconfig.in (irix6*): Do not override deplibs_check_method
here.

25 years ago* libtool.m4: Do not AC_SUBST anything other than LIBTOOL.
Alexandre Oliva [Fri, 3 Dec 1999 02:09:19 +0000 (02:09 +0000)] 
* libtool.m4: Do not AC_SUBST anything other than LIBTOOL.

25 years ago* ltconfig.in (linux-gnu*): Set hardcode_into_libs=yes.
Michael Forster [Fri, 3 Dec 1999 02:02:23 +0000 (02:02 +0000)] 
* ltconfig.in (linux-gnu*): Set hardcode_into_libs=yes.

25 years ago* ltconfig.in: Be friendlier to C++ compilers when testing
Gary V. Vaughan [Mon, 29 Nov 1999 21:32:12 +0000 (21:32 +0000)] 
* ltconfig.in:  Be friendlier to C++ compilers when testing
for dlopen support.
Reported by Stephan Kulow <coolo@itm.mu-luebeck.de>

25 years ago* libtool.m4: better use of $target instead of $host to support
Gary V. Vaughan [Fri, 26 Nov 1999 00:34:17 +0000 (00:34 +0000)] 
* libtool.m4:  better use of $target instead of $host to support
cross compilation.
Reported by Sam Latinga <slouken@devolution.com>

25 years ago* configure.in: generate ltconfig and ltmain.sh before configuring
Thomas Tanner [Tue, 16 Nov 1999 15:20:50 +0000 (15:20 +0000)] 
* configure.in: generate ltconfig and ltmain.sh before configuring
  libltdl

25 years ago* tests/sh.test: New test to detect uses of quotes within
Alexandre Oliva [Thu, 4 Nov 1999 16:15:50 +0000 (16:15 +0000)] 
* tests/sh.test: New test to detect uses of quotes within
backticks within quotes.
* ltconfig.in, ltmain.in: Fix detected errors.  Mark false
positives with a comment that disables the detector.
Reported by Akim Demaille <akim@epita.fr>

25 years ago* configure.in: Move ltconfig and ltmain.sh generation back...
Alexandre Oliva [Thu, 4 Nov 1999 15:46:07 +0000 (15:46 +0000)] 
* configure.in: Move ltconfig and ltmain.sh generation back...
* Makefile.am: here.

25 years ago* NEWS: updated
Thomas Tanner [Tue, 2 Nov 1999 12:33:05 +0000 (12:33 +0000)] 
* NEWS: updated
* THANKS: added Olly Betts and Pavel Roskin
* doc/libtool.texi: fix typo

* fix major bugs which rendered libtool virtually
  unusable (i.e. not portable):
* ltconfig.in: don't hardcode system dependent variables in ltconfig!!
  but set sane defaults
* Makefile.am: pass variables from AC_LIBTOOL_SETUP to ltconfig
* libtool.m4: ditto, fix typo in AC_PROG_LD_RELOAD_FLAG

* ltconfig.in: use old_deplibs for archives, too
  remove second occurence of sysv5
* ltmain.in: fix typo, fix the second occurence of -DPIC, too

* libltdl/Makefile.am: increment version number, fix typo
* libltdl/ltdl.c (lt_dlsym): don't report an error if the
  libltdl-style symbol name wasn't found

* ltconfig.in: add support for Unixware (sysv4.2uw2*)

25 years ago* ltmain.in: Damnit! Cygwin cvs committed all the
Gary V. Vaughan [Sat, 30 Oct 1999 10:39:28 +0000 (10:39 +0000)] 
* ltmain.in:  Damnit!  Cygwin cvs committed all the
dos line endings.

25 years ago* ltmain.in (-DPIC): changed the order of pic flags a little to
Stephane Conversy [Thu, 28 Oct 1999 21:07:29 +0000 (21:07 +0000)] 
* ltmain.in (-DPIC):  changed the order of pic flags a little to
prevent upsetting the sgi c++ compiler.

25 years ago* ltconfig.in (opt_cr): Handle crlf sequences output by the
Olly Betts [Thu, 28 Oct 1999 20:28:11 +0000 (20:28 +0000)] 
* ltconfig.in (opt_cr):  Handle crlf sequences output by the
mingw toolchain.

25 years ago* libtool.m4: Third time lucky, with Tor's patch.
Olly Betts [Thu, 28 Oct 1999 20:18:15 +0000 (20:18 +0000)] 
* libtool.m4:  Third time lucky, with Tor's patch.

25 years ago* libtool.m4: these was a missing `*' in the -mno-cygwin
Tor Lillqvist [Wed, 20 Oct 1999 18:30:08 +0000 (18:30 +0000)] 
* libtool.m4:  these was a missing `*' in the -mno-cygwin
match.
* ltconfig.in (cygwin, ltdll_obj): fixed a quoting error.
(export_symbols_cmds): added missing cosmetic newline.

25 years ago* libtool.m4: test command used == which should be =.
Tor Lillqvist [Mon, 18 Oct 1999 20:03:57 +0000 (20:03 +0000)] 
* libtool.m4: test command used == which should be =.
Support -mno-cygwin flag for building mingw32 dlls.
* ltconfig.in (file_magic_cmd): add missing quotes.
(deplibs_check_method): and here.

25 years ago* libltdl/ltdl.c (lt_dlopen): Do not search paths when the
Alexandre Oliva [Sat, 16 Oct 1999 07:05:39 +0000 (07:05 +0000)] 
* libltdl/ltdl.c (lt_dlopen): Do not search paths when the
specified library is not just a basename.

25 years ago* libtool.m4 (AC_PATH_FILE): new macro replaces
Gary V. Vaughan [Sun, 10 Oct 1999 00:47:55 +0000 (00:47 +0000)] 
* libtool.m4 (AC_PATH_FILE): new macro replaces
AC_PATH_TOOL_GREP_OUTPUT.
(AC_PATH_TOOL_PREFIX): new macro replaces
AC_PATH_PROG_GREP_OUTPUT.
(AC_LD_RELOAD_FLAG):  migrated from ltconfig.in.
(AC_DEPLIBS_CHECK_METHOD): ditto.
* ltconfig.in (reload_flag): moved to libtool.m4.
(deplbs_check_method): ditto.

25 years ago* libtool.m4 (AC_PATH_PROG_VERSION_GREP): removed in favour of the
Gary V. Vaughan [Thu, 7 Oct 1999 15:40:07 +0000 (15:40 +0000)] 
* libtool.m4 (AC_PATH_PROG_VERSION_GREP): removed in favour of the
more general AC_PATH_PROG_GREP_OUTPUT.
(AC_PATH_TOOL_VERSION_GREP): removed in favour of the more general
AC_PATH_TOOL_GREP_OUTPUT.
(AC_PROG_LIBTOOL):  Search for a working find program in the
user's PATH using the new macros.

25 years ago* NEWS: updtaed.
Gary V. Vaughan [Wed, 6 Oct 1999 22:13:17 +0000 (22:13 +0000)] 
* NEWS: updtaed.

25 years ago* ltmain.in (-no-install): This doesn't work on win32 since
Gary V. Vaughan [Mon, 4 Oct 1999 14:44:15 +0000 (14:44 +0000)] 
* ltmain.in (-no-install):  This doesn't work on win32 since
the search path for libraries is not encoded in the binary,
and dlls not in $PATH won't be found.  Fall back to -no-fast-install
instead.

25 years ago* ltmain.in (-no-fast-install): Wrapper script used to add the
Gary V. Vaughan [Mon, 4 Oct 1999 14:26:11 +0000 (14:26 +0000)] 
* ltmain.in (-no-fast-install):  Wrapper script used to add the
exeext on again when naming the wrapped executable.

25 years ago* ltconfig.in: Set $FILE to @FILE@ for substitution with
Gary V. Vaughan [Sun, 3 Oct 1999 20:41:21 +0000 (20:41 +0000)] 
* ltconfig.in:  Set $FILE to @FILE@ for substitution with
the value found in libtool.m4 at configure time.
* libtool.m4 (AC_PATH_TOOL_GREP_VERSION):  New macro, combines
AC_PATH_PROG and AC_CHECK_TOOL with a test which greps the
output of $ac_dir/${ac_prefix}<tool> --version for a
given regex.
(AC_PATH_PROG_GREP_VERSION):  New macro used by the above.
(AC_LIBTOOL_SETUP): Use the new macros to search the PATH
[starting at /usr/bin] for a file program which accepts
--version and has "file" in its --version output.

25 years ago* NEWS: new -no-install flag
Thomas Tanner [Sun, 3 Oct 1999 16:36:32 +0000 (16:36 +0000)] 
* NEWS: new -no-install flag
* configure.in: fix typo
* doc/libtool.texi(Link mode): document -no-install flag,
  correct -no-fast-install docs
* libtool.m4: check for "file" command
* ltconfig.in: don't hardcode /usr/bin/file, remove second
  definition of sysv5, replace linkopts -> linker_flags
* ltmain.in: add new -no-install flag, print help for -no-install
  and -no-fast-install flags

* ltmain.in: always create output_objdir

* libltdl/Makefile.am: don't preserve file attributes when
  installing the libltdl sources

25 years ago* configure.in (AC_OUTPUT_COMMANDS): generate ltmain.sh
Gary V. Vaughan [Fri, 1 Oct 1999 23:12:15 +0000 (23:12 +0000)] 
* configure.in (AC_OUTPUT_COMMANDS): generate ltmain.sh
* Makefile.am (ltmain.sh ltconfig): removed.  Automake inserts the
rules to automatically call config.status.

25 years ago* libtool.m4: be sure to AC_SUBST values no longer tested in
Gary V. Vaughan [Fri, 1 Oct 1999 16:07:39 +0000 (16:07 +0000)] 
* libtool.m4: be sure to AC_SUBST values no longer tested in
ltconfig.in.
* ltconfig.in: replaced several of the simple feature tests with
substitutions from config.status.
* Makefile.am (ltconfig): generate ltconfig with config.status.
* configure.in (AC_OUTPUT): generate ltconfig with config.status.

25 years ago* ltconfig.in (sco3.2v5): use pass_all deplibs_check_method
Donald Anderson [Thu, 30 Sep 1999 00:26:51 +0000 (00:26 +0000)] 
* ltconfig.in (sco3.2v5): use pass_all deplibs_check_method
for SCO3.2.

25 years ago* ltconfig.in (whole-archive-flag-spec): I had been
Gary V. Vaughan [Wed, 29 Sep 1999 23:15:35 +0000 (23:15 +0000)] 
* ltconfig.in (whole-archive-flag-spec):  I had been
wondering why my file system was filling up with empty
files named `71'... seems I forgot to hold in the
shift key when redirecting stderr, 2>&1.  Doh!

25 years ago* ltconfig.in (sysv): More UW7 support.
Vadim [Wed, 29 Sep 1999 23:08:26 +0000 (23:08 +0000)] 
* ltconfig.in (sysv):  More UW7 support.

25 years ago* ltmain.in (shlibpath_var): ensure the variable is non-empty before
Albert Cheng [Tue, 28 Sep 1999 08:30:34 +0000 (08:30 +0000)] 
* ltmain.in (shlibpath_var): ensure the variable is non-empty before
exporting it.

25 years ago* ltconfig.in (sysv5): Added support required for shared
Manfred Weichel [Mon, 27 Sep 1999 20:22:28 +0000 (20:22 +0000)] 
* ltconfig.in (sysv5): Added support required for shared
library linking on SCO UW7.

25 years ago* ltconfig.in (whole-archive-flag-spec): test whether the
Gary V. Vaughan [Wed, 22 Sep 1999 00:14:08 +0000 (00:14 +0000)] 
* ltconfig.in (whole-archive-flag-spec): test whether the
version of GNU ld being used understands --whole-archive
before using it.

25 years ago* ltmain.in: don't ignore convenience libraries for objects/archives
Thomas Tanner [Sun, 19 Sep 1999 21:02:26 +0000 (21:02 +0000)] 
* ltmain.in: don't ignore convenience libraries for objects/archives
  (temporary hack)

25 years ago* ltconfig.in (CDPATH): Set to `:' instead of empty.
Alexandre Oliva [Tue, 14 Sep 1999 23:30:47 +0000 (23:30 +0000)] 
* ltconfig.in (CDPATH): Set to `:' instead of empty.
* ltmain.in (CDPATH): Likewise.
Reported by Greg McGary <gkm@eng.ascend.com>

26 years ago* ltconfig.in (ltdll.c, impgen.c): Prevent the shell from
Gary V. Vaughan [Tue, 24 Aug 1999 15:50:48 +0000 (15:50 +0000)] 
* ltconfig.in (ltdll.c, impgen.c): Prevent the shell from
expanding variables & backslash escapes when writing these
files to the libtool script.

26 years ago* NEWS: mention fixes
Thomas Tanner [Tue, 24 Aug 1999 11:05:14 +0000 (11:05 +0000)] 
* NEWS: mention fixes
* doc/PLATFORMS: GNU/Hurd update
* depdemo: make use of variables
* ltconfig.in: use CC -E when checking for ELF support
  on NetBSD (reported by Todd Vierling <tv@pobox.com>),
  replace all occurences of 'linkopts' with 'linker_flags'
* ltmain.in: move ltdll.c and impgen.c to ltconfig.in and
  only add them to the libtool script if it's necessary

* ltconfig.in: add support for UnixWare 7.X.X
* doc/PLATFORMS: add new platforms

* doc/libtool.texi: document use of noinst_LTLIBRARIES for
  convenience libraries

* ltconfig.in: check for freebsdelf3, not just freebsd3.
Set hardcode_into_libs=yes for FreeBSD 3.0 and 3.1

* ltmain.in: enable workaround for freebsdelf3.0

* ltconfig.in: export_dynamic_flag_spec is -rdynamic on BSD/OS

26 years ago* libltdl/COPYING.LIB: Update to version 2.1.
Alexandre Oliva [Sat, 7 Aug 1999 07:40:18 +0000 (07:40 +0000)] 
* libltdl/COPYING.LIB: Update to version 2.1.
* libltdl/ltdl.h, libltdl/ltdl.c: Update FSF address.

26 years ago* libtool.m4 (mingw*, AC_PROG_LD): use tr for carriage return
Gary V. Vaughan [Tue, 3 Aug 1999 11:44:17 +0000 (11:44 +0000)] 
* libtool.m4 (mingw*, AC_PROG_LD): use tr for carriage return
stripping.
* ltconfig.in: ditto.
From Olly Betts <olly@muscat.co.uk>

26 years ago* doc/libtool.texi (Compile mode): typo correction.
Olly Betts [Mon, 2 Aug 1999 22:40:36 +0000 (22:40 +0000)] 
* doc/libtool.texi (Compile mode): typo correction.
(Link mode): and another.
(Release numbers):  and another.
(Distributing libltdl): and another.
(Test descriptions): and another.
(libtool script contents): and one more.

26 years ago* libtool.m4 (AC_PROG_LD): strip carriage returns from the
Olly Betts [Mon, 2 Aug 1999 22:24:34 +0000 (22:24 +0000)] 
* libtool.m4 (AC_PROG_LD): strip carriage returns from the
output of gcc -print-prog-name=ld.
* ltconfig.in: ditto.

26 years agoAdded pending patches file to mail subdir
Pavel Roskin [Thu, 29 Jul 1999 23:40:57 +0000 (23:40 +0000)] 
Added pending patches file to mail subdir

26 years ago* ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else
Pavel Roskin [Thu, 29 Jul 1999 23:28:06 +0000 (23:28 +0000)] 
* ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else
initialised structures are sometimes emitted in the code section.

26 years ago* ltconfig.in: Read line at a time to avoid tokenisation by
Mumit Khan [Thu, 29 Jul 1999 22:58:41 +0000 (22:58 +0000)] 
* ltconfig.in:  Read line at a time to avoid tokenisation by
shell.

26 years ago* ltmain.in: Fix creation of relative links to object files in
Alexandre Oliva [Thu, 29 Jul 1999 19:33:55 +0000 (19:33 +0000)] 
* ltmain.in: Fix creation of relative links to object files in
sub-dirs.

26 years ago* ltconfig.in(cygwin mingw32, archive_expsym_cmds): Only compile
Olly Betts [Thu, 29 Jul 1999 16:31:24 +0000 (16:31 +0000)] 
* ltconfig.in(cygwin mingw32, archive_expsym_cmds): Only compile
and link ltdll.c if the libtool.m4 macros discovered that it is
required.

26 years ago* libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): Oops. Fix some
Olly Betts [Mon, 26 Jul 1999 15:16:10 +0000 (15:16 +0000)] 
* libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): Oops.  Fix some
typos made by Evil Gary while (mis)applying my patch :-).

26 years ago* libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): On second
Olly Betts [Mon, 26 Jul 1999 12:45:03 +0000 (12:45 +0000)] 
* libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP):  On second
thoughts, only probe for -mdll vs -dll on mingw, and revert to
the old `-Wl,--dll -nostartfiles' on cygwin.

26 years ago* doc/PLATFORMS (i*86-*openbsd2.5): New platform.
Erez Zadok [Fri, 23 Jul 1999 22:43:14 +0000 (22:43 +0000)] 
* doc/PLATFORMS (i*86-*openbsd2.5):  New platform.
Slight reordering of other bsd entries.

26 years ago* NEWS: Note new user visible changes.
Olly Betts [Fri, 23 Jul 1999 16:09:49 +0000 (16:09 +0000)] 
* NEWS: Note new user visible changes.
* libtool.m4 (mingw32, AC_LIBTOOL_SETUP): probe for -mdll vs -dll
under cygwin/mingw.
probe whether the cygwin/mingw library supplies a stub DllMain
(but this information isn't yet used).
* ltconfig.in (mingw32, extract_expsyms_cmds): if HOST_CC is set,
use that to build impgen so we can use it when cross-compiling.
use correct entry points for mingw so static C++ constructors get
called for code in the DLL.
* ltmain.in (impgen.c): define O_BINARY to 0 if it is not in the
system headers.

26 years ago* ltconfig.in: Updated bsdi4 soname specs to be more like
Bert Driehuis [Fri, 23 Jul 1999 00:48:04 +0000 (00:48 +0000)] 
* ltconfig.in:  Updated bsdi4 soname specs to be more like
linux as discussed on the bsdi mailing list.

26 years ago* configure.in (AC_PROG_RANLIB): No longer required as we now use
Gary V. Vaughan [Tue, 20 Jul 1999 09:29:31 +0000 (09:29 +0000)] 
* configure.in (AC_PROG_RANLIB):  No longer required as we now use
AC_CHECK_TOOL in AC_LIBTOOL_SETUP.
* libtool.m4 (AC_PROG_LIBTOOL):  Pass the $build variable to
ltconfig.
(AC_PROG_RANLIB): replaced with AC_CHECK_TOOL.
* ltconfig.in (build): new variable to hold the build triplet
which is now checked for unless --no-verify is specified.
(--build): new argument to set the build triplet.
(ranlib): Prefer ${host_alias}-ranlib[.exe] if $build is different
to $host.
* doc/libtool.texi (Invoking ltconfig): Document --build option.
* NEWS: Note --build option.

26 years ago* doc/PLATFORMS: Updated mostly *bsd platforms.
Erez Zadok [Mon, 19 Jul 1999 22:34:21 +0000 (22:34 +0000)] 
* doc/PLATFORMS: Updated mostly *bsd platforms.

26 years ago* doc/libtool.texi (Porting inter-library dependencies): Typos
Alexandre Oliva [Mon, 19 Jul 1999 11:44:01 +0000 (11:44 +0000)] 
* doc/libtool.texi (Porting inter-library dependencies): Typos
Reported by Petter Reinholdtsen <pere@hungry.com>

26 years ago* NEWS, TODO: updated (pic flags)
Thomas Tanner [Sat, 17 Jul 1999 09:00:53 +0000 (09:00 +0000)] 
* NEWS, TODO: updated (pic flags)
* libtool.m4 (AC_PROG_LIBTOOL): added --with-pic flag
* ltconfig.in: new pic_mode variable and --prefer[-non]-pic flags,
  fixed the strip check (reported by Keith Bostic <bostic@bostic.com>)
* ltmain.in (compile mode): build only PIC/non-PIC code depending
  on pic_mode
* libltdl/README: document the supported dlopen interfaces
* doc/libtool.texi (tests): documented new tests
* tests/Makefile.am: added new tests
* tests/demo-pic.test: new test to test --with-pic
* tests/demo-nopic.test: new test to test --without-pic
* tests/build-relink2.test: variant of build-relink.test that
  uses depdemo

26 years ago* doc/libtool.texi (C++ Libraries): fixed a typo.
Olly Betts [Fri, 9 Jul 1999 14:08:08 +0000 (14:08 +0000)] 
* doc/libtool.texi (C++ Libraries):  fixed a typo.

26 years ago* README-alpha: improved the release instructions to mention
Gary V. Vaughan [Tue, 6 Jul 1999 15:27:19 +0000 (15:27 +0000)] 
* README-alpha:  improved the release instructions to mention
actual list addresses for announcements, and urls for upload
locations.