]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
15 years agoMerge branch 'master' into pr-msvc-support pr-msvc-support
Peter Rosin [Wed, 9 Jun 2010 12:45:27 +0000 (14:45 +0200)] 
Merge branch 'master' into pr-msvc-support

15 years agoMerge branch 'master' into pr-msvc-support
Peter Rosin [Wed, 9 Jun 2010 12:41:42 +0000 (14:41 +0200)] 
Merge branch 'master' into pr-msvc-support

15 years agoFix a quoting bug with ./commit -a 'A U Thor'.
Gary V. Vaughan [Wed, 9 Jun 2010 12:34:34 +0000 (19:34 +0700)] 
Fix a quoting bug with ./commit -a 'A U Thor'.

* clcommit.m4sh (func_commit): Use func_show_eval when calling
git, so that the previously func_quote_for_eval()ed $git_flags is
expanded properly.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
15 years agoDon't try the MSYS libdir path on MinGW.
Peter Rosin [Wed, 9 Jun 2010 12:26:00 +0000 (19:26 +0700)] 
Don't try the MSYS libdir path on MinGW.

* libltdl/ltdl.c (parse_dotla_file) [mingw]: The absolute
libdir path in the .la file is recorded as an MSYS (POSIX
style) path. Make sure it isn't tried when locating the
shared library.
* NEWS: Updated.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
15 years agoSimplify license variations, and add missing license texts.
Gary V. Vaughan [Wed, 9 Jun 2010 12:00:19 +0000 (19:00 +0700)] 
Simplify license variations, and add missing license texts.

* ChangeLog, ChangeLog.1996, ChangeLog.1997, ChangeLog.1998,
ChangeLog.1999, ChangeLog.2000, ChangeLog.2001, ChangeLog.2002,
ChangeLog.2003, ChangeLog.2004, ChangeLog.2005, ChangeLog.2006,
ChangeLog.2007, ChangeLog.2008, ChangeLog.2009, NEWS: Add
all-permissive license.
* HACKING, README, README.alpha, TODO: Relax license to RMS
encouraged all-permissive terms.
* libltdl/README: Ditto. I added the original license text in
2007, and there's no need for it to be so long for such a trivial
file.
* libltdl/config/getopt.m4sh, libltdl/general.m4sh: Cvs-utils is
dead, and I am the author of these files, so consolidated license
terms to match regular Libtool licensing.
* HACKING (Licensing Rules): Update wording, and list of files for
the all permissive license.
(GPL with CVS-Utils exception clause): Removed.  No files have these
license any more.
(GPL with Libtool exception clause): Ditto, only libltdl/README
used to be distributed with this variation.
* AUTHORS: Add GPL license text.

15 years agoFix a type in the 2.2.8 release notes.
Gary V. Vaughan [Wed, 9 Jun 2010 10:08:27 +0000 (17:08 +0700)] 
Fix a type in the 2.2.8 release notes.

* NEWS: s/ romoted/ promoted/ in the 2.2.8 release notes.

15 years agoDon't warn about the blank line inserted into git commit message.
Gary V. Vaughan [Wed, 9 Jun 2010 10:03:22 +0000 (17:03 +0700)] 
Don't warn about the blank line inserted into git commit message.

* clcommit.m4sh: When searching for accidental commits of mutliple
changes, ignore the second line of the message, which we inserted
earlier to support "git log --oneline".

15 years agoEnable correct extraction of multiline copyright from --version.
Gary V. Vaughan [Wed, 9 Jun 2010 09:53:56 +0000 (16:53 +0700)] 
Enable correct extraction of multiline copyright from --version.

* libltdl/config/getopt.m4sh: Wrap copyright notice at 76
columns.
(func_version): Don't omit spaces when merging multiline copyright
notices.
* clcommit.m4sh, libtoolize.m4sh: Wrap copyright notice at 76
columns.

15 years ago* NEWS (2.2.8): BlueGene compiler tests were performed on BG/P
Gary V. Vaughan [Wed, 9 Jun 2010 09:24:59 +0000 (16:24 +0700)] 
* NEWS (2.2.8): BlueGene compiler tests were performed on BG/P
systems, not BG/L.
Reported by Christian Rössel <christian.roessel@gmx.de>

15 years agoFix testsuite helper macros to not hide failure.
Ralf Wildenhues [Tue, 8 Jun 2010 19:23:08 +0000 (21:23 +0200)] 
Fix testsuite helper macros to not hide failure.

* tests/testsuite.at (LT_AT_CONFIGURE, LT_AT_MAKE):
Do not wrap AT_CHECK in a subshell, so that failures are
properly propagated; instead, move environment changes inside
the AT_CHECK code.
Report and analysis by Peter Rosin.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoAvoid autom4te warning about unnamed diversion.
Ralf Wildenhues [Tue, 8 Jun 2010 04:44:26 +0000 (06:44 +0200)] 
Avoid autom4te warning about unnamed diversion.

* libltdl/config/getopt.m4sh: Use diversion name KILL not -1.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoMake versioning test stricter for w32, enable shared libs.
Ralf Wildenhues [Mon, 7 Jun 2010 20:32:26 +0000 (22:32 +0200)] 
Make versioning test stricter for w32, enable shared libs.

* tests/versioning.at (versioning): Add -no-undefined to
LDFLAGS.
(test_uninstalled): Also move $bindir out of the way
temporarily.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoFix versioning test for LDFLAGS=-Wl,--as-needed.
Ralf Wildenhues [Mon, 7 Jun 2010 20:30:44 +0000 (22:30 +0200)] 
Fix versioning test for LDFLAGS=-Wl,--as-needed.

* tests/versioning.at (versioning): For the library update
hypotheses, ensure the unchanged library libb isn't accidentally
relinked against the new liba, by not reinstalling libb.
Fixes testsuite failure for the incompatible update case with
LDFLAGS=-Wl,--as-needed.
* THANKS: Update.
Report by Ryan Hill.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoRewrite manual intro to be gender-neutral.
Ralf Wildenhues [Sun, 6 Jun 2010 11:21:39 +0000 (13:21 +0200)] 
Rewrite manual intro to be gender-neutral.

* doc/libtool.texi (Introduction): Use gender-neutral
formulation when addressing developers.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoUpdate and simplify all m4sh scripts to use latest getopt.m4sh.
Gary V. Vaughan [Fri, 4 Jun 2010 22:40:40 +0000 (05:40 +0700)] 
Update and simplify all m4sh scripts to use latest getopt.m4sh.

* clcommit.m4sh, libltdl/config/mailnotify.m4sh: Rewrite option
parsing loop over M4SH_GETOPTS macro, and adjust all clients of
option variables to use generated option names.

15 years agoAdd missing quote for literal ? in a shell case statement.
Gary V. Vaughan [Fri, 4 Jun 2010 22:06:45 +0000 (05:06 +0700)] 
Add missing quote for literal ? in a shell case statement.

* libltdl/config/getopt.m4sh (m4go_shortnoargs): Quote initial ?
correctly for use in a shell case statement.

15 years agoQuote command line arguments after --rcfile properly.
Gary V. Vaughan [Fri, 4 Jun 2010 21:22:01 +0000 (04:22 +0700)] 
Quote command line arguments after --rcfile properly.

* libltdl/config/announce-gen.m4sh (--rcfile): Quote remaining
arguments shell variable expression correctly for eval.

15 years agoShift correctly in numbered option argument collection.
Gary V. Vaughan [Fri, 4 Jun 2010 21:19:11 +0000 (04:19 +0700)] 
Shift correctly in numbered option argument collection.

* libltdl/config/getopt.m4sh (_m4go_option): Argument list also
needs to be `shift'ed in the shell option loop after processing a
numbered argument collection.

15 years agoFetch from new upstream host for config.guess and config.sub.
Gary V. Vaughan [Fri, 4 Jun 2010 21:06:10 +0000 (04:06 +0700)] 
Fetch from new upstream host for config.guess and config.sub.

* Makefile.maint (WGET_CGIT): Location of newest config.guess and
config.sub upstream.
(fetch): Fetch config.guess and config.sub from WGET_CGIT, rather
than no-longer-updating WGET_SGO location.

15 years agoUpdate generated upload directive file format to v1.1.
Gary V. Vaughan [Fri, 4 Jun 2010 20:56:43 +0000 (03:56 +0700)] 
Update generated upload directive file format to v1.1.

* Makefile.maint (git-dist, diffs): Update to generate v1.1 format
directive files for ftp://ftp-upload.gnu.org/incoming/ftp.

15 years agoFix web manual generation details in release instructions.
Gary V. Vaughan [Fri, 4 Jun 2010 20:52:43 +0000 (03:52 +0700)] 
Fix web manual generation details in release instructions.

* HACKING (Release Procedure): Move the instruction for generating
web manuals for a new release to before the instruction that bumps
the version numbers to the post release values.

15 years agoSet SCM version number to 2.2.9a.
Gary V. Vaughan [Fri, 4 Jun 2010 19:29:56 +0000 (02:29 +0700)] 
Set SCM version number to 2.2.9a.

* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.2.9a.
* NEWS: Updated.

15 years agoPrepare for next release. v2.2.8
Gary V. Vaughan [Fri, 4 Jun 2010 18:43:56 +0000 (01:43 +0700)] 
Prepare for next release.

* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.2.8.
* NEWS: Update version number.
* INSTALL, libltdl/config/install-sh, libltdl/config/config.guess,
libltdl/config/config.sub, libltdl/config/texinfo.tex: Updated
from canonical source.

15 years agoProvide an m4sh reimplementation of announce-gen.
Gary V. Vaughan [Fri, 4 Jun 2010 17:50:24 +0000 (00:50 +0700)] 
Provide an m4sh reimplementation of announce-gen.

* libltdl/config/getopt.m4sh (M4SH_GETOPTS): New macro that takes
a quoted m4 list of command line options to be parsed, and
generates the shell code to parse those options and collect the
results into appropriately named 'opt_xxx' shell variables.  Also,
add some private supporting macros, and improve the comments
radically.
* libltdl/config/announce-gen.m4sh: New file, to generate and
optionally post (an enhancement over the gnulib perl script of the
same name) a release announcement.
* Makefile.maint (announce-gen): Build a new announce-gen script
in the build directory, from the contents of
libltdl/config/announce-gen.m4sh.
* HACKING (Release Procedure): Update the instructions to use
announce-gen.
(Alpha release note template, Full release note template):
Removed.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
15 years agoSupport "git log --oneline" in generated commit messages.
Gary V. Vaughan [Sat, 22 May 2010 11:10:27 +0000 (18:10 +0700)] 
Support "git log --oneline" in generated commit messages.

* clcommit.m4sh (func_check_commit_msg): Insert an empty line
between the ChangeLog entry summary line and the ChangeLog entry
body, so that "git log --oneline" works properly.
Bump copyright and version number.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

15 years ago* HACKING: Set Reply-To: in announcement emails.
Ralf Wildenhues [Sat, 22 May 2010 09:29:48 +0000 (11:29 +0200)] 
* HACKING: Set Reply-To: in announcement emails.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoSet SCM version number to 2.2.7c.
Gary V. Vaughan [Thu, 20 May 2010 23:59:56 +0000 (06:59 +0700)] 
Set SCM version number to 2.2.7c.
* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.2.7c.
* NEWS: Updated.

GNU Libtool 2.2.7b  was released.

15 years agoPrepare for next release candidate. v2.2.7b
Gary V. Vaughan [Thu, 20 May 2010 21:24:18 +0000 (04:24 +0700)] 
Prepare for next release candidate.
* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.2.7b.
* libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
libltdl/m4/ltoptions.m4, libltdl/m4/lt~obsolete.m4: These files
have been updated without a serial bump since the last release.
* libltdl/Makefile.inc (LTDL_VERSION_INFO): Bump Revision, to
account for bugfixes since the last release.
* libltdl/config/install-sh, libltdl/config/config.guess,
libltdl/config/config.sub, libltdl/config/texinfo.tex,
INSTALL: Updated from canonical source.
* NEWS: Update with missing entries from ChangeLog.
* HACKING: Note workaround for developer tool-path leakage bug.

15 years agoSkip some tests in --disable-ltdl-install mode.
Gary V. Vaughan [Thu, 20 May 2010 21:21:38 +0000 (04:21 +0700)] 
Skip some tests in --disable-ltdl-install mode.
* tests/dlloader-api.at, tests/exceptions.at,
tests/lalib-syntax.at, tests/loadlibrary.at,
tests/lt_dlopenext.at, tests/resident.at: Detect when these
tests try to link against the not installed libltdl.la, and
skip rather than FAIL.

15 years agoClarify versioning algorithm documentation.
Peter Rosin [Tue, 4 May 2010 18:36:52 +0000 (20:36 +0200)] 
Clarify versioning algorithm documentation.

* doc/libtool.texi (Updating version info): Be explicit
about setting age to zero on interface change.
Reported by Jef Driesen <jefdriesen@hotmail.com>

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years agoRanlib is required with -force_load and fat archives.
Peter O'Gorman [Tue, 4 May 2010 05:44:48 +0000 (00:44 -0500)] 
Ranlib is required with -force_load and fat archives.

* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Run
ranlib.
Reported by Jeremy Huddleston <jeremyhu@apple.com>

15 years agoFix incompatible struct declarations.
Ralf Wildenhues [Sun, 4 Apr 2010 08:56:27 +0000 (10:56 +0200)] 
Fix incompatible struct declarations.

* doc/libtool.texi (Dlpreopening): Remove broken documentation
of lt_dlsymbol and lt_dlsymlist.  Document typedef lt_dlsymlist
and symbol lt_preloaded_symbols according to the implementation.
* tests/demo/dlmain.c (lt_symlist): Make struct anonymous ...
(lt_dlsymlist): ... and typedef to this name.
(lt_preloaded_symbols, main): Adjust.
* tests/pdemo/longer_file_name_dlmain.c: Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoUse linker_flags not compiler_flags with $LD.
Ralf Wildenhues [Sun, 4 Apr 2010 07:32:56 +0000 (09:32 +0200)] 
Use linker_flags not compiler_flags with $LD.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux]
<archive_cmds, archive_expsym_cmds>: With xlf and bgxlf
compilers, when linking with $LD, use $linker_flags not
$compiler_flags.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoAdd FAQ, and FAQ entry for flags stripped at library link time.
Ralf Wildenhues [Sun, 28 Mar 2010 16:04:10 +0000 (18:04 +0200)] 
Add FAQ, and FAQ entry for flags stripped at library link time.

* doc/libtool.texi (FAQ, Stripped link flags): New nodes.
(Wrapper executables): Replace bug address with macro.
(Compile mode, Link mode): Document `-Wc,' and `-Xcompiler '
semantics better.
* libltdl/config/ltmain.m4sh (func_mode_link): Rewrite comment
for the flags that are passed through.
Prompted by reports from Simon Richter <Simon.Richter@hogyros.de>,
Török Edwin <edwintorok@gmail.com> and
Åke Sandgren <ake.sandgren@hpc2n.umu.se>.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoFix preloader symbol list declaration in libltdl.
Ralf Wildenhues [Sun, 28 Mar 2010 17:14:05 +0000 (19:14 +0200)] 
Fix preloader symbol list declaration in libltdl.

* libltdl/ltdl.c (preloaded_symbols): Fix declaration to include
array brackets.
(lt_dlinit): Do not take address of preloaded_symbols.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoFix typo in libtool --help output.
Ralf Wildenhues [Sun, 28 Mar 2010 16:11:44 +0000 (18:11 +0200)] 
Fix typo in libtool --help output.

* libltdl/config/ltmain.m4sh (func_mode_help): Fix typo in help
output.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoFix a couple of documentation errors.
Ralf Wildenhues [Sun, 28 Mar 2010 16:03:09 +0000 (18:03 +0200)] 
Fix a couple of documentation errors.

* doc/libtool.texi (Autoconf macros): Improve hyphenation.
(Using libltdl): libltdl uses the Lesser General Public License,
not the Library General Public License.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoDo not use @sc nor @acronym in the manual.
Ralf Wildenhues [Sun, 28 Mar 2010 16:02:22 +0000 (18:02 +0200)] 
Do not use @sc nor @acronym in the manual.

* doc/libtool.texi: Remove all usage of @sc.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoFix ChangeLog entry.
Ralf Wildenhues [Sun, 28 Mar 2010 16:00:03 +0000 (18:00 +0200)] 
Fix ChangeLog entry.

15 years agoSort output of 'find' to enable deterministic builds.
Chris Demetriou [Fri, 19 Mar 2010 05:26:03 +0000 (06:26 +0100)] 
Sort output of 'find' to enable deterministic builds.

* libltdl/config/ltmain.m4sh (func_extract_archives): Sort
output of 'find'.
* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Likewise.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoUnconditionally normalize LC_ALL, LANGUAGE in libtool script.
Ralf Wildenhues [Wed, 17 Mar 2010 21:44:25 +0000 (22:44 +0100)] 
Unconditionally normalize LC_ALL, LANGUAGE in libtool script.

* libltdl/config/ltmain.m4sh: Unconditionally set LC_ALL and
LANGUAGE to 'C', to avoid semantic differences on MinGW under
Chines locale.  SCO issues with e.g. LANG=C are not known to
be relevant today any more.
Report by Pete Batard <pbatard@gmail.com> and Xiaofan Chen
<xiaofanc@gmail.com>.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoPreserve the last error when restoring the error mode.
Peter Rosin [Wed, 17 Mar 2010 08:01:57 +0000 (09:01 +0100)] 
Preserve the last error when restoring the error mode.

* libltdl/loaders/loadlibrary.c (wm_open): Don't rely on
SetThreadErrorMode (or SetErrorMode) to not clobber the last
error.
Report by Ralf Wildenhues.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years agoUse Get/SetThreadErrorMode if they are available.
Peter Rosin [Wed, 17 Mar 2010 07:54:16 +0000 (08:54 +0100)] 
Use Get/SetThreadErrorMode if they are available.

* libltdl/loaders/loadlibrary.c (wrap_geterrormode): Replaced...
(wrap_getthreaderrormode): ...by this function that checks
first for GetThreadErrorMode, then GetErrorMode and makes use
of either of those or...
(fallback_getthreaderrormode): ...else falls back to this
replacement function that implements the old workaround, which
was previously implemented in...
(fallback_geterrormode): ...this now renamed function.
(geterrormode): Replaced...
(getthreaderrormode): ...by this function pointer that points
at either of wrap_getthreaderrormode, GetThreadErrorMode,
GetErrorMode or fallback_getthreaderrormode.
(wrap_setthreaderrormode): New function that checks if
SetThreadErrorMode is supported by the system and makes use of
it if it is.
(fallback_setthreaderrormode): New function that is used
otherwise that implements the old version using SetErrorMode.
(setthreaderrormode): New function pointer that points at
either of wrap_setthreaderrormode, SetThreadErrorMode or
fallback_setthreaderrormode.
(vm_open): Adjust to the above.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years agoDetect Sun compiler suite with 'sun'-prefixed names.
Ralf Wildenhues [Sun, 28 Feb 2010 12:38:34 +0000 (13:38 +0100)] 
Detect Sun compiler suite with 'sun'-prefixed names.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG)
(_LT_SYS_HIDDEN_LIBDEPS) [solaris]: Accept compiler names sunCC,
sunf77, sunf90, sunf95 in addition to CC, f77, f90, f95.
* NEWS: Update.
Report by Vadim Zeitlin.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoFix deplibs check fallback for 64-bit Windows and Windows CE.
Pierre Ossman [Mon, 22 Feb 2010 21:44:04 +0000 (22:44 +0100)] 
Fix deplibs check fallback for 64-bit Windows and Windows CE.

* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Accept file formats
'pe-arm-wince' and 'pe-x86-64'.  Add note about consistency with ...
* libltdl/config/ltmain.m4sh (func_win32_libid): ... the respective
pattern here; sync pattern from the former.
* tests/deplibs-mingw.at (deplibs without file command): New
file, new test.
* Makefile.am (TESTSUITE_AT): Update.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoUpdate search path on Haiku for legacy system directory.
Scott McCreary [Wed, 24 Feb 2010 21:10:52 +0000 (22:10 +0100)] 
Update search path on Haiku for legacy system directory.

* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [haiku]
<sys_lib_dlsearch_path_spec>: Replace legacy
/boot/beos/system/lib directory with /boot/system/lib.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agomanual: fix detailmenu ordering.
Ralf Wildenhues [Mon, 22 Feb 2010 21:05:14 +0000 (22:05 +0100)] 
manual: fix detailmenu ordering.

* doc/libtool.texi (Top): Add section for `Linking executables'
in the detailmenu.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoGuard against strerror()==NULL
Charles Wilson [Sun, 21 Feb 2010 21:56:44 +0000 (16:56 -0500)] 
Guard against strerror()==NULL

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main):
Check return value of strerror() using nonnull().
(func_emit_cwrapperexe_src:find_executable): Ditto.
(func_emit_cwrapperexe_src:chase_symlinks): Ditto.

15 years agoDocument wrapper changes.
Charles Wilson [Sun, 12 Jul 2009 22:49:06 +0000 (18:49 -0400)] 
Document wrapper changes.

* NEWS: Indicate new feature and incompatibility.
* doc/libtool.texi [detailmenu]: Add reference to subsection
'Wrapper executables for programs', in Platform Quirks category.
[Linking executables]: Mention wrapper executables, in
addition to wrapper scripts. Add menu referencing subsection
'Wrapper executables for programs'.
[Wrapper executables for programs]: New subsection. Documents
cwrapper rationale and command line options.

15 years agoAdd --lt-* options to shell wrapper
Charles Wilson [Sun, 12 Jul 2009 21:40:26 +0000 (17:40 -0400)] 
Add --lt-* options to shell wrapper

* libltdl/config/ltmain.m4sh (func_emit_wrapper): Call
func_parse_lt_options early. Use func_exec_program.
(func_emit_wrapper:func_parse_lt_options): New function.
(func_emit_wrapper:func_lt_dump_args): New function.
(func_emit_wrapper:func_exec_program_core): New function.
(func_emit_wrapper:func_exec_program): New function.

15 years agoEnable runtime cwrapper debugging; add tests
Charles Wilson [Sun, 12 Jul 2009 18:30:44 +0000 (14:30 -0400)] 
Enable runtime cwrapper debugging; add tests

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src):
Update comments. Initialize program_name. Eliminate _LENGTH
variables for string constants. In debug mode, print a
banner with known content before any other output. Remove
LTWRAPPER_DEBUGPRINTF macro. Add constants and variables
to support new --lt-debug option.
(func_emit_cwrapperexe_src:ltwrapper_debugprintf): Renamed to...
(func_emit_cwrapperexe_src:lt_debugprintf): this. Only print
messages if lt_debug != 0. Ensure appearance of messages
conforms to GCS.
(func_emit_cwrapperexe_src:lt_fatal): Ditto.
(func_emit_cwrapperexe_src:lt_error_core): Ditto.
(func_emit_cwrapperexe_src): Update all callers to lt_fatal.
Update all users of LTWRAPPER_DEBUGPRINTF (()) to call
lt_debugprintf () directly.
(func_emit_cwrapperexe_src:main): Consolidate option parsing.
Ensure first use of lt_debugprintf occurs after option parsing.
Add stanza to parse for --lt-debug and set lt_debug variable.
Use strcmp rather than strncmp, where safe.
* tests/cwrapper.at: Add new tests for --lt-debug and
-DLT_DEBUGWRAPPER.

15 years agoUse --email with gendocs.sh.
Ralf Wildenhues [Sun, 31 Jan 2010 12:39:48 +0000 (13:39 +0100)] 
Use --email with gendocs.sh.

* Makefile.maint (web-manual): Pass bug reporting address to
gendocs.sh.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoMake testsuite code C++ clean again.
Ralf Wildenhues [Sun, 31 Jan 2010 14:31:52 +0000 (15:31 +0100)] 
Make testsuite code C++ clean again.

* tests/resident.at (resident modules): Fix for C++.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoTestsuite exposure for dlloader API.
Peter Rosin [Fri, 29 Jan 2010 08:04:13 +0000 (09:04 +0100)] 
Testsuite exposure for dlloader API.

* tests/dlloadet-api.at: New file, new test.
* Makefile.am (TESTSUITE_AT): Update.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years ago* tests/loadlibrary.at: Fix C++ issues.
Peter Rosin [Fri, 29 Jan 2010 07:49:45 +0000 (08:49 +0100)] 
* tests/loadlibrary.at: Fix C++ issues.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years agoReport proper errors from the loadlibrary loader.
Peter Rosin [Thu, 21 Jan 2010 07:42:12 +0000 (08:42 +0100)] 
Report proper errors from the loadlibrary loader.

* libltdl/loaders/loadlibrary.c (loadlibraryerror): New
helper function that returns the latest Windows error as a
string, or the provided default string on failure to do so.
(LOADLIB_SETERROR): New macro that wraps previous to make it
easy to use.
(vm_open, vm_close, vm_sym): Make use of previous.
(LOCALFREE): New macro to help free the Windows error string.
(vl_exit): Make use of previous.
* tests/loadlibarry.at: New file, new test that makes sure
the loadlibrary loader reports non-standard error messages.
* Makefile.am (TESTSUITE_AT): Add above test.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years agoUse GetErrorMode if it is available.
Peter Rosin [Mon, 18 Jan 2010 08:48:23 +0000 (09:48 +0100)] 
Use GetErrorMode if it is available.

* libltdl/loaders/loadlibrary.c (wrap_geterrormode): New
function that checks if GetErrorMode is supported by the
system and makes use of it if it is.
(fallback_geterrormode): New function that is used otherwise
that implements the old workaround.
(geterrormode): New function pointer that points at either
of the above or directly at GetErrorMode.
(vm_open): Make use of the above.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years agoEnsure functions from resident modules work in atexit handlers.
Ralf Wildenhues [Mon, 11 Jan 2010 20:56:23 +0000 (21:56 +0100)] 
Ensure functions from resident modules work in atexit handlers.

* tests/resident.at (resident modules): New file, new test.
* Makefile.am (TESTSUITE_AT): Adjust.
Report by Bob Friesenhahn.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoTestsuite exposure for relative output file names and deplibs.
Ralf Wildenhues [Mon, 11 Jan 2010 20:45:58 +0000 (21:45 +0100)] 
Testsuite exposure for relative output file names and deplibs.

* tests/deplib-in-subdir.at (deplib in subdir): New file, new
test.
* Makefile.am (TESTSUITE_AT): Update.
Prompted by report from Bob Friesenhahn.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoTestsuite exposure for C++ exception handling.
Ralf Wildenhues [Sun, 10 Jan 2010 08:06:57 +0000 (09:06 +0100)] 
Testsuite exposure for C++ exception handling.

* tests/exceptions.at (C++ exception handling): New file, new
test.
* Makefile.am (TESTSUITE_AT): Update.
Report by Bob Friesenhahn.

15 years agoBump copyright years.
Ralf Wildenhues [Wed, 6 Jan 2010 07:03:33 +0000 (08:03 +0100)] 
Bump copyright years.

* ChangeLog.2009: New, rotated from ...
* ChangeLog: ... here.
* Makefile.am (EXTRA_DIST): Add ChangeLog.2009.
* NEWS, libltdl/config/ltmain.m4sh: Bump copyright years.
* libltdl/m4/libtool.m4 (_LT_COPYING, LT_OUTPUT): Likewise.
* libtoolize.m4sh: Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years ago* libltdl/ltdl.c (lt_dlerror): Remove meaningless conditional.
Peter Rosin [Wed, 30 Dec 2009 02:18:19 +0000 (03:18 +0100)] 
* libltdl/ltdl.c (lt_dlerror): Remove meaningless conditional.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years ago* libltdl/ltdl.c (file_not_found): Fix typos in code comment.
Peter Rosin [Tue, 29 Dec 2009 18:00:58 +0000 (19:00 +0100)] 
* libltdl/ltdl.c (file_not_found): Fix typos in code comment.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years agoReplace last __oline__ instance.
Ralf Wildenhues [Sat, 12 Dec 2009 07:51:02 +0000 (08:51 +0100)] 
Replace last __oline__ instance.

* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Replace last
__oline__ instance with $LINENO.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoImprove parsing of .la files in libltdl.
Ralf Wildenhues [Wed, 9 Dec 2009 06:28:59 +0000 (07:28 +0100)] 
Improve parsing of .la files in libltdl.

* libltdl/ltdl.c (trim): Do not dump core upon missing quote in
module .la file.
* tests/lalib-syntax.at (syntax of .la files): New file, new
test.
* Makefile.am (TESTSUITE_AT): Add tests/lalib-syntax.at.
Report by Bob Friesenhahn.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoSane fallback initialization of $ECHO from $as_echo.
Ralf Wildenhues [Wed, 2 Dec 2009 22:01:56 +0000 (23:01 +0100)] 
Sane fallback initialization of $ECHO from $as_echo.

* libltdl/config/general.m4sh: Use 'printf %s\n' if $as_echo is
unset.
* tests/testsuite.at: Likewise.
* THANKS: Update.
Report by Vadim Zeitlin and Peter Rosin.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agolt_dlloader_remove and lt_dlloader_find accept const arguments.
Ralf Wildenhues [Wed, 2 Dec 2009 22:12:27 +0000 (23:12 +0100)] 
lt_dlloader_remove and lt_dlloader_find accept const arguments.

* libltdl/lt_dlloader.c (lt_dlloader_remove, lt_dlloader_find):
Accept `const char *' arguments, as documented.  Cast them to
`void *' for the slist machinery.
* libltdl/libltdl/lt_dlloader.h: Adjust prototypes.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoTest and fix slist.c.
Ralf Wildenhues [Wed, 2 Dec 2009 22:11:23 +0000 (23:11 +0100)] 
Test and fix slist.c.

* libltdl/libltdl/slist.h: Include stddef.h, for size_t.
(slist_remove): Return pointer to SList, not void.
* libltdl/slist.c: Include stdlib.h, for malloc and free.
(slist_remove): Adjust prototype as above.
(slist_sort): Do not loop forever on one-item list.
* tests/slist.at (SList functionality): New file, new test.
* Makefile.am (TESTSUITE_AT): Add tests/slist.at.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoPlease C++ compilers when calling strrchr.
Peter Rosin [Mon, 30 Nov 2009 19:20:36 +0000 (14:20 -0500)] 
Please C++ compilers when calling strrchr.

* libltdl/ltdl.c (has_library_ext): Match the return type of
strrchr with the first argument to please C++ compilers.
Report by Peter O'Gorman.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years agoFix bindir and dlopen tests for C++ compilers (CC=g++).
Ralf Wildenhues [Sun, 29 Nov 2009 22:03:14 +0000 (23:03 +0100)] 
Fix bindir and dlopen tests for C++ compilers (CC=g++).

* tests/bindir.at (bindir basic lib test, bindir install tests):
Include stdlib.h rather than declaring abort.
* tests/lt_dlopenext.at (lt_dlopenext error messages): Use
`extern "C"' annotation for dlsym'ed function in C++ mode.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoEnable symbol versioning with the GNU gold linker.
Ralf Wildenhues [Tue, 24 Nov 2009 11:22:13 +0000 (12:22 +0100)] 
Enable symbol versioning with the GNU gold linker.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Accept 'GNU gold'
in the version string.
* NEWS, THANKS: Update.
Report by Peter Fritzsche.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoMerge branch 'master' into pr-msvc-support
Peter Rosin [Sat, 28 Nov 2009 09:31:48 +0000 (04:31 -0500)] 
Merge branch 'master' into pr-msvc-support

15 years agoFix cross build issue in execute mode test.
Peter Rosin [Wed, 25 Nov 2009 22:29:34 +0000 (17:29 -0500)] 
Fix cross build issue in execute mode test.

* tests/execute-mode.at: Skip test for cross builds.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years agoTighten regex for Portland C++ compiler for version 10.
Ralf Wildenhues [Tue, 24 Nov 2009 14:22:57 +0000 (15:22 +0100)] 
Tighten regex for Portland C++ compiler for version 10.

* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [linux]:
Match a dot after version 1 through 5, so 10 and up don't match,
and use weak symbols.
* THANKS: Update.
Report by Jeff Squyres and Brent Leback.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoUpdate libltdl version to match 2.2.6b release.
Peter O'Gorman [Mon, 16 Nov 2009 15:26:29 +0000 (09:26 -0600)] 
Update libltdl version to match 2.2.6b release.

libltdl/Makefile.inc: Make version 9:1:2

15 years agoDon't load module.la from current directory by default.
Bob Friesenhahn [Sat, 14 Nov 2009 19:52:24 +0000 (13:52 -0600)] 
Don't load module.la from current directory by default.

* libltdl/ltdl.c (try_dlopen): Do not attempt to load an
unqualified module.la file from the current directory (by
default) since doing so is insecure and is not compliant with
the documentation.
* tests/testsuite.at: Qualify access to module.la file in
current directory so that test passes.

15 years agoOnly use preopen loader to load preopened archives
Peter O'Gorman [Sat, 14 Nov 2009 19:47:10 +0000 (13:47 -0600)] 
Only use preopen loader to load preopened archives

* libltdl/ltdl.c: Limit checking of .a to preopen loader.
* tests/lt_dlopen_a.at: Add test.
* Makefile.am: Add test.

15 years agoRecognize `pgfortran' as Portland compiler.
Ralf Wildenhues [Sat, 14 Nov 2009 10:32:18 +0000 (11:32 +0100)] 
Recognize `pgfortran' as Portland compiler.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS):
Accept `pgfortran*' too.
Report by Jeff Squyres.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoFix verbose link extraction for multiply reconfigured GCC.
Alexandre Oliva [Sun, 1 Nov 2009 17:41:43 +0000 (18:41 +0100)] 
Fix verbose link extraction for multiply reconfigured GCC.

* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG)
<output_verbose_link_cmd>: Drop GCC lines "Configured with" that
may contain unrelated flags.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoAllow gcc builds with -Wall -Werror.
Eric Blake [Mon, 2 Nov 2009 18:58:28 +0000 (11:58 -0700)] 
Allow gcc builds with -Wall -Werror.

* libltdl/ltdl.c (try_dlopen): Use strlen rather than LT_STRLEN on
an array that will never be NULL.

Signed-off-by: Eric Blake <ebb9@byu.net>
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoFix func_normal_abspath sed script for Solaris.
Ralf Wildenhues [Sun, 1 Nov 2009 10:41:34 +0000 (11:41 +0100)] 
Fix func_normal_abspath sed script for Solaris.

* libltdl/config/general.m4sh (pathcar, pathcdr, removedotparts)
(collapseslashes, finalslash): Use single quotes, for clarity.
(removedotparts): Avoid \{N,M\} after subexpression \(...\), for
Solaris /bin/sed.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoImprove versioning algorithm documentation.
Ralf Wildenhues [Sun, 1 Nov 2009 10:38:23 +0000 (11:38 +0100)] 
Improve versioning algorithm documentation.

* doc/libtool.texi (Updating version info): Repeat the
algorithms in different, hopefully simpler terms.
* THANKS: Update.
Prompted by Richard B. Kreckel.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoSupport for the Haiku operating system.
Ingo Weinhold [Sun, 1 Nov 2009 09:53:23 +0000 (10:53 +0100)] 
Support for the Haiku operating system.

* libltdl/config/ltmain.m4sh (func_mode_link): Add cases for
`*-*-haiku*' alongside `*-*-beos*'.
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_CHECK_MAGIC_METHOD, LT_LIB_M, _LT_COMPILER_PIC)
(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Add cases for
`haiku*'.
* NEWS, THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoFix quoting of AS, DLLTOOL, and OBJDUMP for the libtool script.
Ralf Wildenhues [Sun, 1 Nov 2009 08:26:51 +0000 (09:26 +0100)] 
Fix quoting of AS, DLLTOOL, and OBJDUMP for the libtool script.

* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Quote values of
$AS, $DLLTOOL, and $OBJDUMP, so they can contain arguments.
* THANKS: Update.
Report by Matthijs Kooijman.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoInitial support for the Cuda Compiler Driver on Linux.
Ralf Wildenhues [Sun, 13 Sep 2009 09:00:31 +0000 (11:00 +0200)] 
Initial support for the Cuda Compiler Driver on Linux.

* libltdl/config/ltmain.m4sh (func_mode_compile): Accept source
file extensions `.cu' and `.cup'.
* libltdl/m4/libtool.m4 (_LT_COMPILER_NO_RTTI, _LT_COMPILER_PIC)
(_LT_LINKER_SHLIBS): Support for `nvcc' compiler driver.
* NEWS, THANKS: Update.
Report by Mahesh Narayanamurthi.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoMerge branch 'master' into pr-msvc-support
Peter Rosin [Mon, 14 Sep 2009 07:14:08 +0000 (09:14 +0200)] 
Merge branch 'master' into pr-msvc-support

15 years agoControl where win32 DLLs get installed.
Dave Korn [Sat, 12 Sep 2009 06:01:38 +0000 (08:01 +0200)] 
Control where win32 DLLs get installed.

* libltdl/config/general.m4sh (func_normal_abspath): New function.
(func_relative_path): Likewise.
* libltdl/config/ltmain.m4sh (func_mode_help): Document "-bindir".
(func_mode_link): Accept new "-bindir" option and use it, if
supplied, to place Windows DLLs.
* tests/bindir.at: New file for install tests using "-bindir".
* Makefile.am (TESTSUITE_AT): Add bindir.at.
* doc/libtool.texi (Link Mode): Update documentation.
* NEWS, THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agolibtool: clean libconftest.a.
Akim Demaille [Fri, 11 Sep 2009 11:14:29 +0000 (13:14 +0200)] 
libtool: clean libconftest.a.

* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Here.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoMerge branch 'master' into pr-msvc-support
Peter Rosin [Fri, 11 Sep 2009 04:40:30 +0000 (06:40 +0200)] 
Merge branch 'master' into pr-msvc-support

15 years agofunc_win32_libid doesn't work with MS dumpbin
Peter Rosin [Thu, 10 Sep 2009 07:51:15 +0000 (09:51 +0200)] 
func_win32_libid doesn't work with MS dumpbin

* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): The $NM
interface is assumed to be BSD nm in func_win32_libid, so
check for that before using it.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years agoMerge branch 'master' into pr-msvc-support
Peter Rosin [Wed, 9 Sep 2009 10:36:23 +0000 (12:36 +0200)] 
Merge branch 'master' into pr-msvc-support

15 years agoAllow dlopen self test to work with gcc's -fvisibility=hidden.
Ralf Wildenhues [Mon, 7 Sep 2009 19:27:08 +0000 (21:27 +0200)] 
Allow dlopen self test to work with gcc's -fvisibility=hidden.

* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Declare default
visibility for the symbol we are going to test dlopen (NULL)
when a GCC version is used that understands the visibility
attribute, under the assumption that if -fvisibility=hidden
will be used, the user code will be sufficiently annotated
for visibility of needed symbols from the main executable.
* THANKS: Update.
Report by Josh Hursey against OpenMPI.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoFix and split recent testsuite addition for compile/link flags.
Ralf Wildenhues [Mon, 7 Sep 2009 19:08:50 +0000 (21:08 +0200)] 
Fix and split recent testsuite addition for compile/link flags.

* tests/flags.at (passing flags through libtool): Split into ...
(passing CC flags through libtool)
(passing CXX flags through libtool)
(passing F77 flags through libtool)
(passing FC flags through libtool)
(passing GCJ flags through libtool): ... these five tests,
factorized with m4_foreach.  Fix F77 and FC compile and link
commands; add GCJ tag.  Use LT_AT_TAG to correctly skip tags
for which no compiler exists.  Use $EXEEXT where appropriate.
Drop unneeded use of reload_cmds.
Reports by Peter Rosin and Peter O'Gorman.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoFix redirect in test case.
Peter O'Gorman [Mon, 7 Sep 2009 20:17:03 +0000 (15:17 -0500)] 
Fix redirect in test case.

tests/darwin.at: Fix stderr redirect.

15 years agoUse darwin's -force_load flag if available for whole_archive_flag_spec
Peter O'Gorman [Mon, 7 Sep 2009 05:41:58 +0000 (00:41 -0500)] 
Use darwin's -force_load flag if available for whole_archive_flag_spec

* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check for
-force_load and use it if there.
* tests/darwin.at: Add a simple test.

15 years agoTestsuite keyword 'interactive' and check-* rules.
Ralf Wildenhues [Sun, 6 Sep 2009 17:38:06 +0000 (19:38 +0200)] 
Testsuite keyword 'interactive' and check-* rules.

* Makefile.am (testsuite_deps, testsuite_deps_uninstalled):
New variables.
(check-local, installcheck-local): Use them.
(check-interactive, check-noninteractive): New rules.
* tests/link-order2.at (Link order of deplibs),
tests/static.at (static linking flags for programs): Add keyword
`interactive'.
* doc/libtool.texi (Test descriptions): Document all keywords
used in the Libtool test suite.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoFix failure test in the presence of --with-pic or -prefer-pic.
Ralf Wildenhues [Sun, 6 Sep 2009 10:42:34 +0000 (12:42 +0200)] 
Fix failure test in the presence of --with-pic or -prefer-pic.

* tests/fail.at (Failure tests): Run non-PIC failure test only
if pic_mode is 'default' or 'no', rather than 'default' or 'yes'
and also -prefer-pic has not been passed in $CFLAGS.
* THANKS: Update.
Report by Donn Washburn.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoAdd testsuite exposure for passing of compiler and linker flags.
Ralf Wildenhues [Sun, 6 Sep 2009 07:48:33 +0000 (09:48 +0200)] 
Add testsuite exposure for passing of compiler and linker flags.

* tests/flags.at (passing flags through libtool): New file, new
test, for bug fixed in previous commit.
* Makefile.am (TESTSUITE_AT): Add tests/flags.at.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoMake -Wc,FLAG behave like -Xcompiler FLAG in link mode.
Peter Rosin [Fri, 4 Sep 2009 20:19:36 +0000 (22:19 +0200)] 
Make -Wc,FLAG behave like -Xcompiler FLAG in link mode.

* libltdl/config/ltmain.m4sh (func_mode_link): Remove "-Wc,"
instead of replacing it with "$wl" when linking programs
through the compiler driver, just as is the case when linking
libraries.
* NEWS: Update.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
15 years agoShut up prototype warnings with recent GCC and -Wstrict-prototypes.
Lennart Poettering [Sun, 23 Aug 2009 05:19:26 +0000 (07:19 +0200)] 
Shut up prototype warnings with recent GCC and -Wstrict-prototypes.

* libltdl/config/ltmain.m4sh (func_generate_dlsyms): Use recent
GCC's diagnostic pragma to override a -Wstrict-prototypes
setting for the symbol list code.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>