]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
20 years ago* libltdl/ltdl.c: Whitespace cleanup.
Ralf Wildenhues [Thu, 13 Jan 2005 14:48:00 +0000 (14:48 +0000)] 
* libltdl/ltdl.c: Whitespace cleanup.

20 years ago* config/ltmain.m4sh: New option `--verbose'/`-v' to enable
Ralf Wildenhues [Wed, 12 Jan 2005 16:35:55 +0000 (16:35 +0000)] 
* config/ltmain.m4sh: New option `--verbose'/`-v' to enable
override of `--silent'.  Verbose is the default behavior.
* doc/libtool.texi (Invoking libtool): Document it.

20 years ago* libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: While "parsing"
Ralf Wildenhues [Wed, 12 Jan 2005 12:57:32 +0000 (12:57 +0000)] 
* libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: While "parsing"
/etc/ld.so.conf, skip comments.
Reported by Jens Elkner <elkner@linofee.org>.

20 years ago* libltdl/libltdl/lt__glibc.h: Move all exported slist
Ralf Wildenhues [Mon, 10 Jan 2005 18:49:27 +0000 (18:49 +0000)] 
* libltdl/libltdl/lt__glibc.h: Move all exported slist
symbols into the lt__* namespace.
* libltdl/libltdl/lt__private.h, libltdl/libltdl/slist.h:
Adjust includes.

20 years ago* config/ltmain.m4sh (func_mode_link): Fix
Peter O'Gorman [Mon, 10 Jan 2005 15:44:13 +0000 (15:44 +0000)] 
* config/ltmain.m4sh (func_mode_link): Fix
inherited_linker_flags so it puts it on the link line when
linking shared libraries as well as when linking executables.
* tests/inherited_flags.at: test inherited_linker_flags.
* tests/Makefile.am: Add test.
* tests/testsuite.at: Add test.
Reported by: Albert Chin-A-Young <china@thewrittenword.com>

20 years ago* tests/sh.test: After `set dummy [...]', check for `shift'
Ralf Wildenhues [Mon, 10 Jan 2005 10:59:37 +0000 (10:59 +0000)] 
* tests/sh.test: After `set dummy [...]', check for `shift'
within the same and following line.
* config/ltmain.m4sh (func_enable_tag, func_mode_install)
(func_mode_link): Sprinkle `shift's all over to conform to this.

20 years ago* HACKING (Editing 'ChangeLog'): Follow the GCS with respect to
Gary V. Vaughan [Sun, 9 Jan 2005 13:33:19 +0000 (13:33 +0000)] 
* HACKING (Editing 'ChangeLog'): Follow the GCS with respect to
attributions, and mention how to handle tiny changes.
Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>.

20 years ago* ChangeLog.2004: Trim 2005 entries.
Gary V. Vaughan [Sun, 9 Jan 2005 13:12:34 +0000 (13:12 +0000)] 
* ChangeLog.2004: Trim 2005 entries.
* ChangeLog: Add missing entries.

20 years ago* ChangeLog: Move 2004 change logs from here...
Gary V. Vaughan [Sat, 8 Jan 2005 21:34:28 +0000 (21:34 +0000)] 
* ChangeLog: Move 2004 change logs from here...
* ChangeLog.2004: ...to here.

20 years ago* m4/argz.m4, m4/libtool.m4, m4/ltdl.m4, m4/ltoptions.m4,
Gary V. Vaughan [Sat, 8 Jan 2005 21:17:57 +0000 (21:17 +0000)] 
* m4/argz.m4, m4/libtool.m4, m4/ltdl.m4, m4/ltoptions.m4,
m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4: RMS says,
'I think the [license of autoconf macro files] should be:
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is
# preserved.'.

20 years ago* ChangeLog: Reformatting.
Gary V. Vaughan [Sat, 8 Jan 2005 19:05:19 +0000 (19:05 +0000)] 
* ChangeLog: Reformatting.
* HACKING: Fix section numbering.
(Editing 'ChangeLog'): New notes on ChangeLog entry format.

20 years ago* tests/am-subdir.at tests/testsuite.at (AT_BOOTSTRAP,
Ralf Wildenhues [Mon, 3 Jan 2005 14:06:12 +0000 (14:06 +0000)] 
* tests/am-subdir.at tests/testsuite.at (AT_BOOTSTRAP,
AT_LIBTOOLIZE, AT_CHECK_LIBTOOLIZE) Rename to ..
(LT_AT_BOOTSTRAP, LT_AT_LIBTOOLIZE, LT_AT_CHECK_LIBTOOLIZE)
and make use of new names.

20 years ago* config/getopt.m4sh (func_version, func_usage, func_help):
Ralf Wildenhues [Thu, 30 Dec 2004 12:03:39 +0000 (12:03 +0000)] 
* config/getopt.m4sh (func_version, func_usage, func_help):
Use `$SED -n' instead of `$SED RANGE {..}; d' as AIX sed cannot
handle the latter.
(func_help): start autoconf and automake in subshells to avoid
error messages from ash or Bourne shell if not available.

20 years ago* config/general.m4sh (func_quote_for_eval): Move backslash to
Ralf Wildenhues [Tue, 28 Dec 2004 15:16:33 +0000 (15:16 +0000)] 
* config/general.m4sh (func_quote_for_eval): Move backslash to
beginning of character class, to work around old Bash bug.
(func_quote_for_expand): Also test to avoid unnecessary fork.

20 years ago* Makefile.am, bootstrap, clcommit.m4sh, libtoolize.m4sh,
Ralf Wildenhues [Tue, 28 Dec 2004 13:50:23 +0000 (13:50 +0000)] 
* Makefile.am, bootstrap, clcommit.m4sh, libtoolize.m4sh,
config/ltmain.m4sh: Replace `set --' with `set dummy [...]; shift'
for portability.  tests/sh.test: Test for this.

20 years ago* libtoolize.m4sh, config/ltmain.m4sh (most functions):
Ralf Wildenhues [Tue, 28 Dec 2004 13:31:12 +0000 (13:31 +0000)] 
* libtoolize.m4sh, config/ltmain.m4sh (most functions):
New variable $opt_debug is either `:' or `set -x' depending on --debug.
Execute at most function entries to cater for ksh which resets `-x'.
* tests/defs.m4sh: Ditto for VERBOSE=debug.

20 years ago* m4/libtool.m4 (_LT_LINKER_SHLIBS)
Ralf Wildenhues [Tue, 28 Dec 2004 13:17:27 +0000 (13:17 +0000)] 
* m4/libtool.m4 (_LT_LINKER_SHLIBS)
[cygwin, mingw, pw32 ]: _LT_TAGVAR missing for `fix_srcfile_path'.
[ sysv4, sysv5 ]: _LT_TAGVAR missing for `export_dynamic_flag_spec'.

20 years ago* doc/libtool.texi (all over): Use @option and @command.
Ralf Wildenhues [Tue, 28 Dec 2004 13:13:14 +0000 (13:13 +0000)] 
* doc/libtool.texi (all over): Use @option and @command.
Some more minor formatting updates, typos.

20 years ago* m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Fix variable
Ralf Wildenhues [Tue, 28 Dec 2004 12:56:47 +0000 (12:56 +0000)] 
* m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Fix variable
quoting; allows lt_ECHO to match --fallback-echo again.

20 years ago* config/ltmain.m4sh (func_extract_archives): Not all shells grok
Ralf Wildenhues [Tue, 28 Dec 2004 12:54:49 +0000 (12:54 +0000)] 
* config/ltmain.m4sh (func_extract_archives): Not all shells grok
`read -r' (unnecessary in this case).
Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>.

20 years ago* config/general.m4sh: New variable quote_scanset..
Ralf Wildenhues [Tue, 28 Dec 2004 12:40:43 +0000 (12:40 +0000)] 
* config/general.m4sh: New variable quote_scanset..
(func_quote_for_eval, func_quote_for_expand)  ..use it to work around
SunOS ksh `case' backslash-escaping bug: protect character class by
variable expansion.  Reported by Alexander Kurz <alexander.kurz@qsc.de>.

20 years ago* tests/quote.test: Restart under the correct shell (the one
Ralf Wildenhues [Tue, 28 Dec 2004 10:28:21 +0000 (10:28 +0000)] 
* tests/quote.test: Restart under the correct shell (the one
$ECHO was computed for).

20 years ago* libltdl/lt__dirent.c: Include lt__private.h.
Ralf Wildenhues [Tue, 21 Dec 2004 22:18:06 +0000 (22:18 +0000)] 
* libltdl/lt__dirent.c: Include lt__private.h.
* libltdl/libltdl/lt__private.h: Include lt__strl.h.

20 years ago* config/ltmain.m4sh (func_extract_archives,func_extract_an_archive):
Peter O'Gorman [Mon, 20 Dec 2004 15:03:39 +0000 (15:03 +0000)] 
* config/ltmain.m4sh (func_extract_archives,func_extract_an_archive):
On darwin, uniq can not take the flags -cd together, thanks to Ralf
for the fix, also ar does not accept N, so we use the fact that
ar x libfoo.a foo.o will always extract the first foo.o in the
archive and we then delete foo.o from the archive, which will also
delete only the first foo.o, then rinse and repeat. Also add markers
for the testuite.
* m4/libtool.m4 (_LT_CONFIG): Add a marker so that we can use a sed
expression to find the shell functions in libtool.
* tests/functests.at: Test this feature.
* tests/testsuite.at: Add the test.
* tests/Makefile.am: Add the test.

20 years ago* libtoolize.m4sh: Install `install-sh' as well, needed for configure ..
Ralf Wildenhues [Mon, 20 Dec 2004 13:08:35 +0000 (13:08 +0000)] 
* libtoolize.m4sh: Install `install-sh' as well, needed for configure ..
* Makefile.am, Makefile.maint: .. install, update it.
* NEWS, doc/libtool.texi (Distributing): .. document it.
Reported by Ross Boylan <ross@biostat.ucsf.edu>.

20 years ago* m4/libtool.m4 [solaris] (_LT_LINKER_SHLIBS): Add '${wl}-z ${wl}text'
Ralf Wildenhues [Mon, 20 Dec 2004 08:15:13 +0000 (08:15 +0000)] 
* m4/libtool.m4 [solaris] (_LT_LINKER_SHLIBS): Add '${wl}-z ${wl}text'
to archive_cmds and archive_expsyms_cmds.  I.e., do not allow nopic in
shared libraries.

20 years ago* m4/libtool.m4 [solaris] (_LT_LINKER_SHLIBS): Change no_undefined_flag
Ralf Wildenhues [Mon, 20 Dec 2004 08:06:21 +0000 (08:06 +0000)] 
* m4/libtool.m4 [solaris] (_LT_LINKER_SHLIBS): Change no_undefined_flag
back to ' -z defs'.  Problems with linking against libgcc.a will have
to be resolved differently.

20 years ago* tests/demo-nopic.test [solaris, sunos]: Skip test.
Ralf Wildenhues [Mon, 20 Dec 2004 07:59:58 +0000 (07:59 +0000)] 
* tests/demo-nopic.test [solaris, sunos]: Skip test.

20 years ago* libtool.m4 [linux] (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG):
Ralf Wildenhues [Sat, 18 Dec 2004 21:53:01 +0000 (21:53 +0000)] 
* libtool.m4 [linux] (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG):
Match icpc* and ecpc* (ia64 version of icpc) instead of only icpc.

20 years ago* libltdl/lt__dirent.c [mingw] (opendir): Fix write of constant
Ralf Wildenhues [Sat, 18 Dec 2004 21:42:08 +0000 (21:42 +0000)] 
* libltdl/lt__dirent.c [mingw] (opendir): Fix write of constant
strings past end of buffer.
(opendir, readdir): Fix read past end of buffer.

20 years ago* HACKING: Update list of non-Libtool-owned files.
Ralf Wildenhues [Fri, 17 Dec 2004 13:31:02 +0000 (13:31 +0000)] 
* HACKING: Update list of non-Libtool-owned files.

20 years ago* libtoolize.m4sh (func_copy_all_from_path): Remove spurious eval.
Akim Demaille [Fri, 17 Dec 2004 13:03:11 +0000 (13:03 +0000)] 
* libtoolize.m4sh (func_copy_all_from_path): Remove spurious eval.

20 years ago* libltdl/ltdl.c (trim): Return error rather than do bogus
Ralf Wildenhues [Thu, 16 Dec 2004 12:00:09 +0000 (12:00 +0000)] 
* libltdl/ltdl.c (trim): Return error rather than do bogus
null pointer arithmetic when parsing a malformed .la file.

20 years ago* libltdl/lt__strl.c, libltdl/libltdl/lt__strl.h: New files to
Bob Friesenhahn [Mon, 13 Dec 2004 21:09:19 +0000 (21:09 +0000)] 
* libltdl/lt__strl.c, libltdl/libltdl/lt__strl.h: New files to
emulate strlcat and strlcpy, which support size-bounded string
copying and concatenation for improved security.
* libltdl/Makefile.am: Optionally build source files
libltdl/lt__strl.c and libltdl/libltdl/lt__strl.h.
* m4/ltdl.m4 (LTDL_INIT): Add checks for strlcat and strlcpy.

20 years ago* libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
Albert Chin-A-Young [Mon, 13 Dec 2004 16:23:11 +0000 (16:23 +0000)] 
* libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
Append -G to link command-line on AIX to honor -brtl on command-line
(runtime linking). Already done for IBM C/C++ compilers.

20 years ago* configure.ac: Fix aclocaldir to use ${datadir}, not ${prefix}.
Patrick Welche [Sun, 12 Dec 2004 16:24:28 +0000 (16:24 +0000)] 
* configure.ac: Fix aclocaldir to use ${datadir}, not ${prefix}.
Necessary for removal of old libtool.m4 files.

20 years agofile func_extract_archives.test was initially added on branch branch-1-5.
Ralf Wildenhues [Sat, 11 Dec 2004 14:40:25 +0000 (14:40 +0000)] 
file func_extract_archives.test was initially added on branch branch-1-5.

20 years ago* config/ltmain.m4sh (func_extract_archive): Send stderr of $NM
Ralf Wildenhues [Fri, 10 Dec 2004 17:18:59 +0000 (17:18 +0000)] 
* config/ltmain.m4sh (func_extract_archive): Send stderr of $NM
to /dev/null.  Reported by Martin Waitz <tali@admingilde.org>.

20 years ago* config/ltmain.m4sh: Preserve -model [arg] option, used
Albert Chin-A-Young [Thu, 9 Dec 2004 17:59:15 +0000 (17:59 +0000)] 
* config/ltmain.m4sh: Preserve -model [arg] option, used
with the Tru64 UNIX C++ compiler. This option selects the
layout of C++ classes, name mangling, and exception handling.

20 years ago* config/ltmain.m4sh (func_mode_finish) [solaris]: Fix [] escaping bug.
Ralf Wildenhues [Thu, 9 Dec 2004 17:18:48 +0000 (17:18 +0000)] 
* config/ltmain.m4sh (func_mode_finish) [solaris]: Fix [] escaping bug.

20 years ago* config/ltmain.m4sh (all over the map): Make use of func_basename and
Ralf Wildenhues [Thu, 9 Dec 2004 17:12:41 +0000 (17:12 +0000)] 
* config/ltmain.m4sh (all over the map): Make use of func_basename and
func_dirname in most occasions.

20 years ago* m4/libtool.m4 (_LT_CHECK_XSI_SHELL, _LT_PROG_XSI_SHELLFNS): New macros
Ralf Wildenhues [Thu, 9 Dec 2004 17:10:10 +0000 (17:10 +0000)] 
* m4/libtool.m4 (_LT_CHECK_XSI_SHELL, _LT_PROG_XSI_SHELLFNS): New macros
to detect at `configure' time whether the shell supports some XSI
extensions and to copy appropriate versions of new shell functions into
`libtool' through `config.status'.  Copied functions are Bourne and XSI
variants of func_basename, func_dirname (a variant of `dirname' suitable
for libtool).  (_LT_SETUP) Require _LT_CHECK_XSI_SHELL.
(_LT_CONFIG)  Use _LT_PROG_XSI_SHELLFNS to insert into `libtool' at marker.

20 years ago* config/ltmain.m4sh: Set marker for insertion of shell functions.
Ralf Wildenhues [Thu, 9 Dec 2004 17:07:28 +0000 (17:07 +0000)] 
* config/ltmain.m4sh: Set marker for insertion of shell functions.

20 years ago* config/general.m4sh (func_quote_for_eval): Only fork if the
Ralf Wildenhues [Thu, 9 Dec 2004 17:05:10 +0000 (17:05 +0000)] 
* config/general.m4sh (func_quote_for_eval): Only fork if the
substitution matches.

20 years ago* TODO: Paste Peter's summary of the TODO thread starting at
Gary V. Vaughan [Fri, 3 Dec 2004 11:28:45 +0000 (11:28 +0000)] 
* TODO: Paste Peter's summary of the TODO thread starting at
http://lists.gnu.org/archive/html/libtool/2004-11/msg00130.html.

20 years ago* config/ltmain.m4sh: Remove code which is no longer needed
Bob Friesenhahn [Thu, 2 Dec 2004 16:40:55 +0000 (16:40 +0000)] 
* config/ltmain.m4sh: Remove code which is no longer needed
now that temp_rpath only contains fully-qualified elements.

20 years ago* config/general.m4sh: basename sed-subst is anchored and thus
Ralf Wildenhues [Tue, 30 Nov 2004 20:46:23 +0000 (20:46 +0000)] 
* config/general.m4sh: basename sed-subst is anchored and thus
does not need the `g' flag.
(func_quote_for_eval): Return both the possibly double-quoted
backslashified as well as only the backslashified argument.
* config/ltmain.m4sh (func_mode_link): Use both return values,
to save another sed_quote_subst application per cmdline arg.

20 years ago* config/ltmain.m4sh (func_lalib_p): Update function
Ralf Wildenhues [Mon, 29 Nov 2004 21:18:26 +0000 (21:18 +0000)] 
* config/ltmain.m4sh (func_lalib_p): Update function
description. (func_lalib_unsafe_p): New function with same
functionality but written without forks; this function is safe
to use for cases where the argument either does not exist or
is required to be a lalib for correct operation.
* NEWS: Mention the fact that stdin is not to be used.
* (func_mode_execute, func_mode_install, func_mode_link):
Use func_lalib_unsafe_p where appropriate.
* (func_mode_execute): For the program wrapper, use
func_ltwrapper_p instead of func_lalib_p.

20 years ago* m4/libtool.m4 (_LT_LINKER_SHLIBS): Treat linux-dietlibc with
Ralf Wildenhues [Mon, 29 Nov 2004 21:12:41 +0000 (21:12 +0000)] 
* m4/libtool.m4 (_LT_LINKER_SHLIBS): Treat linux-dietlibc with
the `diet' compiler wrapper (as opposed to the `diet-dyn'
wrapper) as a static-only platform.
* NEWS: Updated.

20 years ago* libltdl/ltdl.c (trim): Use memcpy instead of strncpy here, to
Ralf Wildenhues [Mon, 29 Nov 2004 21:06:24 +0000 (21:06 +0000)] 
* libltdl/ltdl.c (trim): Use memcpy instead of strncpy here, to
avoid problems with non-conforming strncpy.  This is safe here.

20 years ago* m4/ltdl.m4 (LT_LIB_DLLOAD): Define HAVE_LIBDLLOADER if we
Ralf Wildenhues [Mon, 29 Nov 2004 21:00:20 +0000 (21:00 +0000)] 
* m4/ltdl.m4 (LT_LIB_DLLOAD): Define HAVE_LIBDLLOADER if we
have a dlloader to preload.
* libltdl/ltdl.c (lt_dlinit): Only preload if HAVE_LIBDLLOADER, only
declare preloaded_symbols then.  Fixes libltdl on static platforms.
* NEWS: Updated.

20 years agoAdd a search path option to libtoolize so that we can run it from
Gary V. Vaughan [Mon, 29 Nov 2004 13:50:54 +0000 (13:50 +0000)] 
Add a search path option to libtoolize so that we can run it from
the testsuite without pulling in the last installed macros and
ltdl sources:

* libtoolize.m4sh:  Add a -I option to change libtoolize's search
path for macro files, and libltdl master sources.
(pkgvdatadir, pkgvmacrodir): Renamed...
(pkgvdatadirs, pkgvmacrodirs): ...as they can now contain a ':'
delimited list of directories.  Adjust all callers.
(func_copy_all_from_path): New function to search a ':' delimited
search path for a directory to copy.
(func_serial_update, func_ltmain_update, func_config_update): New
first parameter is a filename to search for.  srcdir parameter can
now be a ':' delimited search path.  Adjust all callers.
(func_copy_some_files): Ditto.
Put srcfile_spec first in parameter list for consistency with
other functions.  Adjust all callers.
(func_copy_cb): func_copy adapter function to call func_copy
correctly from func_copy_some_files.
(func_filename_path_search): Return the full path to the first
occurence of a named file found in a list of directories.
* tests/testsuite.at (LIBTOOLIZE): Wrap exported LIBTOOLIZE
initialisation in PREPARE_TESTS diversion to stop it being
discarded when testsuite is generated.
(AT_LIBTOOLIZE): Factor out libtoolize calls,
and set search path to find macros and libltdl source files from
the source tree.
(AT_CHECK_LIBTOOLIZE): Test it.
(AT_BOOTSTRAP): Adjust.  Split out call to make.
* tests/am-subdir.at: Call make explicitly.
(Makefile.am): Fix typo in ACLOCAL_AMFLAGS,

20 years ago* config/ltmain.m4sh (func_mode_link): $dlsymsobj is really
Ralf Wildenhues [Sun, 28 Nov 2004 19:55:40 +0000 (19:55 +0000)] 
* config/ltmain.m4sh (func_mode_link): $dlsymsobj is really
$symfileobj, bug exposed only in the static preloading case
(symfileobj is created, but not linked into output).

20 years ago* tests/demo-relink.test, tests/depdemo-relink.test: SKIP, don't
Ralf Wildenhues [Sun, 28 Nov 2004 19:48:15 +0000 (19:48 +0000)] 
* tests/demo-relink.test, tests/depdemo-relink.test: SKIP, don't
FAIL if no shared libs available in demo/.  Do not try to access
nonexistent files.

20 years ago* libltdl/loaders/loadlibrary.c: Remove unneeded
Ralf Wildenhues [Sun, 28 Nov 2004 19:44:09 +0000 (19:44 +0000)] 
* libltdl/loaders/loadlibrary.c: Remove unneeded
file-static variable.

20 years ago* config/ltmain.m4sh: Add fully-qualified paths to temp_rpath
Bob Friesenhahn [Sun, 28 Nov 2004 01:35:45 +0000 (01:35 +0000)] 
* config/ltmain.m4sh: Add fully-qualified paths to temp_rpath
rather than unqualified paths in order to avoid possible errors
when computing the fully-qualified path later.

20 years ago* m4/libtool.m4 [linux] (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS,
Jeff Squyres [Wed, 24 Nov 2004 17:25:38 +0000 (17:25 +0000)] 
* m4/libtool.m4 [linux] (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS,
_LT_LANG_CXX_CONFIG), NEWS, THANKS: Support for Portland Group
(aka "pgi") compilers.

20 years ago* Makefile.am: Move Autotest rules from here...
Gary V. Vaughan [Wed, 24 Nov 2004 14:55:55 +0000 (14:55 +0000)] 
* Makefile.am: Move Autotest rules from here...
* tests/Makefile.am: ...to here.
* bootstrap: Adjust.  Also, create temporary Makefile from
tests/Makefile.am so that bootstrap can create the Autotest
testsuite.

20 years agoIf the user's login shell is something crazy like, oooh,
Gary V. Vaughan [Wed, 24 Nov 2004 14:04:15 +0000 (14:04 +0000)] 
If the user's login shell is something crazy like, oooh,
/bin/tcsh, trying to execute bourne shell helper scripts with
the `$SHELL /path/to/helper $helper_flags' idiom incase the
execute bits were lost by say, eeer, cvs, is gonna blow up in
our faces.  This changeset tries to save these people from
their shells^H^H^H^H^H^H^H^H^Hmselves :->

* tests/defs.m4sh (SHELL): Move definition from here...
* config/general.m4sh (SHELL): ...to here.

20 years ago* libltdl/ltdl.h, libltdl/libltdl/ltdl.h: Revert move of this file.
Gary V. Vaughan [Tue, 23 Nov 2004 16:11:01 +0000 (16:11 +0000)] 
* libltdl/ltdl.h, libltdl/libltdl/ltdl.h: Revert move of this file.
Bloody cvs {add,rm}!

20 years agoThe ltdl.h header is the published interface to libltdl, and
Gary V. Vaughan [Tue, 23 Nov 2004 16:08:56 +0000 (16:08 +0000)] 
The ltdl.h header is the published interface to libltdl, and
is thus not installed to $prefix/include/libltdl.  It has always
been used with `#include <ltdl.h>', so move just that one file
back to where it was before:

* libltdl/libltdl/ltdl.h: Moved from here...
* libltdl/ltdl.h: ...to here.
* libltdl/Makefile.am: Adjust.

20 years agoDo not require that libtoolize --ltdl=/some/path end in libltdl. Move
Peter O'Gorman [Tue, 23 Nov 2004 12:15:21 +0000 (12:15 +0000)] 
Do not require that libtoolize --ltdl=/some/path end in libltdl. Move
most libltdl headers to libtldl/libltdl to allow
#include <libltdl/ltdl.h> to always work.

* libltdl/Makefile.am, libltdl/loaders/Makefile.am: Look for includes
in the new location.
* libltdl/libltdl/lt__alloc.h, libltdl/libltdl/lt__dirent.h,
libltdl/libltdl/lt__glibc.h, libltdl/libltdl/lt__private.h,
libltdl/libltdl/lt_dlloader.h, libltdl/libltdl/lt_error.h,
libltdl/libltdl/lt_system.h, libltdl/libltdl/ltdl.h,
libltdl/libltdl/slist.h: Added files, moved from libtdl/.
* libltdl/lt__alloc.h, libltdl/lt__dirent.h, libltdl/lt__glibc.h,
libltdl/lt__private.h, libltdl/lt_dlloader.h, libltdl/lt_error.h,
libltdl/lt_system.h, libltdl/ltdl.h, libltdl/slist.h: Removed, moved
to libltdl/libltdl.

20 years ago* doc/libtool.texi (LT_INIT): s/libtool 1.6/libtool 2.0/.
Ralf Wildenhues [Tue, 23 Nov 2004 09:37:06 +0000 (09:37 +0000)] 
* doc/libtool.texi (LT_INIT): s/libtool 1.6/libtool 2.0/.
(Invoking libtoolize): Fix typo.

20 years ago* config/ltmain.m4sh (func_mode_install): Now that func_mktempdir
Gary V. Vaughan [Mon, 22 Nov 2004 22:36:16 +0000 (22:36 +0000)] 
* config/ltmain.m4sh (func_mode_install): Now that func_mktempdir
has been improved, the default directory template is perfectly
fine.

20 years ago* doc/libtool.texi (Invoking libtoolize): Improve documentation
Gary V. Vaughan [Mon, 22 Nov 2004 21:53:15 +0000 (21:53 +0000)] 
* doc/libtool.texi (Invoking libtoolize): Improve documentation
for use of ACLOCAL_AMFLAGS and AC_CONFIG_MACRO_DIR.

20 years ago* m4/libtool.m4 (_LT_TAG_COMPILER): Document that with_gcc is
Ralf Wildenhues [Mon, 22 Nov 2004 15:52:22 +0000 (15:52 +0000)] 
* m4/libtool.m4 (_LT_TAG_COMPILER): Document that with_gcc is
tag-dependent.

20 years ago* m4/libtool.m4, tests/demo-nopic.test: Undo bogus commit.
Ralf Wildenhues [Mon, 22 Nov 2004 15:48:32 +0000 (15:48 +0000)] 
* m4/libtool.m4, tests/demo-nopic.test: Undo bogus commit.

20 years ago* config/ltmain.m4sh (func_mode_link), tests/objectlist.test:
Ralf Wildenhues [Mon, 22 Nov 2004 15:43:44 +0000 (15:43 +0000)] 
* config/ltmain.m4sh (func_mode_link), tests/objectlist.test:
Make sure the argument to `-objectlist' may contain spaces.

20 years ago* config/m4general.m4sh, config/mailnotify.m4sh,
Gary V. Vaughan [Fri, 19 Nov 2004 17:04:22 +0000 (17:04 +0000)] 
* config/m4general.m4sh, config/mailnotify.m4sh,
clcommit.m4sh: Updated from cvs-utils--tla--1.0 to allow
parallel commits, and use safer tmpfiles.

20 years ago* doc/libtool.texi (Libltdl interface): Typos.
Ralf Wildenhues [Fri, 19 Nov 2004 11:33:26 +0000 (11:33 +0000)] 
* doc/libtool.texi (Libltdl interface): Typos.

20 years ago* doc/libtool.texi (Libltdl interface): Document public macros
Ralf Wildenhues [Fri, 19 Nov 2004 07:26:25 +0000 (07:26 +0000)] 
* doc/libtool.texi (Libltdl interface): Document public macros
LT_PATHSEP_CHAR, LT_DIRSEP_CHAR, use in path descriptions.

20 years ago* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: Interpret
Daniel Reed [Fri, 19 Nov 2004 07:18:30 +0000 (07:18 +0000)] 
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: Interpret
`include' statements in toplevel ld.so.conf file.

20 years ago* m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin/mingw/pw32]:
Ralf Wildenhues [Fri, 19 Nov 2004 07:01:48 +0000 (07:01 +0000)] 
* m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin/mingw/pw32]:
tag-protect setting of ld_shlibs.

20 years ago* doc/libtool.texi (Libltdl interface): The path separator
Ralf Wildenhues [Wed, 17 Nov 2004 17:49:44 +0000 (17:49 +0000)] 
* doc/libtool.texi (Libltdl interface): The path separator
is system-dependent.

20 years ago* doc/libtool.texi (Linking static libraries): Typo.
Ralf Wildenhues [Wed, 17 Nov 2004 17:47:22 +0000 (17:47 +0000)] 
* doc/libtool.texi (Linking static libraries): Typo.

20 years ago* m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
Ralf Wildenhues [Wed, 17 Nov 2004 15:24:03 +0000 (15:24 +0000)] 
* m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
[aix4/aix5 !ia64]: Set whole_archive_flag_spec to '$convenience'
so convenience libs are really added to the link cmdline.

20 years ago* libtool.m4 [linux]: Use only the CC basename in case statment
Mats Rynge [Wed, 17 Nov 2004 14:06:50 +0000 (14:06 +0000)] 
* libtool.m4 [linux]: Use only the CC basename in case statment
when checking for icc/ecc. Allows for setting CC to the full path
to the compiler.

20 years ago* libtool.m4 [solaris]: Added missing 'with linker' flags to
Mats Rynge [Wed, 17 Nov 2004 14:02:54 +0000 (14:02 +0000)] 
* libtool.m4 [solaris]: Added missing 'with linker' flags to
-z allextract ... -z defaultextract flags

20 years ago* m4/libtool.m4 (_LT_LINKER_SHLIBS): Typo: s/--rpath/-rpath/g.
Gary V. Vaughan [Mon, 15 Nov 2004 01:18:22 +0000 (01:18 +0000)] 
* m4/libtool.m4 (_LT_LINKER_SHLIBS): Typo: s/--rpath/-rpath/g.
(_LT_LANG_CXX_CONFIG): Ditto.

20 years ago* configure.ac (APIVERSION): New substituted variable.
Gary V. Vaughan [Mon, 15 Nov 2004 01:03:14 +0000 (01:03 +0000)] 
* configure.ac (APIVERSION): New substituted variable.
(pkgvdatadir): Ditto.  Versioned data directory.
(pkgvmacrodir): Ditto.  Versioned aclocal directory.
(LN): New check for LN command.
* Makefile.am (aclocal_DATA): Replaced with...
(pkgvmacro_DATA): ...this.
(install-data-local): Remove old shared resources.
(install-exec-hook): Make versioned links to executables.
(uninstall-hook): Remove versioned files.
* libltdl/Makefile.am (ltdldatadir): Redefine in terms of
pkgvdatadir.
* libltdl/loaders/Makefile.am (ltdldatadir): Ditto.
* libtoolize.m4sh: Copy macro files from versioned macro directory
instead of shared aclocal directory.
* doc/libtool.texi: Document it.
* NEWS: Updated.

20 years agoFrom James Henstridge <james@jamesh.id.au>:
Gary V. Vaughan [Wed, 10 Nov 2004 13:27:21 +0000 (13:27 +0000)] 
From James Henstridge <james@jamesh.id.au>:
* m4/libtool.m4, m4/ltdl.m4, m4/ltoptions.m4: Added commented out
empty macro definitions to match each AU_DEFUN to help aclocal
from automake-1.4 regexps find the right libtool macro files.

20 years ago* config/ltmain.m4sh (func_mode_link), tests/Makefile.am,
James E Wilson [Wed, 10 Nov 2004 10:14:12 +0000 (10:14 +0000)] 
* config/ltmain.m4sh (func_mode_link), tests/Makefile.am,
Fix error message with `-objectlist' file that does not exist.
tests/objectlist.test:  New test for this.

20 years ago* Makefile.am: config/ltmain.sh is generated by config/ltmain.m4sh.
James E Wilson [Wed, 10 Nov 2004 10:07:56 +0000 (10:07 +0000)] 
* Makefile.am: config/ltmain.sh is generated by config/ltmain.m4sh.

20 years ago* doc/libtool.texi (Compile mode, Link mode,
Ralf Wildenhues [Tue, 9 Nov 2004 19:21:27 +0000 (19:21 +0000)] 
* doc/libtool.texi (Compile mode, Link mode,
Libltdl interface, Test descriptions, libtool script
contents): Some quote cleanup, more use of texinfo types.

20 years ago* doc/libtool.texi (libtool script contents):
Ralf Wildenhues [Tue, 9 Nov 2004 19:16:57 +0000 (19:16 +0000)] 
* doc/libtool.texi (libtool script contents):
echo is now ECHO; mention argument restriction.

20 years ago* doc/libtool.texi (Multiple dependencies): Minor rewording.
Ralf Wildenhues [Tue, 9 Nov 2004 19:13:06 +0000 (19:13 +0000)] 
* doc/libtool.texi (Multiple dependencies): Minor rewording.

20 years ago* doc/libtool.texi (User defined module data, References):
Ralf Wildenhues [Tue, 9 Nov 2004 19:09:46 +0000 (19:09 +0000)] 
* doc/libtool.texi (User defined module data, References):
indentation and word-wrap cleanup.

20 years ago* doc/libtool.texi (all over): White space cleanup:
Ralf Wildenhues [Tue, 9 Nov 2004 19:05:38 +0000 (19:05 +0000)] 
* doc/libtool.texi (all over): White space cleanup:
two spaces at start of sentence, no TABs.

20 years ago* doc/libtool.texi (libtool script contents): Fix description
Ralf Wildenhues [Tue, 9 Nov 2004 16:22:57 +0000 (16:22 +0000)] 
* doc/libtool.texi (libtool script contents): Fix description
of need_lib_prefix.

20 years ago* config/ltmain.m4sh (func_mode_link): forward thread
Peter Ekberg [Mon, 8 Nov 2004 15:19:45 +0000 (15:19 +0000)] 
* config/ltmain.m4sh (func_mode_link): forward thread
related flags to dependent applications and libraries
by adding them to `inherited_linker_flags'.

20 years ago* m4/ltoptions.m4: Change all references of LT_LIBTOOL_INIT
Ralf Wildenhues [Sun, 7 Nov 2004 13:24:51 +0000 (13:24 +0000)] 
* m4/ltoptions.m4: Change all references of LT_LIBTOOL_INIT
to LT_INIT.

20 years ago* ltmain.m4sh (cwrappersource): clean up other warning on MinGW.
Peter Ekberg [Fri, 5 Nov 2004 18:04:39 +0000 (18:04 +0000)] 
* ltmain.m4sh (cwrappersource): clean up other warning on MinGW.

20 years ago* m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS), m4/ltoptions.m4
Bernhard Fischer [Thu, 4 Nov 2004 11:57:41 +0000 (11:57 +0000)] 
* m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS), m4/ltoptions.m4
(_LT_SET_OPTIONS), README, README.alpha: Typos.

20 years ago* libtldl/ltdl.c (parse_dotla_file): Fix memleak.
Ralf Wildenhues [Wed, 3 Nov 2004 14:13:24 +0000 (14:13 +0000)] 
* libtldl/ltdl.c (parse_dotla_file): Fix memleak.

20 years ago* ltmain.m4sh (cwrappersource): Cast isalpha arguments correctly.
Ralf Wildenhues [Wed, 3 Nov 2004 14:11:52 +0000 (14:11 +0000)] 
* ltmain.m4sh (cwrappersource): Cast isalpha arguments correctly.

20 years ago* ltmain.m4sh (cwrappersource): clean up warnings and
Peter Ekberg [Wed, 3 Nov 2004 14:10:32 +0000 (14:10 +0000)] 
* ltmain.m4sh (cwrappersource): clean up warnings and
#include errors on MinGW.

20 years ago* config/ltmain.m4sh (cwrappersource): clean up warnings and
Peter Ekberg [Mon, 1 Nov 2004 18:22:54 +0000 (18:22 +0000)] 
* config/ltmain.m4sh (cwrappersource): clean up warnings and
#include errors.

20 years agoSometimes, a wrapper script is generated for an executable that,
Peter Ekberg [Mon, 1 Nov 2004 17:28:30 +0000 (17:28 +0000)] 
Sometimes, a wrapper script is generated for an executable that,
itself, does not link against an uninstalled library.  It appears
that this can happen if you are building a project where:

  (1) there is a library
  (2) there is an executable that does not, itself, link against
      that library

In this case, notinst_deplibs is empty, and when the wrapper
script is loaded by libtool during ./libtool mode=install, there
is a check for "is notinst_deplibs empty".  In this case, it is,
so libtool reports an error.

I don't think it is wrong to have a wrapper script for an exe that
*technically* doesn't need it.  But instead of checking for
notinst_deplib nonempty as a proxy for "did wrapper script get
sourced into my environment properly" a different var should be
used.

* config/ltmain.m4sh (func_mode_install): set new variable
`generated_by_libtool_version' in wrapper script when using
libtool_install_magic.  When verifying that wrapper script was
properly sourced, check that `generated_by_libtool_version' is
non-empty, instead of using notinst_deplibs.

20 years ago* config/ltmain.m4sh (func_mode_install): On Windows based hosts,
Charles Wilson [Mon, 1 Nov 2004 16:29:15 +0000 (16:29 +0000)] 
* config/ltmain.m4sh (func_mode_install): On Windows based hosts,
ensure that import libraries don't get stripped.
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): On Windows based hosts,
use postinstall_cmds to strip DLL (not import lib!) when symbol
stripped installation was requested.

20 years ago* libltdl/ltdl.c (loader_init_callback): Back out broken cast.
Ralf Wildenhues [Mon, 1 Nov 2004 14:04:29 +0000 (14:04 +0000)] 
* libltdl/ltdl.c (loader_init_callback): Back out broken cast.