]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
21 years ago* m4/libtool.m4 (_LT_LINKER_SHLIBS): The Portland group's
Peter O'Gorman [Fri, 25 Feb 2005 14:19:58 +0000 (14:19 +0000)] 
* m4/libtool.m4 (_LT_LINKER_SHLIBS): The Portland group's
compiler does not pass --whole-archive. Move gnu ld check for
the flag to the top so it can be overridden.
(_LT_LANG_CXX_CONFIG, _LT_COMPILER_PIC): Unset
whole_archive_flag_spec for the portland group's c++ compiler too.
Reported by Jeff Squyres <jsquyres@lam-mpi.org>

21 years ago* libltdl/loaders/Makefile.am (install-data-local): Ditto.
Gary V. Vaughan [Wed, 23 Feb 2005 15:57:15 +0000 (15:57 +0000)] 
* libltdl/loaders/Makefile.am (install-data-local): Ditto.

21 years ago* libltdl/Makefile.am (install-data-local): Don't forget about
Gary V. Vaughan [Wed, 23 Feb 2005 15:45:03 +0000 (15:45 +0000)] 
* libltdl/Makefile.am (install-data-local): Don't forget about
$(DESTDIR).

21 years agoPreserving the installed timestamps for libltdl sources from
Gary V. Vaughan [Wed, 23 Feb 2005 14:40:38 +0000 (14:40 +0000)] 
Preserving the installed timestamps for libltdl sources from
`libtoolize --ltdl --copy' is pointless if they are not preserved
from the libtool source tree at install time:

* libltdl/Makefile.am, libltdl/loaders/Makefile.am
(nobase_ltdldata_DATA): Renamed to...
(ltdldatafiles): ...this.
(install-data-local): New rule to install libltdl tree with tar to
preserve timestamps.

21 years ago* config/ltmain.m4sh (func_mode_link): Add -pthread like flags to
Christoph Egger [Wed, 23 Feb 2005 03:30:30 +0000 (03:30 +0000)] 
* config/ltmain.m4sh (func_mode_link): Add -pthread like flags to
inherited_linker_flags.

21 years ago* libtoolize.m4sh (func_copy_cb): self.leg->shoot_off() :-/
Gary V. Vaughan [Tue, 22 Feb 2005 17:19:49 +0000 (17:19 +0000)] 
* libtoolize.m4sh (func_copy_cb): self.leg->shoot_off() :-/
Let's not redirect stdout to null when sending tar output to a
pipe.

21 years agoUsing `libtoolize --copy --ltdl' was not preserving timestamps, so
Gary V. Vaughan [Tue, 22 Feb 2005 15:27:07 +0000 (15:27 +0000)] 
Using `libtoolize --copy --ltdl' was not preserving timestamps, so
parts of the autoconf bootstrap would be rerun spuriously after
the files had been copied into the source tree:

* libtoolize.m4sh (TAR): New default tar command.
(func_copy_cb): Move the core copying internals to here, using
$TAR to transfer files if possible when --copy was specified.
(func_copy): Adjust to call func_copy_cb.
* TODO: Remember to refactor this fix in due course.
Reported by Jeff Squyres <jsquyres@lam-mpi.org>

21 years ago* config/ltmain.m4sh (func_extract_archives) [darwin]: This didn't
Peter O'Gorman [Mon, 21 Feb 2005 13:47:45 +0000 (13:47 +0000)] 
* config/ltmain.m4sh (func_extract_archives) [darwin]: This didn't
actually work on a real fat archive, should do now.
* tests/functests.at [darwin]: remove darwin fat tests which
did not actually work.

21 years ago* config/ltmain.m4sh: Add -pthread like flags when linking
Peter O'Gorman [Mon, 7 Feb 2005 14:17:15 +0000 (14:17 +0000)] 
* config/ltmain.m4sh: Add -pthread like flags when linking
executables too.
Reported by Andreas Schwab <schwab@suse.de>

21 years ago* config/ltmain.m4sh (func_mode_link): Allow five digits in
Ralf Wildenhues [Fri, 4 Feb 2005 16:12:11 +0000 (16:12 +0000)] 
* config/ltmain.m4sh (func_mode_link): Allow five digits in
version-info.

21 years ago* NEWS: s/Linux/GNU &/.
Ralf Wildenhues [Fri, 4 Feb 2005 15:47:40 +0000 (15:47 +0000)] 
* NEWS: s/Linux/GNU &/.

21 years ago* tests/Makefile.am, tests/testsuite.at, tests/stresstest.at:
Ralf Wildenhues [Fri, 4 Feb 2005 14:51:53 +0000 (14:51 +0000)] 
* tests/Makefile.am, tests/testsuite.at, tests/stresstest.at:
New test.  Stresses several combinations of link flags and
path specifications.  Uses several data types to test linkage
against symbols in all kinds of (e.g., ELF) sections.

21 years ago* config/ltmain.m4sh (func_generate_dlsyms): Fix broken subdir
Reid Spencer [Thu, 3 Feb 2005 16:31:02 +0000 (16:31 +0000)] 
* config/ltmain.m4sh (func_generate_dlsyms): Fix broken subdir
path computation, exposed by using `-dlopen self'.  Fix broken
sed script exposed by additionally using `-export-symbols FILE'.

21 years ago* THANKS: Update.
Ralf Wildenhues [Thu, 3 Feb 2005 13:00:12 +0000 (13:00 +0000)] 
* THANKS: Update.

21 years ago* THANKS: Update.
Ralf Wildenhues [Thu, 3 Feb 2005 07:43:33 +0000 (07:43 +0000)] 
* THANKS: Update.

21 years ago* config/ltmain.m4sh [darwin]: Don't add installed libs to
Peter O'Gorman [Thu, 3 Feb 2005 03:53:12 +0000 (03:53 +0000)] 
* config/ltmain.m4sh [darwin]: Don't add installed libs to
temp_rpath when building executables on darwin, or other systems
which use hardcode_automatic. It may break our wrapper scripts.

21 years ago* config/getopt.m4sh (func_version, func_usage, func_help,
Ralf Wildenhues [Wed, 2 Feb 2005 22:15:02 +0000 (22:15 +0000)] 
* config/getopt.m4sh (func_version, func_usage, func_help,
* config/ltmain.m4sh (func_mode_help, func_config, func_features):
Exit with nonzero status on write failures.

21 years ago* tests/sh.test: Check for preferred function definition layout.
Ralf Wildenhues [Wed, 2 Feb 2005 12:16:45 +0000 (12:16 +0000)] 
* tests/sh.test: Check for preferred function definition layout.

21 years ago* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
Ralf Wildenhues [Tue, 1 Feb 2005 17:43:58 +0000 (17:43 +0000)] 
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
[ pw32, freebsd3.[01], freebsdelf3.[01] ]
(_LT_LINKER_SHLIBS) [ linux with GNU ld < 2.11, aix4.[012]* ]
(_LT_LANG_CXX_CONFIG) [ aix4.[012]*, freebsd[12], solaris2.[0-5] ]
(_LT_LANG_GCJ_CONFIG): Fix [] quoting.  Should fix various spurious
failures.

21 years ago* tests/Makefile.am: Add `atconfig' to DISTCLEANFILES.
Ralf Wildenhues [Tue, 1 Feb 2005 15:09:46 +0000 (15:09 +0000)] 
* tests/Makefile.am: Add `atconfig' to DISTCLEANFILES.

21 years ago* clcommit.m4sh: Test whether the shell understands `read -r'. Use as
Ralf Wildenhues [Tue, 1 Feb 2005 12:31:16 +0000 (12:31 +0000)] 
* clcommit.m4sh: Test whether the shell understands `read -r'.  Use as
`$read_r' if available, so `\' is preserved in commit notices.

21 years ago* HACKING (Editing `.m4sh' Files): Document preferred function
Ralf Wildenhues [Tue, 1 Feb 2005 07:34:34 +0000 (07:34 +0000)] 
* HACKING (Editing `.m4sh' Files): Document preferred function
header layout.
* config/ltmain.m4sh (func_win32_libid, func_infer_tag)
(func_generate_dlsyms, func_extract_an_archive, func_extract_archives):
adjust to fit.

21 years ago* m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Unicos 9 sed rejects
Ralf Wildenhues [Mon, 31 Jan 2005 17:30:47 +0000 (17:30 +0000)] 
* m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Unicos 9 sed rejects
empty parentheses as in 's/x()/1/'.
(_LT_COMPILER_PIC) [unicos*]: wl=-Wl,.
* tests/sh.test: Not all sed's like '/.*n.*/' (Unicos 9 sed
loops endlessly).

21 years ago* tests/quote.test: Match link quoting against `"$wl"', not `-Wl,'.
Ralf Wildenhues [Mon, 31 Jan 2005 17:25:22 +0000 (17:25 +0000)] 
* tests/quote.test: Match link quoting against `"$wl"', not `-Wl,'.

21 years ago* tests/quote.test: Check for `--no-reexec' in $1 to avoid one reexec.
Ralf Wildenhues [Mon, 31 Jan 2005 17:20:47 +0000 (17:20 +0000)] 
* tests/quote.test: Check for `--no-reexec' in $1 to avoid one reexec.

21 years ago* m4/libtool.m4 (_LT_COMPILER_C_O): _LT_TAGDECL(lt_compiler_c_o),
Ralf Wildenhues [Mon, 31 Jan 2005 17:15:00 +0000 (17:15 +0000)] 
* m4/libtool.m4 (_LT_COMPILER_C_O): _LT_TAGDECL(lt_compiler_c_o),
not _LT_DECL, since this is tag-dependent.

21 years ago* config/ltmain.m4sh, m4/libtool.m4: Change `( cmd ) 2>/dev/null' to
Ralf Wildenhues [Mon, 31 Jan 2005 16:17:06 +0000 (16:17 +0000)] 
* config/ltmain.m4sh, m4/libtool.m4: Change `( cmd ) 2>/dev/null' to
`{ cmd; } 2>/dev/null', when cmd has no side effects and might be a
builtin.  Note that it is unspecified whether cmd will run within a
subshell (e.g. Bourne shells) or within the current shell (most modern
shells).

21 years ago* m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [linux]:
Ralf Wildenhues [Sat, 29 Jan 2005 15:09:07 +0000 (15:09 +0000)] 
* m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [linux]:
Update for Intel Compiler icc/icpc/ifort: add -i_dynamic and
-nofor_main, if necessary.  Simplify logic somewhat.

21 years ago* tests/Makefile.am: also re-export CPP, CXXCPP, and the value of
Ralf Wildenhues [Wed, 26 Jan 2005 17:52:59 +0000 (17:52 +0000)] 
* tests/Makefile.am: also re-export CPP, CXXCPP, and the value of
SHELL as CONFIG_SHELL.
Reported by Heinz Salzmann <heinz.salzmann@micronas.com>.

21 years ago* NEWS, m4/libtool.m4, config/ltmain.m4sh [dragonfly]:
Craig Dooley [Wed, 26 Jan 2005 17:38:51 +0000 (17:38 +0000)] 
* NEWS, m4/libtool.m4, config/ltmain.m4sh [dragonfly]:
Add support for DragonFly.

21 years ago* m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Work around pdksh
Ralf Wildenhues [Wed, 26 Jan 2005 11:30:51 +0000 (11:30 +0000)] 
* m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Work around pdksh
positional parameter expansion bug.

21 years ago* config/ltmain.m4sh: Fix endless loop in cmdline parsing.
Ralf Wildenhues [Tue, 25 Jan 2005 20:28:04 +0000 (20:28 +0000)] 
* config/ltmain.m4sh: Fix endless loop in cmdline parsing.

21 years ago* config/ltmain.m4sh (func_mode_link) [irix]: Preserve processor
Albert Chin-A-Young [Tue, 25 Jan 2005 08:16:35 +0000 (08:16 +0000)] 
* config/ltmain.m4sh (func_mode_link) [irix]: Preserve processor
option for SGI Compiler (-r[0-9][0-9]*).

21 years ago* m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Define Bourne and XSI
Ralf Wildenhues [Mon, 24 Jan 2005 13:28:47 +0000 (13:28 +0000)] 
* m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Define Bourne and XSI
variants of new function func_stripname for stripping literal
prefixes and suffixes.
* config/ltmain.m4sh (all over): Use func_stripname.

21 years ago* tests/defs.m4sh: Extract $build from $LIBTOOL.
Ralf Wildenhues [Mon, 24 Jan 2005 07:45:35 +0000 (07:45 +0000)] 
* tests/defs.m4sh: Extract $build from $LIBTOOL.
(func_configure): Pass --host if $host != $build.
(func_exec): Try executing cross-compiled binaries (e.g. i686 -> i386),
but SKIP rather than FAIL.
* tests/depdemo-relink.test: Do not try to access possibly non-
existent files.  SKIP rather than FAIL or PASS falsely when
cross-compiling.

21 years ago* m4/libtool.m4 (_LT_SETUP) [mingw, cygwin, pw32, os2]:
Ralf Wildenhues [Mon, 24 Jan 2005 07:42:31 +0000 (07:42 +0000)] 
* m4/libtool.m4 (_LT_SETUP) [mingw, cygwin, pw32, os2]:
Add _LT_DECLs for host_os, build_alias, build and build_os.
host_os and build were used in a few occasions in ltmain.m4sh
and affect above-mentioned systems, the others are added for
symmetry and in order to be able to detect cross-compiling.

21 years ago* libltdl/Makefile.am: Add $(AM_LDFLAGS) to all per-target
Ralf Wildenhues [Sun, 23 Jan 2005 17:10:12 +0000 (17:10 +0000)] 
* libltdl/Makefile.am: Add $(AM_LDFLAGS) to all per-target
variables *_LDFLAGS as per CVS Automake semantic change.

21 years ago* config/ltmain.m4sh (func_mode_link): Don't pass through
Peter O'Gorman [Sun, 16 Jan 2005 14:07:35 +0000 (14:07 +0000)] 
* config/ltmain.m4sh (func_mode_link): Don't pass through
compiler-like thread flags when using $LD to do the linking.
Use compiler_flags instead.
Reported by Mark_Andrews@isc.org.

21 years ago* m4/libtool.m4 (LT_CMD_MAX_LEN) [osf]: On Tru64 there could
Peter O'Gorman [Sun, 16 Jan 2005 12:26:45 +0000 (12:26 +0000)] 
* m4/libtool.m4 (LT_CMD_MAX_LEN) [osf]: On Tru64 there could
be a kernel panic when testing the maximum command line length
if exec_disable_arg_limit=1. Don't do the tests to figure it
out on *-osf*.
Reported by Dr. Hans Ekkehard Plesser
<hans.ekkehard.plesser@umb.no>

21 years ago* m4/libtool.m4 (AC_PROG_SED): Don't break test loop early.
Guido Draheim [Fri, 14 Jan 2005 09:20:32 +0000 (09:20 +0000)] 
* m4/libtool.m4 (AC_PROG_SED): Don't break test loop early.

21 years ago* TODO: Update.
Ralf Wildenhues [Thu, 13 Jan 2005 17:28:08 +0000 (17:28 +0000)] 
* TODO: Update.

21 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.

21 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.

21 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>.

21 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.

21 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>

21 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.

21 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>.

21 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.

21 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.

21 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.'.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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'.

21 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.

21 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.

21 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>.

21 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>.

21 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).

21 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.

21 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.

21 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>.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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>.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.

21 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,

21 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).

21 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.

21 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.

21 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.

21 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.

21 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.

21 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.