Commit Graph

2209 Commits

Author SHA1 Message Date
Ralf Wildenhues
458f76a0b9 * 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.
2005-01-24 07:42:31 +00:00
Ralf Wildenhues
c94de6d8cb * libltdl/Makefile.am: Add $(AM_LDFLAGS) to all per-target
variables *_LDFLAGS as per CVS Automake semantic change.
2005-01-23 17:10:12 +00:00
Peter O'Gorman
1dfabd5cdc * 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.
2005-01-16 14:07:35 +00:00
Peter O'Gorman
7573f30cde * 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>
2005-01-16 12:26:45 +00:00
Guido Draheim
c7204c5f98 * m4/libtool.m4 (AC_PROG_SED): Don't break test loop early. 2005-01-14 09:20:32 +00:00
Ralf Wildenhues
3c62b360f3 * TODO: Update. 2005-01-13 17:28:08 +00:00
Ralf Wildenhues
c8d9340618 * libltdl/ltdl.c: Whitespace cleanup. 2005-01-13 14:48:00 +00:00
Ralf Wildenhues
1cb1fdb666 * config/ltmain.m4sh: New option --verbose'/-v' to enable
override of `--silent'.  Verbose is the default behavior.
* doc/libtool.texi (Invoking libtool): Document it.
2005-01-12 16:35:55 +00:00
Ralf Wildenhues
1f7dbb99eb * libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: While "parsing"
/etc/ld.so.conf, skip comments.
Reported by Jens Elkner <elkner@linofee.org>.
2005-01-12 12:57:32 +00:00
Ralf Wildenhues
f420fbd97f * 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.
2005-01-10 18:49:27 +00:00
Peter O'Gorman
92ee209330 * 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>
2005-01-10 15:44:13 +00:00
Ralf Wildenhues
cb791887dc * 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.
2005-01-10 10:59:37 +00:00
Gary V. Vaughan
1ae0011deb * 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>.
2005-01-09 13:33:19 +00:00
Gary V. Vaughan
d18c461e54 * ChangeLog.2004: Trim 2005 entries.
* ChangeLog: Add missing entries.
2005-01-09 13:12:34 +00:00
Gary V. Vaughan
2d6f1623ad * ChangeLog: Move 2004 change logs from here...
* ChangeLog.2004: ...to here.
2005-01-08 21:34:28 +00:00
Gary V. Vaughan
42a1087ff2 * 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.'.
2005-01-08 21:17:57 +00:00
Gary V. Vaughan
c87d63481f * ChangeLog: Reformatting.
* HACKING: Fix section numbering.
(Editing 'ChangeLog'): New notes on ChangeLog entry format.
2005-01-08 19:05:19 +00:00
Ralf Wildenhues
6d51635bd8 * 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.
2005-01-03 14:06:12 +00:00
Ralf Wildenhues
e49e871547 * 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.
2004-12-30 12:03:39 +00:00
Ralf Wildenhues
8782d88386 * 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.
2004-12-28 15:16:33 +00:00
Ralf Wildenhues
52ba41bdad * Makefile.am, bootstrap, clcommit.m4sh, libtoolize.m4sh,
config/ltmain.m4sh: Replace `set --' with `set dummy [...]; shift'
for portability.  tests/sh.test: Test for this.
2004-12-28 13:50:23 +00:00
Ralf Wildenhues
6f8f4b5a86 * 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.
2004-12-28 13:31:12 +00:00
Ralf Wildenhues
9028c97fed * 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'.
2004-12-28 13:17:27 +00:00
Ralf Wildenhues
d39c2d120d * doc/libtool.texi (all over): Use @option and @command.
Some more minor formatting updates, typos.
2004-12-28 13:13:14 +00:00
Ralf Wildenhues
e6c9168b66 * m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Fix variable
quoting; allows lt_ECHO to match --fallback-echo again.
2004-12-28 12:56:47 +00:00
Ralf Wildenhues
50c4db3fb9 * 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>.
2004-12-28 12:54:49 +00:00
Ralf Wildenhues
38dc34aca8 * 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>.
2004-12-28 12:40:43 +00:00
Ralf Wildenhues
eb276ec7c7 * tests/quote.test: Restart under the correct shell (the one
$ECHO was computed for).
2004-12-28 10:28:21 +00:00
Ralf Wildenhues
70f63a304a * libltdl/lt__dirent.c: Include lt__private.h.
* libltdl/libltdl/lt__private.h: Include lt__strl.h.
2004-12-21 22:18:06 +00:00
Peter O'Gorman
fc9914a1d1 * 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.
2004-12-20 15:03:39 +00:00
Ralf Wildenhues
d471094f21 * 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>.
2004-12-20 13:08:35 +00:00
Ralf Wildenhues
f463368fa2 * 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.
2004-12-20 08:15:13 +00:00
Ralf Wildenhues
94b8d897d5 * 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.
2004-12-20 08:06:21 +00:00
Ralf Wildenhues
67207187c7 * tests/demo-nopic.test [solaris, sunos]: Skip test. 2004-12-20 07:59:58 +00:00
Ralf Wildenhues
323fcff5d0 * libtool.m4 [linux] (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG):
Match icpc* and ecpc* (ia64 version of icpc) instead of only icpc.
2004-12-18 21:53:01 +00:00
Ralf Wildenhues
36ce7f4a14 * libltdl/lt__dirent.c [mingw] (opendir): Fix write of constant
strings past end of buffer.
(opendir, readdir): Fix read past end of buffer.
2004-12-18 21:42:08 +00:00
Ralf Wildenhues
c870fff371 * HACKING: Update list of non-Libtool-owned files. 2004-12-17 13:31:02 +00:00
Akim Demaille
b4c26f428a * libtoolize.m4sh (func_copy_all_from_path): Remove spurious eval. 2004-12-17 13:03:11 +00:00
Ralf Wildenhues
445285d9a3 * libltdl/ltdl.c (trim): Return error rather than do bogus
null pointer arithmetic when parsing a malformed .la file.
2004-12-16 12:00:09 +00:00
Bob Friesenhahn
ced1775490 * 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.
2004-12-13 21:09:19 +00:00
Albert Chin-A-Young
0401fed0dd * 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.
2004-12-13 16:23:11 +00:00
Patrick Welche
7c0f8fafa1 * configure.ac: Fix aclocaldir to use ${datadir}, not ${prefix}.
Necessary for removal of old libtool.m4 files.
2004-12-12 16:24:28 +00:00
Ralf Wildenhues
2b032cf4e2 file func_extract_archives.test was initially added on branch branch-1-5. 2004-12-11 14:40:25 +00:00
Ralf Wildenhues
6e7507d7b8 * config/ltmain.m4sh (func_extract_archive): Send stderr of $NM
to /dev/null.  Reported by Martin Waitz <tali@admingilde.org>.
2004-12-10 17:18:59 +00:00
Albert Chin-A-Young
27c1434f7d * 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.
2004-12-09 17:59:15 +00:00
Ralf Wildenhues
d1a251240e * config/ltmain.m4sh (func_mode_finish) [solaris]: Fix [] escaping bug. 2004-12-09 17:18:48 +00:00
Ralf Wildenhues
5819188d83 * config/ltmain.m4sh (all over the map): Make use of func_basename and
func_dirname in most occasions.
2004-12-09 17:12:41 +00:00
Ralf Wildenhues
54af6ecd03 * 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.
2004-12-09 17:10:10 +00:00
Ralf Wildenhues
b7fc99d0c0 * config/ltmain.m4sh: Set marker for insertion of shell functions. 2004-12-09 17:07:28 +00:00
Ralf Wildenhues
20540cfb42 * config/general.m4sh (func_quote_for_eval): Only fork if the
substitution matches.
2004-12-09 17:05:10 +00:00