]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
25 years ago* tests/dryrun.test: Build libsub.la along with the object files,
Alexandre Oliva [Mon, 4 Sep 2000 08:20:02 +0000 (08:20 +0000)] 
* tests/dryrun.test: Build libsub.la along with the object files,
since it is needed by libfoo2.la.

25 years ago* mdemo/Makefile.am: Mark only libfoo2 as -no-undefined.
Alexandre Oliva [Mon, 4 Sep 2000 08:10:02 +0000 (08:10 +0000)] 
* mdemo/Makefile.am: Mark only libfoo2 as -no-undefined.
Explicitly link it with libsub.la.

25 years ago* ltconfig.in (need_lc): Preserve allow_undefined_flag.
Alexandre Oliva [Mon, 4 Sep 2000 08:05:27 +0000 (08:05 +0000)] 
* ltconfig.in (need_lc): Preserve allow_undefined_flag.

25 years ago* tests/*.test (CONFIG_SITE): Ultrix's /bin/sh fails on
Alexandre Oliva [Mon, 4 Sep 2000 07:46:01 +0000 (07:46 +0000)] 
* tests/*.test (CONFIG_SITE): Ultrix's /bin/sh fails on
`. /dev/null'.  Set CONFIG_SITE to /dev/null/config/site, to make
sure we pick a non-existent file.

25 years ago* Makefile.am (libtool, clibtool): Pass CONFIG_SHELL along with
Alexandre Oliva [Mon, 4 Sep 2000 07:30:48 +0000 (07:30 +0000)] 
* Makefile.am (libtool, clibtool): Pass CONFIG_SHELL along with
ECHO down to ltconfig.

25 years ago* ltconfig.in (hardcode_libdir_flag_spec, export_dynamic_flag_spec):
Alexandre Oliva [Mon, 4 Sep 2000 07:06:51 +0000 (07:06 +0000)] 
* ltconfig.in (hardcode_libdir_flag_spec, export_dynamic_flag_spec):
Use ${wl}, not ${wlarc}.

25 years ago* ltmain.in (compile, need_lock): Don't create nor remove lock
Alexandre Oliva [Mon, 4 Sep 2000 06:29:21 +0000 (06:29 +0000)] 
* ltmain.in (compile, need_lock): Don't create nor remove lock
files in dry runs.

25 years ago* libltdl/ltdl.c (load_deplibs): Don't append shlib_ext; use
Alexandre Oliva [Mon, 4 Sep 2000 06:09:25 +0000 (06:09 +0000)] 
* libltdl/ltdl.c (load_deplibs): Don't append shlib_ext; use
lt_dlopenext() instead.

25 years ago* ltmain.in (link -static): Don't add $link_static_flag; only
Alexandre Oliva [Mon, 4 Sep 2000 05:10:30 +0000 (05:10 +0000)] 
* ltmain.in (link -static): Don't add $link_static_flag; only
-all-static should do that.
* mdemo/configure.in: Revert part of the previous delta.

25 years ago* mdemo/configure.in: Don't use -static on AIX4.1.
Alexandre Oliva [Mon, 4 Sep 2000 04:33:51 +0000 (04:33 +0000)] 
* mdemo/configure.in: Don't use -static on AIX4.1.
* mdemo/Makefile.am: Likewise.

25 years ago* ltconfig.in: Get rid of hardcode_into_libs=all; use
Alexandre Oliva [Mon, 4 Sep 2000 04:00:48 +0000 (04:00 +0000)] 
* ltconfig.in: Get rid of hardcode_into_libs=all; use
hardcode_into_libs=yes && shlibpath_overrides_runpath!=yes
instead.
[FreeBSD 3.[01]] (shlibpath_overrides_runpath): Set to no.
* ltmain.in: Likewise.
* tests/build-relink.test, tests/build-relink2.test: Adjust.

25 years ago* libtool.m4: Fix typo I introduced in yesterday's patch.
Alexandre Oliva [Mon, 4 Sep 2000 02:08:51 +0000 (02:08 +0000)] 
* libtool.m4: Fix typo I introduced in yesterday's patch.

25 years ago* libltdl/ltdl.c (lt_dlopen): Set dlname from library_names if
Alexandre Oliva [Mon, 4 Sep 2000 01:52:34 +0000 (01:52 +0000)] 
* libltdl/ltdl.c (lt_dlopen): Set dlname from library_names if
dlname is empty.

25 years ago* ltdl.m4 (HAVE_LIBDL): Look for dlopen in -lsvld.
Alexandre Oliva [Mon, 4 Sep 2000 01:41:59 +0000 (01:41 +0000)] 
* ltdl.m4 (HAVE_LIBDL): Look for dlopen in -lsvld.
* ltconfig.in: Likewise.

25 years ago* tests/mdemo-exec.test: Modify failure message.
Alexandre Oliva [Mon, 4 Sep 2000 01:20:16 +0000 (01:20 +0000)] 
* tests/mdemo-exec.test: Modify failure message.

25 years ago* ltmain.in (newdlprefiles): Use dlname if it's available and
Alexandre Oliva [Mon, 4 Sep 2000 01:18:13 +0000 (01:18 +0000)] 
* ltmain.in (newdlprefiles): Use dlname if it's available and
old_library isn't; use linklib only if dlname is not available.

25 years ago* ltconfig.in (enable_dlopen): Set to no when lt_cv_dlopen is no.
Alexandre Oliva [Mon, 4 Sep 2000 01:12:47 +0000 (01:12 +0000)] 
* ltconfig.in (enable_dlopen): Set to no when lt_cv_dlopen is no.

25 years ago* libtool.m4: Don't quote CONFIG_SHELL nor ORIGINAL_CONFIG_SHELL.
Alexandre Oliva [Sun, 3 Sep 2000 23:02:25 +0000 (23:02 +0000)] 
* libtool.m4: Don't quote CONFIG_SHELL nor ORIGINAL_CONFIG_SHELL.
Quote $@ properly so that the shell expands it, not m4.

25 years ago* libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL
Alexandre Oliva [Sun, 3 Sep 2000 21:53:03 +0000 (21:53 +0000)] 
* libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL
can be `/path/to/shell -x'.

25 years ago* tests/quote.test: Move the match test out of case statements, to
Alexandre Oliva [Sun, 3 Sep 2000 21:37:32 +0000 (21:37 +0000)] 
* tests/quote.test: Move the match test out of case statements, to
work around bug in /bin/sh of several OSs.

25 years ago* ltmain.in (variables_saved_for_relink): Attempt to unset them
Alexandre Oliva [Sun, 3 Sep 2000 03:13:56 +0000 (03:13 +0000)] 
* ltmain.in (variables_saved_for_relink): Attempt to unset them
instead of setting them to an empty string.

25 years ago* ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds)
Alexandre Oliva [Sat, 2 Sep 2000 23:27:56 +0000 (23:27 +0000)] 
* ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds)
<solaris*, sysv5*, beos*>: Use compiler_flags instead of linker
flags.
Reported by Alex Hornby <alex@anvil.co.uk>

25 years ago* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo,
Makoto Ishisone [Sat, 2 Sep 2000 23:15:57 +0000 (23:15 +0000)] 
* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo,
add support for compact format library.

25 years ago* ltdl.m4: Oops, I had forgotten to commit this part of Syd Polk's
Alexandre Oliva [Sat, 2 Sep 2000 23:06:57 +0000 (23:06 +0000)] 
* ltdl.m4: Oops, I had forgotten to commit this part of Syd Polk's
patch from 2000-06-17.

25 years ago* libtool.m4: Ignore Tru64's nm's complaint.
Tom Kacvinsky [Sat, 2 Sep 2000 22:50:13 +0000 (22:50 +0000)] 
* libtool.m4: Ignore Tru64's nm's complaint.

25 years ago* ltconfig.in: only load $cache_file if it's a regular file
Pavel Roskin [Sat, 2 Sep 2000 22:35:12 +0000 (22:35 +0000)] 
* ltconfig.in: only load $cache_file if it's a regular file

25 years ago* ltconfig.in: Add back ranlib calls for static libraries if there
Assar Westerlund [Sat, 2 Sep 2000 22:32:26 +0000 (22:32 +0000)] 
* ltconfig.in: Add back ranlib calls for static libraries if there
is a ranlib.

25 years agoMove the echo detection code to a macro in libtool.m4. The code
Gary V. Vaughan [Thu, 31 Aug 2000 17:23:44 +0000 (17:23 +0000)] 
Move the echo detection code to a macro in libtool.m4.  The code
at the top ofltconfig.in is ugly, but will go away when the rest
of ltconfig is migrated.

* Makefile.am (libtool):  Pass the value of $ECHO to ltconfig as
an environment variable.
* libtool.m4 (_LT_AC_PROG_ECHO_BACKSLASH): Quote the ECHO value
correctly so that it inserts the correct code into configure.in
suitably quoted for M4 expansion.  This code needs to be near
the top of configure.in as it calls itself recursively, so I
am using AC_DIVERSION_NOTICE (or simply NOTICE on CVS
Autoconf).  The value of ECHO is also substitued into the
Makefile to be used when Make calls ltconfig to generate
libtool, so another layer of quotation is required for the
Makefile.
(AC_LIBTOOL_SETUP):  Use it.
* ltconfig.in: Accept a value for ECHO from the environment, and
carefully substitue for $0 if it is present in the ECHO value.
Because ECHO was quoted for Make, when ltconfig is called by
configure, it is overquoted, and one layer of quotes must be
stripped.

25 years agoupdate config.guess and config.sub from ftp://ftp.gnu.org/gnu/config
Gary V. Vaughan [Mon, 28 Aug 2000 02:40:20 +0000 (02:40 +0000)] 
update config.guess and config.sub from ftp://ftp.gnu.org/gnu/config

25 years agotypo
Gary V. Vaughan [Sun, 27 Aug 2000 19:59:10 +0000 (19:59 +0000)] 
typo

25 years ago* ltconfig.in (with_gcc): Make the value of this option
Gary V. Vaughan [Sun, 27 Aug 2000 10:50:23 +0000 (10:50 +0000)] 
* ltconfig.in (with_gcc):  Make the value of this option
available to the generated libtool script.
* ltmain.in (compile_command, finalize_command):  The native C
and C++ compilers on IRIX require the -LANG:std in order to to
compile correctly.   The same options should _not_ be passed
through to gcc on IRIX, or at all on other architectures for
backwards compatibility (among others).
Reported by Bob Freisenhahn <bfreisen@simple.dallas.tx.us>
Reported by Albert Chin-A-Young <china@thewrittenword.com>

25 years ago* ltconfig.in (old_reload_flag): typo.
Gary V. Vaughan [Sat, 26 Aug 2000 13:10:48 +0000 (13:10 +0000)] 
* ltconfig.in (old_reload_flag): typo.

25 years ago* ltmain.in (shtool): Use echo|grep instead of expr, as in the
Alexandre Oliva [Tue, 1 Aug 2000 04:28:07 +0000 (04:28 +0000)] 
* ltmain.in (shtool): Use echo|grep instead of expr, as in the
original patch.

25 years ago* ltconfig.in (need_lc): Fix test message.
Alexandre Oliva [Tue, 1 Aug 2000 03:49:52 +0000 (03:49 +0000)] 
* ltconfig.in (need_lc): Fix test message.

25 years ago* ltconfig.in (NetBSD, deplibs_check_method): Use file_magic.
Mocha [Mon, 24 Jul 2000 06:15:50 +0000 (06:15 +0000)] 
* ltconfig.in (NetBSD, deplibs_check_method): Use file_magic.
(NetBSD, file_magic_cmd, file_magic_test_file): Set.

25 years ago* ltmain.in (irix, major): Prepend a `.'.
Alexandre Oliva [Mon, 24 Jul 2000 06:09:03 +0000 (06:09 +0000)] 
* ltmain.in (irix, major): Prepend a `.'.
* ltconfig.in (irix, soname_spec, library_names_spec): Adjust.

25 years ago* ltmain.in: Support GNU shtool's install.
Alexandre Oliva [Mon, 24 Jul 2000 05:42:55 +0000 (05:42 +0000)] 
* ltmain.in: Support GNU shtool's install.

25 years ago* ltconfig.in (linkopts): Don't set for test.
Alexandre Oliva [Mon, 24 Jul 2000 05:27:48 +0000 (05:27 +0000)] 
* ltconfig.in (linkopts): Don't set for test.

25 years agotypo
Nick Hudson [Mon, 24 Jul 2000 05:21:09 +0000 (05:21 +0000)] 
typo

25 years ago* ltconfig.in (linkopts): Replace with linker_flags.
Nick Hudson [Mon, 24 Jul 2000 05:20:06 +0000 (05:20 +0000)] 
* ltconfig.in (linkopts): Replace with linker_flags.

25 years ago* ltmain.in (ILD): Fix addition of deplibs in relink case.
Nick Hudson [Mon, 24 Jul 2000 05:15:35 +0000 (05:15 +0000)] 
* ltmain.in (ILD): Fix addition of deplibs in relink case.

25 years ago* ltconfig.in: Check if -lc is necessary for building shared
H.J. Lu [Thu, 20 Jul 2000 02:28:44 +0000 (02:28 +0000)] 
* ltconfig.in: Check if -lc is necessary for building shared
libary. Set build_libtool_need_lc to indicate it.
* ltmain.in: Add -lc when building shared libary only if
necessary.

25 years agotypo fix from Mo DeJong
Mo DeJong [Thu, 20 Jul 2000 01:59:15 +0000 (01:59 +0000)] 
typo fix from Mo DeJong

25 years ago* libtool.m4 (AC_PROG_NM): Fix macro so that it
Mo DeJong [Mon, 10 Jul 2000 09:42:21 +0000 (09:42 +0000)] 
* libtool.m4 (AC_PROG_NM): Fix macro so that it
finds a cross NM on the PATH.

25 years agoRecover data mysteriously replaced with NULs
Ken Block [Mon, 10 Jul 2000 07:37:12 +0000 (07:37 +0000)] 
Recover data mysteriously replaced with NULs

25 years ago* libltdl/ltdl.h: Also check for __cplusplus, __STDC__ is not
Ken Block [Mon, 10 Jul 2000 07:17:35 +0000 (07:17 +0000)] 
* libltdl/ltdl.h: Also check for __cplusplus, __STDC__ is not
by Compaq C++ compiler

25 years ago* ltconfig.in (wlarc, netbsd, aout): Set to empty.
Alexandre Oliva [Mon, 10 Jul 2000 06:54:27 +0000 (06:54 +0000)] 
* ltconfig.in (wlarc, netbsd, aout): Set to empty.
(hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it.

25 years ago* ltconfig.in (dynamic_linker, linux, powerpc): Do not disable
Alexandre Oliva [Mon, 10 Jul 2000 06:42:34 +0000 (06:42 +0000)] 
* ltconfig.in (dynamic_linker, linux, powerpc): Do not disable
shared libraries just because of MkLinux.

25 years ago* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend
Alexandre Oliva [Mon, 10 Jul 2000 06:08:09 +0000 (06:08 +0000)] 
* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend
on $version_type; check for ELF support as in other BSDs.

25 years ago* libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based
Syd Polk [Sun, 18 Jun 2000 02:59:36 +0000 (02:59 +0000)] 
* libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based
on target; use host instead.

25 years ago* ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when
Gary V. Vaughan [Tue, 30 May 2000 00:37:48 +0000 (00:37 +0000)] 
* ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when
the echo probing code falls into this branch without setting
this variable.

25 years ago* ltconfig.in (netbsd*): archive_cmds and archive_expsym_cmds
Gary V. Vaughan [Tue, 30 May 2000 00:13:11 +0000 (00:13 +0000)] 
* ltconfig.in (netbsd*): archive_cmds and archive_expsym_cmds
were reversed with respect to definition of __ELF__.
From Keisuke Inoue <keisuke@csl.sony.co.jp>

25 years ago* libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for
Gary V. Vaughan [Mon, 29 May 2000 18:02:07 +0000 (18:02 +0000)] 
* libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for
freebsd (below).
* libtool.m4 (netbsd ELF): support file_magic.
From Dan Winship <danw@helixcode.com>.

25 years ago* libtool.m4 (bsdi4*): Add -L option to bsdi4's file_magic_cmd
Steven M. Schultz [Mon, 29 May 2000 17:15:37 +0000 (17:15 +0000)] 
* libtool.m4 (bsdi4*): Add -L option to bsdi4's file_magic_cmd
command.  Under BSD/OS 4.1 several libraries are now symlinks
rather than regular files.  Adding -L tells the file program
to follow the symlink.

25 years ago* libtool.m4 (i*86-*-freebsd*): Forgot to changequote(,).
Gary V. Vaughan [Mon, 29 May 2000 17:04:11 +0000 (17:04 +0000)] 
* libtool.m4 (i*86-*-freebsd*): Forgot to changequote(,).

25 years ago* NEWS: Updated.
Gary V. Vaughan [Mon, 29 May 2000 16:53:24 +0000 (16:53 +0000)] 
* NEWS: Updated.
* libtool.m4 (i*86-*-freebsd*): Support a.out shared libs.
From <suzukis@file.phys.tohoku.ac.jp>

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.