Commit Graph

4213 Commits

Author SHA1 Message Date
Gary V. Vaughan
5d4a43d874 maint: normalise formatting of recent commit log entry.
* build-aux/git-log-fix: Add a summary line to ChangeLog entry of
most recent commit.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-09-05 12:16:25 +07:00
Brooks Moses
2636f57059 * AUTHORS: Add myself to committers list. 2013-09-04 18:47:08 -07:00
Gary V. Vaughan
ebeb8a62cd bootstrap: gnulib_tool=true means no gnulib submodule.
* gl/build-aux/bootstrap.in (func_require_gnulib_tool): No
sneaking off and cloning gnulib when the user already specified
gnulib_tool=true in their bootstrap.conf!
* bootstrap: Regenerate.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-29 20:44:42 +07:00
Alan Modra
d1ddb6fbbf bootstrap: make first char of IFS a space.
Putting tab first in IFS breaks func_echo_all usage of $*,
resulting in failure of func_infer_tag to match a command line
using a $CC with trailing spaces. The trailing spaces were
stripped out of CC_expanded but words in $CC were separated by
tabs. This didn't match the makefile expansion of $CC using the
standard IFS with a first char of space.
* gl/build-aux/funclib.sh (IFS): Make first char a space.
* bootstrap: Regenerate.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-23 20:38:47 +07:00
Gary V. Vaughan
c5d20a6dbc bootstrap: support --no-git and --no-po options.
* gl/build-aux/bootstrap.in (bootstrap_parse_options): Accept
--no-git as an alias for --skip-git for compatibility with gnulib
bootstrap, and --no-po for symmetry.
Reported by Mike Miller.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-23 20:28:25 +07:00
Gary V. Vaughan
a4a814cdaf bootstrap: support gnulib gnulib_tool_option_extras settings.
* gl/build-aux/bootstrap.in (func_gnulib_tool): Even though we
don't need it, support gnulib_tool_option_extras for bootstrap.conf
ported from gnulib bootstrap.
* bootstrap: Regenerate.
Reported by Mike Miller.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-23 20:21:45 +07:00
Gary V. Vaughan
049be0146e bootstrap: support sha1 binary on OpenBSD.
* gl/build-aux/bootstrap.in (func_update_po_files): Remove the
use of --status in a way that will suppress all error messages,
but since this is only used to minimize updates, it shouldn't
cause an issue.
Look for a sha1 binary if the other SHA1SUM settings are not
found.
Also exit early if there is a problem updating the po file
checksums.
* bootstrap: Regenerate.
Ported from a gnulib patch by Padraig Brady.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-23 19:55:27 +07:00
Gary V. Vaughan
4306ce7329 bootstrap: support tools that don't accept '--version' in buildreq.
* gl/build-aux/bootstrap.in (func_check_tool): Check whether there
is an executable as given or on the command PATH.
(func_check_version): Use func_check_tool to avoid invoking --version
when buildreq specifies '-' for the version number.
* bootstrap: Regenerate.
Reported by Mike Miller.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-23 19:47:47 +07:00
Gary V. Vaughan
a736237748 bootstrap: diagnose bad $buildreq formatting.
Particularly when porting from gnulib bootstrap to libtool
bootstrap, it's easy to forget the extra URL column used for
error reporting.
* gl/build-aux/bootstrap.in (func_check_versions): A non-URL
pattern in the 3rd column of buildreq triggers a fatal error.
* bootstrap: Regenerate.
Reported by Mike Miller.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-23 16:27:31 +07:00
Gary V. Vaughan
552c17f7b4 bootstrap: support OpenBSD sed.
* gl/build-aux/bootstrap.in (func_insert_if_absent): Work around
the problem of OpenBSD sed not supporting '-' as a notation for
standard input.
* bootstrap: Regenerate.
* THANKS: Add Mike Miller.
Reported by Mike Miller.

Copyright-paperwork-exempt: Yes
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-23 16:04:36 +07:00
Steve Ellcey
5f7f7d9615 libtool: set correct linker ABI flags on mips64 linux.
m4/libtool.m4 (_LT_ENABLE_LOCK): Select the n32 or n64 ABI when
linking to match the ABI produced with the user's compiler flags.

Co-authored-by: Gary V. Vaughan <gary@gnu.org>
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-23 15:43:25 +07:00
Gary V. Vaughan
e87a65fa0c maint: correct many abuses of the word "which".
* HACKING, NEWS, TODO, bootstrap, bootstrap.conf,
build-aux/ltmain.in, cfg.mk, configure.ac, doc/libtool.texi,
doc/notes.texi, gl/build-aux/bootstrap.in,
gl/build-aux/extract-trace, gl/build-aux/funclib.sh,
gl/doc/bootstrap.texi, libltdl/libltdl/lt_system.h,
libltdl/loaders/loadlibrary.c, libltdl/lt__strl.c,
libltdl/lt_dlloader.c, libltdl/ltdl.c, libtoolize.in,
m4/libtool.m4, m4/ltdl.m4, m4/ltsugar.m4, m4/lt~obsolete.m4,
tests/exceptions.at, tests/need_lib_prefix.at, tests/static.at:
Use "which" correctly, or replace with "that", "where" or "what"
as appropriate.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-23 11:12:57 +07:00
Brook Moses
5151a7a167 libtool: improve comments for _LT_ENABLE_LOCK implementation.
* m4/libtool.m4 (_LT_ENABLE_LOCK): enhance comments to explain
why the code looks odd with 32bit flags in the 64bit section and
vice versa.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-23 10:23:33 +07:00
Alan Modra
8a8dfaec78 libtool: fix refixed unmangled powerpc*le-linux support patch
* m4/libtool.m4: fix refixed badly unmangled hunks from earlier
powerpc*le changeset.
Reported by Peter Rosin.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-22 21:42:49 +07:00
Alan Modra
429d40a020 libtool: refix unmangled powerpc*le-linux support patch
* m4/libtool.m4: refix badly unmangled hunks from earlier
powerpc*le changeset.
Reported by Peter Rosin.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-22 21:25:22 +07:00
Gary V. Vaughan
a734603dc1 libltdl: don't trip subdir-objects warning from Automake >= 1.14.
Latest Automake releases now warn when subdir-objects is not
specified in preparation for Automake 2.0.  The option has been
in Automake for more than a decade, so there's minimal risk of
someone using the next release of Libtool alongside an ancient
release of Automake when bootstrapping libltdl client projects.
* libltdl/configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-22 15:51:33 +07:00
Gary V. Vaughan
bd998a7ea4 libtool: refactor powerpc*le-linux case branch expressions.
libtool (_LT_ENABLE_LOCK): make inner case branch expressions
consistent with outer case expression.
Reported by Peter Rosin.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-22 15:38:00 +07:00
Alan Modra
056889b838 libtool: fix mangled powerpc*le-linux support patch
* m4/libtool.m4: unmangled badly pasted hunks from previous
changeset.
2013-08-22 15:01:24 +07:00
Alan Modra
75ffb257f0 libtool: initial powerpc*le-linux support
* m4/libtool.m4 (ld -m flags): Remove non-canonical ppc host match.
Support little-endian powerpc linux host.
2013-08-22 14:27:18 +07:00
Yaakov Selkowitz
c37bc1a334 libtool: fix conversion warnings in cwrapper
build-aux/ltmain.in (func_emit_cwrapperexe_src:main): XMALLOC wants a
size_t. Also use int instead of intptr_t for the return value (which
is fine since the _spawnv call is synchronous).
(func_emit_cwrapper_src) [MSVC]: Remove the intptr_t helper define.
(func_emit_cwrapperexe_src:find_executable): Use size_t for variables
involved in strlen computations.
(func_emit_cwrapperexe_src:lt_setenv): Likewise.
(func_emit_cwrapperexe_src:lt_extend_str): Likewise.
(func_emit_cwrapperexe_src:lt_update_exe_path): Likewise.
THANKS: Update.

Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-06-17 23:54:01 +02:00
Peter Rosin
a4629ebff2 libtool: break all the way out when a good nm is found
The current code tries to locate a compatible nm tool.  It starts with
a prefixed nm tool (great!) and includes a plain nm too (that's fine).
The problem is that the code searches for the prefixed nm before the
plain nm (normally fine), but doesn't break once it has found a valid
match, and the plain nm ends up the winner.

Report and analysis by Mike Frysinger.

* m4/libtool.m4 (LT_PATH_NM): Break all the way out on a good match.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-04-28 09:16:56 +02:00
Peter Rosin
68920ef835 maint: update email address...
* THANKS: ...of Jan Engelhardt.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-28 19:50:31 +01:00
Jan Engelhardt
f67a13c5a0 doc: fix an orthographic error
* doc/libtool.texi (Install mode): Ensure, not insure.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-28 17:15:38 +01:00
Gary V. Vaughan
2e40f7209a bootstrap: fix func_insert_if_absent bugs.
* gl/build-aux/bootstrap.in (func_insert_if_absent): Print verbose
message when there is a new entry to add.
Also, make sure to update the .gitignore file when changed.
* bootstrap: Regenerate.
* THANKS: Add Pádraig Brady.
Reported by Pádraig Brady.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-27 21:11:10 +07:00
Gary V. Vaughan
8d2a63c23a bootstrap: factor out gnulib-tool option calculations.
* gl/build-aux/bootstrap.in (func_gnulib_tool): Factor base option
settings out...
(require_gnulib_tool_base_options): ...to here.
* bootstrap: Regenerate.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-27 20:34:54 +07:00
Gary V. Vaughan
ea6773ca6f syntax-check: fix a quoted_test_operand violation.
* gl/build-aux/bootstrap.in (func_insert_if_absent): Make sure
test operands are quoted correctly.
* bootstrap: Regenerate.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-27 20:26:26 +07:00
Gary V. Vaughan
51496e032d syntax-check: fix new SPACE-TAB violations.
* build-aux/ltmain.in (func_dll_def_p): Replace SPACE-TAB by
TAB-SPACE.
* m4/libtool.m4 (_LT_DLL_DEF_P): Likewise.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-27 20:24:42 +07:00
Bernhard Voelker
05a3f42719 bootstrap: always auto-add .gitignore files at the top.
* gl/build-aux/bootstrap.in (func_gitignore_entries): New function.
Strip comments and blank lines.
(func_insert_sorted_if_absent): Renamed...
(func_insert_if_absent): ...to this. Adjust all callers.
Instead of comparing the sorted new file with the original,
compare the line count, being careful to diagnose duplicate
entries which would otherwise skew the count.

Co-authored-by: Gary V. Vaughan <gary@gnu.org>
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-26 12:54:44 +07:00
Gary V. Vaughan
2d96bc612c maint: patch gitlog-to-changelog to reduce bogus warnings.
Rather than trying to find a new useful warning among the 55
expected warnings from vanilla gitlog-to-changelog, patch it to
elide the bogus warnings from duplicate log entries.
* gl/bulid-aux/gitlog-to-changelog.diff: Omit-from-ChangeLog is
a new log entry tag to skip legitimate log duplicates.
* build-aux/git-log-fix: Instead of deleting all content of
duplicates and generating a warning, append the new
Omit-from-ChangeLog tag to elide silently.
* Makefile.am *($(changelog)): Remove the 'expect 55 warnings'
echo.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-26 11:19:11 +07:00
Peter Rosin
a5a4944fbb libtool: factor out the dll .def file test and improve it
Resolves bug#13414. Problem reported by Erik van Pienbroek
and Martin Doucha.

build-aux/ltmain.in (func_mode_link): Factor out the test if a
given symbol file is a module-definition (.def) file into...
(func_dll_def_p): ...this function, which also improves the check.
m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
<cygwin, mingw, pw32, cegcc>: Similarly, factor out the test if
a given symbol file is a module-definition (.def) file into...
(_LT_DLL_DEF_P): ...this macro, which also improves the check.
tests/export-def.at: New test.
Makefile.am (TESTSUITE_AT): Add above test.
NEWS: Update.
THANKS: Update.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-22 22:54:43 +01:00
Peter Rosin
726bf31ced libtool: allow tabs in *_cmds variables
This is in preparation for the next patch, which needs to have literal
tab characters survive the evaluation of the *_cmds variables.

build-aux/ltmain.in (func_execute_cmds, func_mode_link): Don't collapse
tabs and surrounding whitespace into a single space when executing a
tilde-separated cmds construct, instead keep any tabs intact.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-21 06:41:00 +01:00
Peter Rosin
de1e6cef33 libtool: avoid tabs in all *_cmds variables.
This is in preparation for the next change, which will preserve
tabs when the *_cmds variables are evaluated. Removing tabs first
ensures that the libtool output stays the same when tabs are not
collapsed with surrounding whitespace.

m4/libtool.m4: Convert indenting tabs to spaces for all *_cmds
variables.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-19 22:14:16 +01:00
Peter Rosin
8152cf62a1 libtool: align archive_cmds with archive_expsym_cmds for MSVC
m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [MSVC]
<archive_cmds>: Specify the import library name, aligning with
archive_expsym_cmds.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-16 13:40:00 +01:00
Peter Rosin
ae4c1d3593 libtool: feed .def files verbatim to the MSVC linker
m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [MSVC]
<archive_expsym_cmds>: When the symbol list isn't really a symbol list,
but instead a .def file, copy it to a file with .def extension so that
MSVC recognizes it as a module-definition file and feed it verbatim.
NEWS: Update

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-16 13:39:52 +01:00
Peter Rosin
93cba573d2 Revert "libtool: use false or : for $always_export_symbols, and simplify"
This reverts commit 5ed7430fcb, which is
totally bogus as the variable is also set in libtool.m4. Sorry for the
noise.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-15 15:17:30 +01:00
Peter Rosin
5ed7430fcb libtool: use false or : for $always_export_symbols, and simplify
* build-aux/ltmain.in (func_mode_link): Save a string comparison
by setting $lways_export_symbols to false or : and using it directly
as the first argument to if. Make sure that it is always initialized
while at it.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-15 10:51:03 +01:00
Peter Rosin
820e373cf2 tests: fix nits in path handling
tests/bindir.at: func_save_and_prepend_path is already checking
$bindirneeded internally, so remove checks from call sites. Add
proper quoting while at it.
(func_save_and_prepend_path): Use $PATH_SEPARATOR instead of a literal
colon (in both instances).

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-09 12:58:55 +01:00
Peter Rosin
66acec8407 libtool: simplify quoting and code for symbols exporting sed programs
* m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [MSVC]
<archive_expsym_cmds>: Make the sed programs easier to read (and
recover some backslashes for later in the process).

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-08 22:44:51 +01:00
Peter Rosin
b6bb7f9cdf tests: don't feed -no-undefined to the linker during configure.
* tests/deplibs-mingw.at: Restore LDFLAGS for the configure run so that
the linker does not see -no-undefined. Makes the test pass instead of
skip on MinGW.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-03 13:28:12 +01:00
Gary V. Vaughan
2edfc07f74 maint: note warnings during ChangeLog generation are normal.
* Makefile.am ($(changelog)): Output a note that 55 empty commit
log warning messages during ChangeLog generation are expected.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-03 14:01:43 +07:00
Gary V. Vaughan
1be8e162f9 git: ignore .serial file.
* .gitignore: ignore .serial file.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-03 13:53:58 +07:00
Gary V. Vaughan
ce23852aa6 maint: fix recent badly formatted ChangeLog entry.
* build-aux/git-log-fix: No empty lines in a single commit.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-03 13:51:19 +07:00
Gary V. Vaughan
a6be6b3c72 syntax-check: fix a useless_quotes_in_assignment violation.
* gl/build-aux/inline-source (func_require_AWK): Remove useless
quotes.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-03 13:43:07 +07:00
Gary V. Vaughan
ed41ffafb3 syntax-check: fix prohibit_strcmp syntax-check violation.
* build-aux/ltmain.in (func_generate_dlsyms): Add a definition for
STREQ, and then use it in place of !strcmp.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-03 13:41:02 +07:00
Gary V. Vaughan
125cab0c9b docs: update copyright dates in libtool.texi.
It seems `make update-copyright' missed the texinfo copyright
notice.
* doc/libtool.texi: Update copyright dates for 2013.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-03 13:25:54 +07:00
Brad Smith
260b909b2c libtool: add bitrig support.
* build-aux/ltmain.in (func_mode_link): Add bitrig support.
* m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE, LT_CMD_MAX_LEN)
(_LT_SYS_DYNAMIC_LINKER, _LT_CHECK_MAGIC_METHOD)
(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Ditto.
* m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Ditto.
* tests/deplibs-ident.at(build tree relpaths): Ditto.
* NEWS: Updated.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-03 13:11:56 +07:00
Peter Rosin
a9fac8df4d maint: check if git works before relying on it
Makefile.am (m4/ltversion.m4): Take the opportunity to regenerate
$(srcdir)/.serial whenever git is actually working.
(git_version_gen): Provide a fallback version for the git-version-gen
script to use when .tarball-version does not exist and git is not
working.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-01 19:40:57 +01:00
Peter Rosin
8b6f961a68 maint: really do update to latest upstream gnulib
Commit 9a7071e668 "maint: update
copyright notices to include 2013." states that this was done, but
it actually was not.

gnulib/: Update to latest upstream.
2013-01-01 19:39:24 +01:00
Gary V. Vaughan
e54f2dc19b maint: remove unsupported Tested-by: tag.
* build-aux/git-log-fix: Tested-by: line should not appear in the
ChangeLog.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-01-02 01:02:20 +07:00
Peter Rosin
1aa463d4e7 bootstrap: update README-release patch
gl/top/README-release.diff: Update to match latest gnulib changes.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
2013-01-01 18:50:08 +01:00