]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
25 years agoSupport AR=mwld AR_FLAGS='-xml -o' for PPC Beos:
Fred Fish [Mon, 29 May 2000 16:09:56 +0000 (16:09 +0000)] 
Support AR=mwld AR_FLAGS='-xml -o' for PPC Beos:

* ltconfig (old_AR_FLAGS): Add.
(old_archive_cmds): Use AR_FLAGS rather than hardcoding "cru".
(archive_cmds): Use AR_FLAGS rather than hardcoding "cru".
(AR_FLAGS): Default to "cru" if not set.

25 years ago* ltconfig.in (echo): The following code actually prints the
Gary V. Vaughan [Mon, 29 May 2000 15:11:52 +0000 (15:11 +0000)] 
* ltconfig.in (echo): The following code actually prints the
double quotes -- so I removed them:
    echo='printf "%sn"' $echo 't'
From Tuukka Toivonen <tutoivon@mail.student.oulu.fi>

25 years ago* NEWS: Updated.
Gary V. Vaughan [Mon, 29 May 2000 14:29:51 +0000 (14:29 +0000)] 
* NEWS: Updated.

25 years ago* libtool.m4: adding ia64 as supported linux platform
Bernhard Rosenkraenzer [Mon, 29 May 2000 14:27:37 +0000 (14:27 +0000)] 
* libtool.m4: adding ia64 as supported linux platform

25 years ago* ltmain.in: fix quoting for $var_value.
Michael Matz [Mon, 29 May 2000 10:42:50 +0000 (10:42 +0000)] 
* ltmain.in: fix quoting for $var_value.

25 years ago* ltconfig.in: check for dlfcn.h: include return value
Michael Matz [Mon, 29 May 2000 09:48:54 +0000 (09:48 +0000)] 
* ltconfig.in: check for dlfcn.h: include return value
to make -Wall in CFLAGS work.

25 years ago* README-alpha: note new location of config.(guess|sub).
Gary V. Vaughan [Sat, 27 May 2000 02:33:56 +0000 (02:33 +0000)] 
* README-alpha: note new location of config.(guess|sub).

25 years ago* ltconfig.in (rhapsody*): New Port.
Chad Cunningham [Sat, 27 May 2000 02:20:00 +0000 (02:20 +0000)] 
* ltconfig.in (rhapsody*): New Port.
* ltmain.in (rhapsody*): ditto.

25 years ago* ltconfig.in (*-sequent-sysv4): New Port.
Chris Lattner [Sat, 27 May 2000 01:36:26 +0000 (01:36 +0000)] 
* ltconfig.in (*-sequent-sysv4): New Port.

25 years agofile ltcf-gcj.sh was initially added on branch multi-language-branch.
Alexandre Oliva [Fri, 26 May 2000 05:40:32 +0000 (05:40 +0000)] 
file ltcf-gcj.sh was initially added on branch multi-language-branch.

25 years ago* ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path
Gary V. Vaughan [Wed, 17 May 2000 10:20:26 +0000 (10:20 +0000)] 
* ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path
separators.

25 years agoAdjust docs
Alexandre Oliva [Sun, 14 May 2000 08:24:37 +0000 (08:24 +0000)] 
Adjust docs

25 years ago* libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE):
Alexandre Oliva [Sun, 14 May 2000 08:23:57 +0000 (08:23 +0000)] 
* libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE):
Pick LIBLTLD from top_builddir and INCLTDL from top_srcdir.
* mdemo/configure.in: Remove comments on
AC_LIBLTLD_CONVENIENCE.

25 years ago* libtool.m4 (_AC_PROG_LIBTOOL): Renamed from...
Alexandre Oliva [Sun, 14 May 2000 08:07:16 +0000 (08:07 +0000)] 
* libtool.m4 (_AC_PROG_LIBTOOL): Renamed from...
(AC_PROG_LIBTOOL): Just AC_REQUIRE(_AC_PROG_LIBTOOL), to avoid
effects of multiple runs.

25 years ago* NEWS: update
Thomas Tanner [Thu, 11 May 2000 15:17:27 +0000 (15:17 +0000)] 
* NEWS: update
* doc/libtool.texi (libltdl): rename lt_(find|next|add|remove)_dlloader
  to lt_dlloader_*
* libltdl/ltdl.c: ditto
* libltdl/ltdl.h: ditto, add declaration of lt_dlloader_(find|remove)

25 years ago* libltdl/ltdl.c: Typo.
Pavel Roskin [Sat, 6 May 2000 10:46:49 +0000 (10:46 +0000)] 
* libltdl/ltdl.c: Typo.

25 years ago* libtool.m4 (AC_LIBTOOL_SETUP): CVS autoconf no longer sets
Pavel Roskin [Sat, 6 May 2000 10:24:27 +0000 (10:24 +0000)] 
* libtool.m4 (AC_LIBTOOL_SETUP): CVS autoconf no longer sets
target to "NONE", but to an empty string.

25 years ago* ltdl.c: support lt_dlopen(0) for win32
Paul Sokolovsky [Fri, 5 May 2000 02:31:48 +0000 (02:31 +0000)] 
* ltdl.c: support lt_dlopen(0) for win32

25 years ago* doc/libtool.texi (libltdl): fix typos,
Thomas Tanner [Wed, 3 May 2000 13:26:03 +0000 (13:26 +0000)] 
* doc/libtool.texi (libltdl): fix typos,
  INCLTDL starts with top_srcdir, replace NULL with @code{NULL}

* ltmain.in (ILD): search in newlib_search_path, too

* ltmain.in (ILD): fix bugs in conv pass, expand convenience
  libs to deplibs and link them later on

* ltmain.in (ILD): don't allow convenience libs to be
   -dlopen/preopen'ed

* ltmain.in (ILD): it's not required to link all deplibs
  in fast-install mode

* ltmain.in (ILD): if hardcode_into_libs=all, only relink
  a library if it is linked against uninstalled libtool libraries,
  rename link_against_libtool_libs to uninst_deplibs

* ltmain.in (ILD): tidy up, add some comments

25 years ago* libtool.m4 (hpux10.20*): use file_magic for
John Wehle [Wed, 3 May 2000 00:34:45 +0000 (00:34 +0000)] 
* libtool.m4 (hpux10.20*): use file_magic for
inter-library dependency tracking.

25 years ago* AUTHORS: Update my email address.
Gary V. Vaughan [Tue, 2 May 2000 22:41:36 +0000 (22:41 +0000)] 
* AUTHORS:  Update my email address.
* commit: ditto.

25 years ago* NEWS: update
Thomas Tanner [Mon, 10 Apr 2000 18:39:30 +0000 (18:39 +0000)] 
* NEWS: update
* libtool.m4: add AC_LIBTOOL_PICMODE
* ltconfig.in: move pic_mode checks to ltmain.in
* ltmain.in: add -prefer-pic and -prefer-non-pic

25 years ago* ltmain.in (tmpdir): Do not accept an existing directory, and
Alexandre Oliva [Wed, 29 Mar 2000 06:48:06 +0000 (06:48 +0000)] 
* ltmain.in (tmpdir): Do not accept an existing directory, and
force its mode to 700, for security reasons.
Reported by Joseph S. Myers <jsm28@cam.ac.uk>

25 years ago* NEWS: reformatting
Thomas Tanner [Sun, 26 Mar 2000 23:01:20 +0000 (23:01 +0000)] 
* NEWS: reformatting

* ltmain.in (ILD): add extra convenience library scanning pass

* ltmain.in (ILD): accept -R flags for libraries, too

* ltmain.in (ILD): correclty merge the dlpreopened libraries
  with deplibs

* ltmain.in (install mode): remove directories from filenames
  before relinking (reported by Elrond <Elrond@Wunder-Nett.org>)

* doc/libtool.texi (libltdl): rename Library -> Lesser,
  clarify exception clause
* libltdl/ltdl.c, libltdl.h (License): ditto

25 years ago* ltconfig.in (variables_saved_for_relink): Set to `PATH
Alexandre Oliva [Tue, 21 Mar 2000 12:39:33 +0000 (12:39 +0000)] 
* ltconfig.in (variables_saved_for_relink): Set to `PATH
$shlibpath_var $runpath_var'.  If with_gcc, add gcc-related
environment variables.  Add it to the configuration section.
* ltmain.in (relink_command): Expand those variables.

25 years ago* ltconfig.in: added main() definition in compile
Christopher A. Knight [Tue, 14 Mar 2000 20:22:42 +0000 (20:22 +0000)] 
* ltconfig.in: added main() definition in compile
check for header `dlfcn.h' to fix link errors
when built with Sun Workshop Pro CC 4.2 (and perhaps
others).

25 years ago* libltdl/ltdl.c (lt_find_dlhandle): Deleted. This was B.S.
Gary V. Vaughan [Thu, 24 Feb 2000 02:15:35 +0000 (02:15 +0000)] 
* libltdl/ltdl.c (lt_find_dlhandle): Deleted.  This was B.S.
far cleaner to use lt_dlforeach and lt_dlgetinfo.
* libltdl/ltdl.h:  Prototype deleted.
* doc/libtool.texi: Documentation deleted.
* NEWS: annoncement deleted.

25 years ago* ltmain.in: remove duplicates from deplibs, handle
Thomas Tanner [Wed, 23 Feb 2000 23:10:05 +0000 (23:10 +0000)] 
* ltmain.in: remove duplicates from deplibs, handle
  interdependent libraries (e.g. -la -lb -la),
  this requires adding deplibs in reverse order

* ltmain.in: link dlpreopened libraries before other libraries
  (reported by Pavel Roskin)
* mdemo/Makefile.am: build and link libsub.la
* mdemo/sub.c: new file used by both dlopened modules
* mdemo/foo*: use sub() defined in libsub
* tests/dryrun.test: build libsub.la

* mdemo/Makefile.am: always link mdemo.static with -static
* mdemo/configure.in: ditto

* ltmain.in: fix dlopen/dlpreopening of objects

* ltmain.in (ILD): fix misplaced `continue' in -R* argument handler

* ltmain.in: merge duplicated code of clean and uninstall mode

* libtool.m4: recognize powerpc*linux* (reported by
  Dirk A. Mueller <dmuell@gmx.net>)

25 years ago* ltconfig.in (old_MAGIC, old_STRIP, old_reload_flag,
Gary V. Vaughan [Wed, 23 Feb 2000 01:47:14 +0000 (01:47 +0000)] 
* ltconfig.in (old_MAGIC, old_STRIP, old_reload_flag,
old_deplibs_check_method, old_file_magic_cmd):  New variabes.
Treat these as old_CC etc.
(STRIP, MAGIC): Create and set these variables in the generated
libtool script.
Reported by Pavel Roskin <pavel_rosin@geocities.com>

25 years ago* configure.in: Due to a bug in autoconf-2.13 implementation of
Gary V. Vaughan [Tue, 22 Feb 2000 23:35:52 +0000 (23:35 +0000)] 
* configure.in: Due to a bug in autoconf-2.13 implementation of
AC_SUBST, `AC_SUBST(FILE)' can never work.  Use MAGIC as the
holder of the command to run in file_magic_cmd instead.
* ltconfig.in: s/FILE/MAGIC/g.
* libtool.m4 (AC_PROG_LIBTOOL): set MAGIC in the environment when
calling ltconfig.
(AC_PATH_MAGIC):  renamed from AC_PATH_FILE.
(AC_PATH_TOOL_PREFIX):  s/FILE/MAGIC/g.  Also set file_magic_cmd
to '${MAGIC}' so that make can grok it.
* Makefile.am (libtool):
(clibtool): ditto.

25 years ago* libltdl/ltdl.c (lt_find_dlhandle): New function.
Gary V. Vaughan [Mon, 21 Feb 2000 22:27:24 +0000 (22:27 +0000)] 
* libltdl/ltdl.c (lt_find_dlhandle): New function.
(tryall_dlopen): Use it.
* libltdl/ltdl.h:  Prototype it.
* doc/libtool.texi: Document it.
* NEWS: updated.

25 years ago* libltdl/ltdl.c (lt_remove_dlloader): typo, s/=/==/g.
Gary V. Vaughan [Mon, 21 Feb 2000 22:09:36 +0000 (22:09 +0000)] 
* libltdl/ltdl.c (lt_remove_dlloader): typo, s/=/==/g.

25 years ago* libltdl/ltdl.c (lt_dlinit): removed unused variable, `loader'.
Gary V. Vaughan [Mon, 21 Feb 2000 22:03:16 +0000 (22:03 +0000)] 
* libltdl/ltdl.c (lt_dlinit): removed unused variable, `loader'.

25 years ago* libltdl/ltdl.h (lt_dlloader_data_t): New type for loader
Gary V. Vaughan [Mon, 7 Feb 2000 18:17:21 +0000 (18:17 +0000)] 
* libltdl/ltdl.h (lt_dlloader_data_t):  New type for loader
instance data.
(lt_user_dlloader): New lt_dlloader_data_t field.
(lt_module_open_t): Add lt_dlloader_data_t parameter.
(lt_module_close_t): Add lt_dlloader_data_t parameter.
(lt_find_sym_t): Add lt_dlloader_data_t parameter.
(lt_dlloader_exit_t): Add lt_dlloader_data_t parameter.
* libltdl/ltdl.c:  A sprinkling of /*ARGSUSED*/ markers to
reassure lint that the unused arguments are intentional.
(lt_dlloader_t): New lt_dlloader_data_t field.
(lt_dlloader_data): New function to return the contents of the
dlloader_data field.
(sys_dl_open): Take an additional lt_dlloader_data_t argument.
(sys_dl_close): Ditto.
(sys_dl_sym): Ditto.
(sys_dl): Initialise lt_dlloader_data_t field.
(sys_shl_open, sys_shl_close, sys_shl_sym, sys_shl): As above.
(sys_wll_open, sys_wll_close, sys_wll_sym, sys_wll): As above.
(sys_bedl_open, sys_bedl_close, sys_bedl_sym, sys_bedl): As
above.
(sys_dld_open, sys_dld_close, sys_dld_sym, sys_dld): As above.
(presym_init, presym_exit, presym_open, presym_close, presym_sym,
presym): As above.
(lt_dlinit): Call presym_init with additional argument.
(lt_dlexit): Call dlloader_exit method with additional argument.
(tryall_dlopen): Call module_open method with additional argument.
(lt_dlclose): Call module_close method with additional argument.
(lt_dlsym): Call find_sym method with additional argument.
(lt_add_dlloader): Initialise dlloader_data field.
(lt_remove_dlloader): Call dlloader_exit method with additional
argument.

25 years ago* libltdl/ltdl.c (find_file): Prevent early release of memory
Gary V. Vaughan [Thu, 3 Feb 2000 12:54:29 +0000 (12:54 +0000)] 
* libltdl/ltdl.c (find_file): Prevent early release of memory
in filename/*pdir.
From Jon Leichter <jon@symas.com>

25 years ago(sys_wll_init): Deleted. No longer required. And this time,
Gary V. Vaughan [Thu, 3 Feb 2000 12:33:06 +0000 (12:33 +0000)] 
(sys_wll_init): Deleted.  No longer required.  And this time,
with feeling!
(sys_wll_exit): Ditto.

25 years ago* NEWS: updated.
Gary V. Vaughan [Wed, 2 Feb 2000 22:43:14 +0000 (22:43 +0000)] 
* NEWS: updated.
* doc/libtool.texi (Libltdl interface): Moved user defined module
loader documentation from here...
(Module loaders for libltdl) ...to here, and updated the text and
added examples.
* ltdl.m4 (AC_CHECK_FUNCS): check strcmp for lt_find_dlloader.
* libltdl/ltdl.h: Reformatted and commented for readability.
(struct lt_user_dlloader): New data type for passing
initialisation pointers to lt_add_dlloader.
(LTDL_ERROR_INVALID_LOADER):  New error message when non loader
handles are passed to the user loader API.
(LTDL_ERROR_INIT_LOADER): New error when loader initialisation
fails.
(LTDL_ERROR_REMOVE_LOADER): New error when loader removal fails.
(lt_module_open_t): renamed from lt_lib_open_t.
(lt_module_close_t): renamed from lt_lib_close_t.
(lt_dlloader_exit_t): renamed from lt_dlloader_exit_t.
* libltdl/ltdl.c: Reordered builtin loaders so that the "dld"
loader no longer occurs before "dlopen" on some platforms and
after it on others.
(lt_dlloader_t): Moved here from ltdl.h, added a field,
"loader_name", for identifying the loader, and renamed from
lt_dltype_t.  Renamed type variables to loader IFF of type
lt_dlloader_t.
(lt_module_t): Renamed from lt_syshandle. Renamed handle variables
to module IFF of type lt_module_t.
(LTDL_TYPE_TOP): Deleted.  No longer required.
(sys_dl): Initialised as a struct lt_user_dlloader.
(sys_dl_init): Deleted.  No longer required.
(sys_dl_exit): Ditto.
(sys_shl): Initialised as a struct lt_user_dlloader.
(sys_shl_init): Deleted.  No longer required.
(sys_shl_exit): Ditto.
(sys_wll): Initialised as a struct lt_user_dlloader.
(sys_wll_init): Deleted.  No longer required.
(sys_wll_exit): Ditto.
(sys_bedl): Initialised as a struct lt_user_dlloader.
(sys_bedl_init): Deleted.  No longer required.
(sys_bedl_exit): Ditto.
(sys_dld): Initialised as a struct lt_user_dlloader.
(sys_dld_init): Deleted.  No longer required.
(sys_dld_exit): Ditto.
(sys_presym): Initialised as a struct lt_user_dlloader.
(lt_mod_init_t): Moved to here from ltdl.h.
(lt_dlinit): Add builtin loaders using the user loader API.
(lt_dlexit): Unregister and free all loaders.
(lt_add_dlloader): New function to add a new module loader after the
loader specified in the argument.
(lt_remove_dlloader): New function to remove a module loader.
(lt_next_dlloader): New function for iterating over module loaders.
(lt_dlloader_name): Accessor function for name of dlloader.
(lt_find_dlloader): New function to get a reference to a registered
module loader.
(strcmp): static implementation incase the host has none.
(lt_dlgettypes, lt_dlsettypes): Removed.

25 years ago* libltdl/ltdl.c: replace NULL with 0, remove unused system
Thomas Tanner [Wed, 2 Feb 2000 10:05:42 +0000 (10:05 +0000)] 
* libltdl/ltdl.c: replace NULL with 0, remove unused system
  and app_private pointers from lt_dlhandle_t
* libltdl/ltdl.c (presym_add_list): new preloaded symbols
  don't need to be added to the end

* libltdl/ltdl.c (lt_dlgetdata, lt_dlsetdata): removed
* libltdl/ltdl.h: ditto
* doc/libtool.texi (libltdl interface): ditto

25 years agoInadvertently placed this in the HEAD branch.
Thomas Tanner [Tue, 1 Feb 2000 23:24:43 +0000 (23:24 +0000)] 
Inadvertently placed this in the HEAD branch.

25 years ago* ltmain.in: support -dlopen/dlpreopen for libraries
Thomas Tanner [Tue, 1 Feb 2000 16:43:34 +0000 (16:43 +0000)] 
* ltmain.in: support -dlopen/dlpreopen for libraries
* NEWS: updated
* TODO: updated
* ltmain.in: rename dlopen to dlopen_support
* ltconfig.in: ditto
* doc/libtool.texi: ditto

* ltmain.in: check whether libraries are moved out of $libdir,
  replace .a and .lib with .$libext, .o and .obj with .$objext

25 years ago* configure.in (CONF_SUBDIRS): Added the `tagdemo' directory to
Ossama Othman [Tue, 1 Feb 2000 05:42:00 +0000 (05:42 +0000)] 
* configure.in (CONF_SUBDIRS): Added the `tagdemo' directory to
the list.
* ltcf-cxx.sh: Remove any residual `a.out' files resulting from
the "eval $output_verbose_link_cmds."
* ltconfig.in: Cleaned up nested quotes that were introduced with
the tags patch.  This fixes part sh.test failure.
* ltmain.in: Check if "$run" is of zero length before creating a
`.lo' file.  This fixes the dryrun.test failure.
Cleaned up nested quotes that were introduced with
the tags patch.  This fixes another part sh.test failure.
Remove "$libobj" not "libobj."
Exit with an error if both $object_name and $old_object are set to
"none" in the corresponding `.lo' file.  This should never happen.
Changed remaining uses of "mkdir" to "$mkdir."
Added dry run case to `.lo' case in link mode.  This fixes the
link-2.test failure.
(object_name, old_object): Prepend the subdirectory the `.lo'
resides in to the object names extracted from the `.lo' file.
This fixes the build-relink2.test failure.
(tempemovelist): Use $echo "X..." instead of echo "..." since
$Xsed is being used.  This fixes the last part of the sh.test
failure.
* tagdemo/Makefile.am, tagdemo/Makefile.in, tagdemo/README,
tagdemo/acinclude.m4, tagdemo/aclocal.m4, tagdemo/configure,
tagdemo/configure.in, tagdemo/foo.cpp, tagdemo/foo.h,
tagdemo/main.cpp, tests/tagdemo-conf.test tests/tagdemo-exec.test
tests/tagdemo-make.test tests/tagdemo-shared.test
tests/tagdemo-static.test: Added a new tagdemo that exercises
libtool's tagged configuration support found in the multilanguage
branch.
* tests/Makefile.am (TESTS): Added the tagdemo tests to the list.
* tests/quote.test: Updated to HEAD branch version.  This fixes
the quote.test failure.

25 years ago* libltdl/ltdl.h (lt_dlrealloc): removed declaration.
Gary V. Vaughan [Mon, 31 Jan 2000 10:40:12 +0000 (10:40 +0000)] 
* libltdl/ltdl.h (lt_dlrealloc): removed declaration.
* libltdl/ltdl.c (lt_dlrealloc): removed definition.
(lt_dladderror): Instead of calling lt_dlrealloc, use lt_dlmalloc,
and lt_dlfree.

25 years ago* libtool.m4 (lt_cv_cc_needs_belf): Set the test language to C
Ossama Othman [Mon, 31 Jan 2000 00:15:31 +0000 (00:15 +0000)] 
* libtool.m4 (lt_cv_cc_needs_belf): Set the test language to C
prior to executing the test that checks if the C compiler needs
"-belf."
Reported by Chris Butler <chrisb@sandy.force9.co.uk>

25 years ago* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use changequote to
Gary V. Vaughan [Fri, 28 Jan 2000 23:28:57 +0000 (23:28 +0000)] 
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD):  Use changequote to
protect `[' and `]' in deplibs_check_method.

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.