]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
16 years agoUse AT_CHECK more liberally in duplicate members test.
Ralf Wildenhues [Sat, 31 Jan 2009 10:27:11 +0000 (11:27 +0100)] 
Use AT_CHECK more liberally in duplicate members test.

* tests/duplicate_members.at (duplicate members in archive
tests): Wrap link commands in AT_CHECK, they might fail, as seen
on QNX.
* THANKS: Update.
Report by Mike Gorchak.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix cwrapper warnings from MSVC 2005.
Akim Demaille [Fri, 30 Jan 2009 07:52:17 +0000 (02:52 -0500)] 
Fix cwrapper warnings from MSVC 2005.

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
[file scope]: define _CRT_SECURE_NO_DEPRECATE.

16 years agoFix bootstrap with older libtool.m4 in reach of aclocal.
Akim Demaille [Thu, 29 Jan 2009 22:43:25 +0000 (23:43 +0100)] 
Fix bootstrap with older libtool.m4 in reach of aclocal.

* libltdl/m4/lt~obsolete.m4: Add stub definitions for
_LT_REQUIRED_DARWIN_CHECKS and _LT_AC_PROG_CXXCPP.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix func_exec_init.
Akim Demaille [Mon, 5 Jan 2009 10:56:24 +0000 (11:56 +0100)] 
Fix func_exec_init.

* tests/defs.m4sh (func_exec_init): Instead of using the undefined
my_dir, call func_dirname_and_basename and use its result.
(func_make): For consistency, don't use the useless local variable
my_dir.

16 years agoDocument --mode short-hands better, and test them.
Ralf Wildenhues [Thu, 29 Jan 2009 18:54:31 +0000 (19:54 +0100)] 
Document --mode short-hands better, and test them.

* doc/libtool.texi (Invoking libtool): Give examples for using
the `--mode=MODE' short-hand `MODE', or abbreviations thereof.
* libltdl/config/ltmain.m4sh: Mention the short-hand for MODE
in the --help output.
* tests/help.at (mode short-hands): New test group.
Suggestion by Bruno Haible.

16 years agofunc_version copes with multi-line copyright headers.
Ralf Wildenhues [Thu, 29 Jan 2009 17:53:13 +0000 (18:53 +0100)] 
func_version copes with multi-line copyright headers.

* libltdl/config/getopt.m4sh (func_version): Slurp in copyright
lines until a period is found.
* libltdl/config/ltmain.m4sh: Multi-line copyright is ok to use
now.
* tests/help.at (standard command line options): New file, new
tests.  Make this test group the first one for libtool tests,
moving the banner ...
* tests/duplicate_members.at: ... from here.
* Makefile.am (TESTSUITE_AT): Add tests/help.at.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoNormalize compiler output due to compiler wrappers.
Akim Demaille [Thu, 29 Jan 2009 17:39:58 +0000 (18:39 +0100)] 
Normalize compiler output due to compiler wrappers.

* tests/testsuite.at (LT_AT_NORMALIZE_COMPILER_OUTPUT): New
macro, to normalize ccache and distcc output.
* tests/localization.at (localized compiler messages): Use it.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoMake modified libtool script in cwrapper test executable
Peter Rosin [Thu, 29 Jan 2009 07:55:08 +0000 (08:55 +0100)] 
Make modified libtool script in cwrapper test executable

* tests/cwrapper.at: Make modified libtool script executable.
Report by Roumen Petrov.

16 years agoClean space uses.
Akim Demaille [Mon, 19 Jan 2009 08:05:31 +0000 (09:05 +0100)] 
Clean space uses.

* libtoolize.m4sh: Remove trailing spaces.
Use <tab><sp>, as some editors remove "useless" spaces in
<sp><tab>.

16 years agoAWK is required, make sure it is set.
Peter Rosin [Mon, 26 Jan 2009 21:37:35 +0000 (22:37 +0100)] 
AWK is required, make sure it is set.

* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS: Make sure
AWK is set (automake brings it in, but is not always used).
Fixes old-m4-iface.at on MSYS/MSVC.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix typo in libtool install mode documentation.
Mike Frysinger [Mon, 26 Jan 2009 04:29:15 +0000 (23:29 -0500)] 
Fix typo in libtool install mode documentation.

* libltdl/config/ltmain.m4sh (func_mode_help): Change -inst-prefix
to -inst-prefix-dir.
* doc/libtool.texi (Install mode): Likewise.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAdd -Wall to cwrapper tests.
Charles Wilson [Sat, 24 Jan 2009 17:04:45 +0000 (12:04 -0500)] 
Add -Wall to cwrapper tests.

* tests/cwrapper.at: Add -Wall existing tests. Add additional
round of tests with -Wall alone.

16 years ago[cygwin|mingw] cwrapper cleanups.
Charles Wilson [Fri, 23 Jan 2009 13:45:38 +0000 (08:45 -0500)] 
[cygwin|mingw] cwrapper cleanups.

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
[file scope]: re-organized includes and portability
macros. Avoid oldnames on MINGW32 and MSVC for
setmode/stat/chmod/getcwd/putenv. Declare _putenv on
MINGW32 when -ansi. Use namespaced macro LT_DEBUGWRAPPER.

16 years agoExpand exit status test in LT_AT_NOINST_EXEC_CHECK correctly
Peter Rosin [Sat, 24 Jan 2009 10:18:15 +0000 (11:18 +0100)] 
Expand exit status test in LT_AT_NOINST_EXEC_CHECK correctly

* tests/testsuite.at (LT_AT_NOINST_EXEC_CHECK): STATUS is
argument $3, not $2.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAdd tests for cwrapper with -std=c89 and -std=c99
Charles Wilson [Thu, 22 Jan 2009 23:36:57 +0000 (18:36 -0500)] 
Add tests for cwrapper with -std=c89 and -std=c99

* tests/cwrapper.at: New file.
* Makefile.am: Add tests/cwrapper.at.

16 years agoMerge branch 'pr-tests-newline-fixes'
Peter Rosin [Thu, 22 Jan 2009 22:42:18 +0000 (23:42 +0100)] 
Merge branch 'pr-tests-newline-fixes'

16 years agoUnify line endings in localization test.
Peter Rosin [Thu, 22 Jan 2009 22:41:06 +0000 (23:41 +0100)] 
Unify line endings in localization test.

* tests/testsuite.at: Update copyright year.
(LT_AT_UNIFY_NL): Add macro that unifies line endings on
platforms that suffer from such confusion.
* tests/localization.at: Use it. Update copyright year. Fixes
the test on MSYS/MSVC.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years ago[cygwin|mingw] Fix compile warnings when -std=c89.
Charles Wilson [Sat, 3 Jan 2009 06:56:54 +0000 (01:56 -0500)] 
[cygwin|mingw] Fix compile warnings when -std=c89.

* libltdl/config/ltmain.m4sh (func_emit_wrapper_part1):
move contents to...
(func_emit_wrapper_part2): move contents to...
(func_emit_wrapper): here.
(func_emit_cwrapperexe_src) [file scope]: Remove
variables script_text_part1 and script_text_part2.
(func_emit_cwrapperexe_src) [lt_dump_script]: New function.
(func_emit_cwrapperexe_src) [main]: Call it.

16 years agoMinor cygwin cleanup
Charles Wilson [Tue, 20 Jan 2009 22:31:43 +0000 (17:31 -0500)] 
Minor cygwin cleanup

libltdl/config/ltmain.m4sh (func_generate_dlsyms): Correct
case pattern for cygwin.

16 years agoAvoid failure due to Cygwin path detection bug.
Ralf Wildenhues [Mon, 19 Jan 2009 22:55:07 +0000 (23:55 +0100)] 
Avoid failure due to Cygwin path detection bug.

* tests/execute-mode.at (execute mode): Ignore noise on stderr;
Cygwin might consider `d\"e' to be a DOS-style path and warn.
Report by Charles Wilson.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoSupport GNU/kOpenSolaris.
Robert Millan [Mon, 19 Jan 2009 22:19:30 +0000 (23:19 +0100)] 
Support GNU/kOpenSolaris.

* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [kopensolaris*-gnu]: Recognize
GNU/kOpenSolaris.
* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
* NEWS, THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAnother LT_AT_EXEC_CHECK fixup.
Ralf Wildenhues [Mon, 19 Jan 2009 20:54:52 +0000 (21:54 +0100)] 
Another LT_AT_EXEC_CHECK fixup.

* tests/shlibpath.at (shlibpath_overrides_runpath): Use
LT_AT_EXEC_CHECK instead of AT_CHECK.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAdd missing $EXEEXT to java test.
Roumen Petrov [Mon, 19 Jan 2009 20:49:58 +0000 (21:49 +0100)] 
Add missing $EXEEXT to java test.

* tests/convenience.at (Java convenience archives): Add $EXEEXT.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoBump copyright years.
Ralf Wildenhues [Mon, 19 Jan 2009 20:31:43 +0000 (21:31 +0100)] 
Bump copyright years.

* ChangeLog.2008: New, rotated from ...
* ChangeLog: ... here.
* Makefile.am (EXTRA_DIST): Add ChangeLog.2008.
* 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>
16 years agoFix flakey mdemo-dryrun test on MSYS (again!)
Peter Rosin [Wed, 14 Jan 2009 08:04:40 +0000 (09:04 +0100)] 
Fix flakey mdemo-dryrun test on MSYS (again!)

* tests/mdemo-dryrun.test: ls -l in MSYS sometimes shows year,
not time, for really fresh files. Add sleep 1 call at yet another
strategic position. Makes the test pass reliably for MSYS/MinGW.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
16 years agoChangeLog: fix whitespace.
Eric Blake [Fri, 19 Dec 2008 13:49:03 +0000 (06:49 -0700)] 
ChangeLog: fix whitespace.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix copyright notice.
Akim Demaille [Fri, 19 Dec 2008 10:45:05 +0000 (11:45 +0100)] 
Fix copyright notice.

* libltdl/config/ltmain.m4sh: Add missing comma.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoAdd cache variables to link tests.
Ralf Wildenhues [Wed, 17 Dec 2008 19:41:57 +0000 (20:41 +0100)] 
Add cache variables to link tests.

* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_LINKER_SHLIBS): Add cache variables to tests that
require the linker to work.  For shlibpath_overrides_runpath,
this also changes the semantics to let the result from the C
compiler take precedence.
* tests/no-executables.at (AC_NO_EXECUTABLES): New file.
* Makefile.am: Update.
* NEWS: Update.
Report of shlibpath_overrides_runpath issue by Mike Frysinger,
report of GCC issue by Andreas Schwab.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix inadvertent commit.
Paolo Bonzini [Fri, 28 Nov 2008 18:56:27 +0000 (19:56 +0100)] 
Fix inadvertent commit.

* bootstrap: Revert.

16 years agoFix manual typo.
Paolo Bonzini [Fri, 28 Nov 2008 15:36:47 +0000 (16:36 +0100)] 
Fix manual typo.

* doc/libtool.texi (LT_INIT): Use correct config.status
invocation.  Reported by Akim Demaille.

16 years agoDo not use $ECHO within eval-ed `...`, as %s\\n becomes %s\n.
Paolo Bonzini [Fri, 28 Nov 2008 14:53:29 +0000 (15:53 +0100)] 
Do not use $ECHO within eval-ed `...`, as %s\\n becomes %s\n.

* HACKING: Document func_echo_all.
* libltdl/m4/libtool.m4: Use it within backticks that appear in
eval-ed variables.  Reported by Akim Demaille.

16 years agoFix func_infer_tag $ECHO usage; some testsuite exposure.
Ralf Wildenhues [Mon, 24 Nov 2008 20:49:23 +0000 (21:49 +0100)] 
Fix func_infer_tag $ECHO usage; some testsuite exposure.

* libltdl/config/ltmain.m4sh (func_infer_tag): Use func_echo_all
rather than $ECHO for possibly multiple arguments.
* tests/infer-tag.at (inferred tag, CXX inferred tag)
(F77 inferred tag, FC inferred tag, GCJ inferred tag): New file,
new tests.
* Makefile.am: Adjust.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAnother missing $EXEEXT in the new testsuite.
Ralf Wildenhues [Mon, 24 Nov 2008 06:36:29 +0000 (07:36 +0100)] 
Another missing $EXEEXT in the new testsuite.

* tests/runpath-in-lalib.at (Runpath in libtool library files):
Add $EXEEXT overlooked in patch yesterday.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix expout and experr line ending issues.
Ralf Wildenhues [Sun, 23 Nov 2008 21:58:06 +0000 (22:58 +0100)] 
Fix expout and experr line ending issues.

* tests/testsuite.at (LT_AT_HOST_DATA): Renamed from..
(_LT_AT_TRANSLATE_TEXT_OUTPUT): ..this.
(LT_AT_EXEC_CHECK, LT_AT_NOINST_EXEC_CHECK): Do not use
_LT_AT_TRANSLATE_TEXT_OUTPUT any more.
* tests/configure-iface.at: Use LT_AT_HOST_DATA instead of
AT_DATA for `expout' files.
* tests/lt_dladvise.at (lt_dlopenadvise library loading):
Likewise.
* tests/need_lib_prefix.at (enforced lib prefix): Likewise.
Report by Roumen Petrov.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoRelax link-order2 test for systems with partial wrong order.
Ralf Wildenhues [Sun, 23 Nov 2008 21:54:35 +0000 (22:54 +0100)] 
Relax link-order2 test for systems with partial wrong order.

* tests/link-order2.at (Link order of deplibs.): On w32 (and
others, e.g., AIX), the wrongly linked executable picks up only
one instance of the bad function instead of two; relax the test
to accept this; we still require the right link order with the
correctly linked executable.
Reported by Roumen Petrov and others.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAdd $EXEEXT to all linked programs in the new testsuite.
Roumen Petrov [Sun, 23 Nov 2008 20:26:09 +0000 (21:26 +0100)] 
Add $EXEEXT to all linked programs in the new testsuite.

* tests/convenience.at, tests/ctor.at, tests/darwin.at,
tests/deplibs-ident.at, tests/duplicate_conv.at,
tests/duplicate_deps.at, tests/duplicate_members.at,
tests/export.at, tests/fail.at, tests/indirect_deps.at,
tests/inherited_flags.at, tests/link-order.at,
tests/link-order2.at, tests/lt_dladvise.at, tests/lt_dlexit.at,
tests/need_lib_prefix.at, tests/runpath-in-lalib.at,
tests/search-path.at, tests/shlibpath.at, tests/static.at,
tests/stresstest.at, tests/template.at, tests/testsuite.at:
Use $EXEEXT throughout, except in Makefile.am snippets where
automake takes care of it, and in testsuite macros that take
care of the extension.
Reports by Roumen Petrov and Alon Bar-Lev.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAdjust executable run tests to cwrapper changes.
Ralf Wildenhues [Sun, 23 Nov 2008 21:35:58 +0000 (22:35 +0100)] 
Adjust executable run tests to cwrapper changes.

* tests/testsuite.at (LT_AT_EXEC_CHECK): Accept fifth argument
ARGS-OR-STATUS-ADJUST, for command-line arguments and/or exit
status flattening.  Rewrite to prefer the executable with the
`.exe' prefix over one without.  Test exit status against
expected exit status, not against zero, when determining whether
this may be a cross-compilation-induced result.
(LT_AT_NOINST_EXEC_CHECK): Likewise.
* tests/static.at (static linking flags for programs): Adjust
calls.
Report by Roumen Petrov.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoNo trailing period in Autotest test group names.
Ralf Wildenhues [Sun, 23 Nov 2008 20:10:23 +0000 (21:10 +0100)] 
No trailing period in Autotest test group names.

* tests/link-order.at (Link order test): Drop trailing period
from test name.
* tests/link-order2.at (Link order of deplibs): Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix func_emit_cwrapperexe_src for WinCE: no errno support.
Vincent Torri [Sun, 23 Nov 2008 19:30:33 +0000 (20:30 +0100)] 
Fix func_emit_cwrapperexe_src for WinCE: no errno support.

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
[__MINGW32CE__]: Do not use errno, do not include errno.h and
remove calls related to errno when using the mingw32ce compiler.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoNo libm in WinCE.
Ralf Wildenhues [Sun, 23 Nov 2008 19:11:38 +0000 (20:11 +0100)] 
No libm in WinCE.

* libltdl/m4/libtool.m4 (LT_LIB_M) [cegcc*]: This system has
only a dummy libm, ignore.
Report by Vincent Torri.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix import library detection for WinCE.
Ralf Wildenhues [Sun, 23 Nov 2008 19:10:32 +0000 (20:10 +0100)] 
Fix import library detection for WinCE.

* libltdl/config/ltmain.m4sh (func_win32_libid): Work for
pe-arm-wince import libraries.
* NEWS: Update.
Report by Vincent Torri.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix $ECHO test to not influence other _AS_DETECT_SUGGESTED code.
Ralf Wildenhues [Sun, 23 Nov 2008 14:36:14 +0000 (15:36 +0100)] 
Fix $ECHO test to not influence other _AS_DETECT_SUGGESTED code.

* libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Fix test to
not influence further tests registered with _AS_DETECT_SUGGESTED
and do not use a PATH below /tmp, to avoid influence by a third
party.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix func_win32_libid for 64-bit Windows.
Alon Bar-Lev [Sun, 23 Nov 2008 14:23:58 +0000 (15:23 +0100)] 
Fix func_win32_libid for 64-bit Windows.

* libltdl/config/ltmain.m4sh (func_win32_libid): Accept file
format 'pe-x86-64'.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix spacing in ChangeLog entries.
Ralf Wildenhues [Sun, 23 Nov 2008 14:23:44 +0000 (15:23 +0100)] 
Fix spacing in ChangeLog entries.

16 years agoAvoid newlines in some AT_CHECK commands.
Ralf Wildenhues [Sun, 23 Nov 2008 14:17:34 +0000 (15:17 +0100)] 
Avoid newlines in some AT_CHECK commands.

* tests/standalone.at (linking libltdl without autotools): Wrap
lines with dnl, to avoid turning off tracing of AT_CHECK.
* tests/subproject.at (linking libltdl without autotools):
Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoReplace uses of $SED $basename.
Ralf Wildenhues [Sun, 23 Nov 2008 13:52:32 +0000 (14:52 +0100)] 
Replace uses of $SED $basename.

* libltdl/config/ltmain.m4sh (func_mode_link): Replace instances
of `$ECHO ... | $SED' with calls to func_basename.
* libtoolize.m4sh (func_copy, func_serial)
(func_massage_aclocal_DATA): Likewise, replace with
func_dirname_and_basename.
* tests/defs.m4sh (func_configure_nofail, func_make, func_exec):
Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoNo need to prepend $progname with './'.
Ralf Wildenhues [Sun, 23 Nov 2008 13:49:22 +0000 (14:49 +0100)] 
No need to prepend $progname with './'.

* libltdl/config/general.m4sh (func_dirname_and_basename): $ECHO
copes with leading hyphens now, so do not mangle $progname any
more.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoRevenge of the $ECHO. Kill most uses of Xsed.
Ralf Wildenhues [Sun, 23 Nov 2008 13:38:24 +0000 (14:38 +0100)] 
Revenge of the $ECHO. Kill most uses of Xsed.

* libltdl/config/general.m4sh: Replace all uses of `$ECHO "X..."
| $Xsed' with `$ECHO "..." | $SED', and employ further trivial
simplifications.  Replace $ECHO with echo where appropriate.
(func_echo_all): New function.
* libltdl/config/getopt.m4sh: Likewise simplifications.
* libltdl/config/ltmain.m4sh: Likewise.
* libltdl/m4/libtool.m4: Likewise.
(LT_CMD_MAX_LEN): Use func_fallback_echo, to ensure that the
command line is passed through an exec* function.
* libtoolize.m4sh: Likewise simplifications.  Use func_echo_all
to implement --dry-run.
* tests/defs.m4sh: Likewise simplifications.
* tests/quote.test: Likewise simplifications.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix matching of Sun Fortran compiler on Linux.
Ralf Wildenhues [Sun, 23 Nov 2008 08:13:13 +0000 (09:13 +0100)] 
Fix matching of Sun Fortran compiler on Linux.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: Also
match `Sun Ceres Fortran' compiler; reorder with C compiler
matching.
* THANKS: Update.
Report by Ethan Mallove.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix --verbose option; add new --no-{silent|quiet|verbose} options.
Charles Wilson [Sat, 15 Nov 2008 09:40:26 +0000 (04:40 -0500)] 
Fix --verbose option; add new --no-{silent|quiet|verbose} options.

* libltdl/config/ltmain.m4sh (usage): Document
new options --no-silent/--no-quiet and --no-verbose.
(func_enable_tag): Handle new options.
Modified --verbose to actually activate opt_verbose.
New behavior: --silent disables both "normal" output and
func_verbose output.  --verbose enables both "normal"
output and func_verbose output. --no-silent enables
"normal" output, but does not affect func_verbose output.
--no-verbose disables func_verbose output, but does not
affect "normal" output.
* NEWS: announce new options --no-silent/--no-quiet, and
--no-verbose.
* doc/libtool.texi: document new options --no-silent/--no-quiet
and --no-verbose.

16 years agoFix match patterns for cegcc*.
Ralf Wildenhues [Thu, 20 Nov 2008 06:23:45 +0000 (07:23 +0100)] 
Fix match patterns for cegcc*.

* libltdl/config/ltmain.m4sh (func_mode_link): Match '*cegcc*'
instead of '*cegcc' for $host_os.
* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Likewise.
* tests/lt_dladvise.at (lt_dlopenadvise library loading):
Likewise.
* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Match
'*-*-cegcc*' for $host.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoEnsure $ac_aux_dir is initialized for LIBTOOL_DEPS.
Ralf Wildenhues [Thu, 20 Nov 2008 06:18:38 +0000 (07:18 +0100)] 
Ensure $ac_aux_dir is initialized for LIBTOOL_DEPS.

* libltdl/m4/libtool.m4 (LT_INIT): Require
AC_CONFIG_AUX_DIR_DEFAULT.
* tests/old-m4-iface.at (AM_PROG_LIBTOOL): Amend test to
expose this.
Report, analysis, and test example by Jakub Bogusz.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoCheck for bogus aclocal.m4 contents in bootstrap and dist-hook.
Ralf Wildenhues [Thu, 20 Nov 2008 06:13:36 +0000 (07:13 +0100)] 
Check for bogus aclocal.m4 contents in bootstrap and dist-hook.

* Makefile.am (dist-hook): Bail out if shipped aclocal.m4 files
contain LT_INIT, AC_PROG_LIBTOOL, or AM_PROG_LIBTOOL macro
definitions.  These can only come from bogus pull-ins from older
installed Libtool macro files.
* bootstrap: Likewise.
Report by Akim Demaille.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix $ECHO abuse exposed by recent patch.
Ralf Wildenhues [Sun, 16 Nov 2008 22:36:25 +0000 (23:36 +0100)] 
Fix $ECHO abuse exposed by recent patch.

* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Require
_LT_CHECK_SHELL_FEATURES, for $lt_NL2SP.  Always quote argument
to $ECHO.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoSkip sys_lib_search_path on systems without libz.
Ralf Wildenhues [Sun, 16 Nov 2008 22:31:56 +0000 (23:31 +0100)] 
Skip sys_lib_search_path on systems without libz.

* tests/search-path.at (sys_lib_search_path): Autotest needs at
least one AT_CHECK executed in a test group.  So if we haven't
found -lz anywhere, as may happen with cross-compilers, skip the
test.
* THANKS: Update.
Report by Alon Bar-Lev.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoIgnore .exe files.
Alon Bar-Lev [Sun, 16 Nov 2008 22:29:20 +0000 (23:29 +0100)] 
Ignore .exe files.

* .gitignore: Ignore *.exe.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix execute mode test to actually expose cwrapper failures.
Ralf Wildenhues [Sun, 16 Nov 2008 17:29:34 +0000 (18:29 +0100)] 
Fix execute mode test to actually expose cwrapper failures.

* tests/execute-mode.at (execute mode): Actually also test the
cwrapper on the arguments.
Report by Bruno Haible.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAdd func_win32_import_lib_p.
Charles Wilson [Sat, 15 Nov 2008 18:29:19 +0000 (13:29 -0500)] 
Add func_win32_import_lib_p.

* libltdl/config/ltmain.m4sh (func_win32_import_lib_p):
New function.

16 years agoFix archive_cmds for older cc on HP-UX 11.
Ralf Wildenhues [Wed, 12 Nov 2008 20:13:17 +0000 (21:13 +0100)] 
Fix archive_cmds for older cc on HP-UX 11.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hp-ux11*, !GCC]
[!hppa*64*, !ia64*] <archive_cmds>: Older releases of the HP-UX
11.00 C compiler do not support -b yet; use a link test to
decide whether $LD should be used for library creation.
* THANKS: Update.
Report by Daniel Richard G.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoImplement $ECHO with print -r, printf or cat in a shell function.
Paolo Bonzini [Fri, 7 Nov 2008 08:03:35 +0000 (09:03 +0100)] 
Implement $ECHO with print -r, printf or cat in a shell function.

* configure.ac: Bump Autoconf requirement.
* libltdl/config/general.m4sh: Use $as_echo as default $ECHO.
* tests/testsuite.at: Use $as_echo as default $ECHO.

* libltdl/m4/libtool.m4 (LT_INIT): Add _LT_SHELL_INIT to
work around Autoconf <2.64 bug.
(_LT_OUTPUT_LIBTOOL_COMMANDS_INIT): Add func_fallback_echo.
Eliminate lt_ECHO requoting.
(_LT_SHELL_INIT): Use a public M4sh diversion.
(_LT_PROG_ECHO_BACKSLASH): Rewrite.
(LT_CMD_MAX_LEN): Do not use --fallback-echo.
* libltdl/config/ltmain.m4sh: Remove --no-reexec and --fallback-echo
handling.
(func_fallback_echo): New.
(func_emit_wrapper_part1): Quote ECHO.  Remove --no-reexec and
--fallback-echo handling.
(Execute mode): Do not set qecho.

16 years agoUse -no-undefined in install tests.
Ralf Wildenhues [Wed, 12 Nov 2008 06:21:20 +0000 (07:21 +0100)] 
Use -no-undefined in install tests.

* tests/install.at (Install tests): Use `-no-undefined'.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoDo not use `test ... -a ...'.
Ralf Wildenhues [Tue, 11 Nov 2008 21:55:45 +0000 (22:55 +0100)] 
Do not use `test ... -a ...'.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hpux10, hpux11]:
Replace test -a with test && test.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix destdir tests in cross compile mode.
Roumen Petrov [Tue, 11 Nov 2008 21:24:25 +0000 (22:24 +0100)] 
Fix destdir tests in cross compile mode.

* tests/destdir.at (Simple DESTDIR install)
(DESTDIR with in-package deplibs): Use $EXEEXT throughout.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoSimplify cwrapper handling a bit.
Ralf Wildenhues [Tue, 11 Nov 2008 21:08:57 +0000 (22:08 +0100)] 
Simplify cwrapper handling a bit.

* libltdl/config/ltmain.m4sh (func_emit_wrapper_part1)
(func_emit_wrapper_part2, func_to_host_path)
(func_to_host_pathlist, func_emit_wrapper): Simplify using
default argument, func_append.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoSeparate part of _LT_SETUP into other macros, detect ECHO sooner.
Paolo Bonzini [Fri, 7 Nov 2008 13:47:19 +0000 (14:47 +0100)] 
Separate part of _LT_SETUP into other macros, detect ECHO sooner.

* libltdl/m4/libtool.m4 (_LT_PREPARE_SED_QUOTE_VARS): New macro,
extracted from...
(_LT_SETUP): ... here.  Require _LT_PROG_ECHO_BACKSLASH sooner.

16 years agoFix quoting when config.status generates libtool config.
Paolo Bonzini [Mon, 10 Nov 2008 07:27:45 +0000 (08:27 +0100)] 
Fix quoting when config.status generates libtool config.

* libltdl/m4libtool.m4 (_LT_OUTPUT_LIBTOOL_COMMANDS_INIT):
Double quote ECHO-ed variables.

16 years agoUse documented M4sh interfaces.
Paolo Bonzini [Mon, 10 Nov 2008 07:25:24 +0000 (08:25 +0100)] 
Use documented M4sh interfaces.

* clcommit.m4sh: Do not unset CDPATH, use AS_INIT and M4sh diversions.
* libltdl/config/mailnotify.m4sh: Likewise.
* libtoolize.m4sh: Likewise.
* tests/defs.m4sh: Likewise.
* tests/testsuite.at: Move AT_INIT invocation at the top.

* libltdl/m4/libtool.m4 (_LT_GENERATED_FILE_INIT): New.
(LT_OUTPUT): Use it.

* libltdl/config/general.m4sh (M4SH_IN_HEADER): New.
(progpath): Move setting before $0 could be clobbered.
* libltdl/config/ltmain.m4sh (M4SH_IN_HEADER): New.

16 years agoRun sh.test on the M4sh source.
Paolo Bonzini [Mon, 10 Nov 2008 07:22:02 +0000 (08:22 +0100)] 
Run sh.test on the M4sh source.

* tests/defs.m4sh (scripts): Point to pre-m4 sources.

16 years agoAvoid that autom4te complains about unexpanded macros.
Paolo Bonzini [Fri, 7 Nov 2008 07:58:24 +0000 (08:58 +0100)] 
Avoid that autom4te complains about unexpanded macros.

* libtoolize.m4sh: Allow occurrences of "dnl" and use quadrigraphs
to protect other m4 macros.

16 years agoFix cwrapper argument mangling on w32.
Bruno Haible [Tue, 11 Nov 2008 05:51:24 +0000 (06:51 +0100)] 
Fix cwrapper argument mangling on w32.

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): On
mingw, preprocess the argument vector through prepare_spawn.
* tests/execute-mode.at (execute mode): Output args
newline-separated.  Extend tests by more argument pairs that
contain special characters, where the w32 cwrapper fails.
Also test a real compiled program, linked against an uninstalled
library, to expose cwrapper issues.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoUpdate to GFDL 1.3.
Ralf Wildenhues [Mon, 10 Nov 2008 20:40:39 +0000 (21:40 +0100)] 
Update to GFDL 1.3.

* doc/fdl.texi: Update to GFDL 1.3.
* doc/libtool.texi: Adjust.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix cross compilation with wine for the case SHELL != bash.
Alexei Sheplyakov [Sun, 9 Nov 2008 19:47:38 +0000 (20:47 +0100)] 
Fix cross compilation with wine for the case SHELL != bash.

* libltdl/config/ltmain.m4sh (func_to_host_path): Avoid escape
sequence interpretation by 'echo', for w32-style paths.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix checks for unsupported allow_undefined_flag.
Michael Haubenwallner [Tue, 28 Oct 2008 19:47:44 +0000 (20:47 +0100)] 
Fix checks for unsupported allow_undefined_flag.

* tests/tagdemo-undef.test: Match allow_undefined_flag
correctly, for SKIPping.
* tests/cdemo-undef.test: Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoParallel make fix in testsuite.
Ralf Wildenhues [Sun, 26 Oct 2008 10:05:07 +0000 (11:05 +0100)] 
Parallel make fix in testsuite.

* tests/testsuite.at (_LTDL_PROJECT_FILES): Fix dependencies for
parallel make.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix typo in libtoolize error message.
Ralf Wildenhues [Sun, 26 Oct 2008 10:01:26 +0000 (11:01 +0100)] 
Fix typo in libtoolize error message.

* libtoolize.m4sh (func_nonemptydir_p): Fix typo in error
message.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix Autoconf 2.59 incompatibilty.
Ralf Wildenhues [Wed, 15 Oct 2008 21:54:45 +0000 (23:54 +0200)] 
Fix Autoconf 2.59 incompatibilty.

* libltdl/m4/ltdl.m4 (_LTDL_SETUP): m4_pattern_allow
`LT_LIBEXT'; Autoconf 2.59's AC_DEFINE* macros didn't do this
automatically yet.
* NEWS, THANKS: Update.
Report by Marcel Loose.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAtomic shared library install permissions on HP-UX.
Ralf Wildenhues [Sun, 5 Oct 2008 10:35:27 +0000 (12:35 +0200)] 
Atomic shared library install permissions on HP-UX.

The HP-UX 11 runtime linker fails to mmap shared libraries
without execute permissions.  Fixing them with postinstall_cmds
may be too late, as ln, sed, and chmod may link against the
library being installed.

* libltdl/m4/libtool.m4 (install_override_mode): New LT_DECL.
(_LT_SYS_DYNAMIC_LINKER) [hpux9*, hpux10*, hpux11*]: Set it.
* libltdl/config/ltmain.m4sh (func_mode_install): Build a second
command line, $install_shared_prog, for the installation of the
shared library.  Override resp. set the permission mode if
install_override_mode is nonempty.
* doc/libtool.texi (libtool script contents): Document it.
* tests/install.at (Install tests): New test.
* Makefile.am (TESTSUITE_AT): Adjust.
(TESTS_ENVIRONMENT): Pass INSTALL.
Report by Bruno Haible.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAvoid gcc warning.
Eric Blake [Fri, 26 Sep 2008 15:43:04 +0000 (09:43 -0600)] 
Avoid gcc warning.

* libltdl/loaders/loadlibrary.c (vm_open): Don't check for array
being a NULL pointer.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoMan pages for libtoolize and libtool, --help-all.
Ralf Wildenhues [Sat, 20 Sep 2008 06:50:50 +0000 (08:50 +0200)] 
Man pages for libtoolize and libtool, --help-all.

* Makefile.am (dist_man1_MANS, update_mans): New macros.
($(srcdir)/doc/libtool.1, $(srcdir)/doc/libtoolize.1): New
rules.  Use --help-all for libtool.
(MAINTAINERCLEANFILES): New macro.  Add dist_man1_MANS.
(BUILT_SOURCES): Add libtoolize.
* configure.ac: Check for help2man, set HELP2MAN.
* doc/libtool.texi: Add @direntry for libtool-invocation.
(Invoking libtool): Document -h, --help-all.  Reorder mode
description for consistency.
(Compile mode): Do not document -Wl,FLAG and -XCClinker here.
(Link mode): Document -Wc,FLAG here, reformat a bit.
* libtoolize.m4sh: Reformat --help output a bit, to help
help2man.
* libltdl/config/ltmain.m4sh: Likewise.  Also, set PROGRAM to
`libtool', not `ltmain.sh', so the former is used in the man
page.
New argument `--help-all'.  If given, call func_help and
func_mode_help several times, beating output in shape with sed.
(func_mode_help): Do not exit here.
* libltdl/config/getopt.m4sh (func_usage): Work with different
indentations, but require comment hash in first column, when
grepping for '-h' in usage to end short help.
(func_help): Accept optional argument to not exit.
* NEWS, THANKS: Update.
Suggestion by Karl Berry.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoUse `-version-info 9:0:2' for one added iface since 2.2.4.
Gary V. Vaughan [Mon, 8 Sep 2008 06:36:26 +0000 (14:36 +0800)] 
Use `-version-info 9:0:2' for one added iface since 2.2.4.
* libltdl/Makefile.inc (LTDL_VERSION_INFO): Make the libltdl
version number match 2.2.6a rerelease.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
16 years agoAdd ./commit option for pushing tags back to origin.
Gary V. Vaughan [Mon, 8 Sep 2008 06:24:06 +0000 (14:24 +0800)] 
Add ./commit option for pushing tags back to origin.
* clcommit.m4sh (opt_tags): New --tags push option.
(func_commit): Run `$GIT push --tags' if --tags was passed.
* HACKING (Release Procedure): Note the requirement to pass
--tags to ./commit for new release tag to be push back to
origin.

16 years agoRetire gnu.org news.html in favour of savannah news.
Gary V. Vaughan [Sun, 7 Sep 2008 11:59:28 +0000 (19:59 +0800)] 
Retire gnu.org news.html in favour of savannah news.
* HACKING (Release Procedure): Add instructions for sending
a web release announcement to http://planet.gnu.org via
the savannah news manager.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
16 years agoAdd untested git push conflict testing to commit script.
Gary V. Vaughan [Sun, 7 Sep 2008 11:53:16 +0000 (19:53 +0800)] 
Add untested git push conflict testing to commit script.
* clcommit.m4sh (func_check_conflicts): Test return status
of 'git push --dry-run', and display an error on non-zero.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
16 years agoEnable release procedure to work with lzma OLDRELEASE file.
Gary V. Vaughan [Sun, 7 Sep 2008 08:17:37 +0000 (16:17 +0800)] 
Enable release procedure to work with lzma OLDRELEASE file.
* Makefile.maint (diffs, prev-tarball, new-tarball): If lzma
tarballs are present use them to generate the diffs, otherwise
use gz tarballs if they are present, or else complain if both
are missing.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
16 years agoforgot to commit NEWS file
Gary V. Vaughan [Sun, 7 Sep 2008 08:14:06 +0000 (16:14 +0800)] 
forgot to commit NEWS file

16 years agoSet SCM version number to 2.2.7a.
Gary V. Vaughan [Sun, 7 Sep 2008 07:45:23 +0000 (15:45 +0800)] 
Set SCM version number to 2.2.7a.
* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.2.7a.
* NEWS: Updated.

GNU Libtool 2.2.6 was released.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
16 years agoFix typo in Makefile.maint. v2.2.6
Gary V. Vaughan [Sat, 6 Sep 2008 21:24:28 +0000 (05:24 +0800)] 
Fix typo in Makefile.maint.
* Makefile.maint (git-news): Renamed to check-news, since it
doesn't actually run git.  Adjust all dependees.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
16 years agoRun `git commit -a' when no files are passed.
Gary V. Vaughan [Sat, 6 Sep 2008 21:19:01 +0000 (05:19 +0800)] 
Run `git commit -a' when no files are passed.
* clcommit.m4sh (func_commit): Add -a argument if necessary.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
16 years agoPrepare for next stable release.
Gary V. Vaughan [Sat, 6 Sep 2008 21:12:18 +0000 (05:12 +0800)] 
Prepare for next stable release.
* libltdl/Makefile.inc (LTDL_VERSION_INFO): Update.
* libltdl/m4/libtool.m4: Bump serial number to account for
changes since 2.2.4 release.
* INSTALL, config/config.guess, config/texinfo.tex: Updated
from canonical source.
* configure.ac (AM_INIT_AUTOMAKE): Specify dist-lzma, which
was introduced after automake-1.10 was released.
(abs_top_srcdir, abs_top_builddir): No need to substitute these
from configure anymore, since we require automake 1.10.1, which
does perform the substitutions properly.
(TIMESTAMP): Normal releases were displaying the long-form
timestamp.  Fix to show the short release timestamp as per
alpha release numbers.
* NEWS: Update with missing entries from ChangeLog.
* HACKING (Release Procedure): We release lzma tarballs now
but no xdeltas.
* Makefile.maint: Updated to match Release Procedure
instructions in HACKING.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
16 years agoConvert mailnotify headers to git.
Gary V. Vaughan [Sat, 6 Sep 2008 19:50:40 +0000 (03:50 +0800)] 
Convert mailnotify headers to git.
* clcommit.m4sh: Improve mailnotify contents.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
16 years agoMake ./commit useful again.
Gary V. Vaughan [Sat, 6 Sep 2008 18:41:39 +0000 (02:41 +0800)] 
Make ./commit useful again.
* clcommit.m4sh: Major overhaul and simplification for git.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
16 years agoFix 'DISTCHECK_CONFIGURE_FLAGS=--program-prefix=g' bug.
Gary V. Vaughan [Sat, 6 Sep 2008 14:50:15 +0000 (22:50 +0800)] 
Fix 'DISTCHECK_CONFIGURE_FLAGS=--program-prefix=g' bug.
* tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): Fix test failures
with --program-prefix, where the test case output contains the
transformed name somewhere other than the beginning of a line.
* libtoolize.m4sh (func_check_macros): Be sure to always use
the transformed name in output messages.

16 years agoDo not remove .gcno files when linking.
Ralf Wildenhues [Thu, 4 Sep 2008 18:57:17 +0000 (20:57 +0200)] 
Do not remove .gcno files when linking.

* libltdl/config/ltmain.m4sh (func_mode_link): When removing
potential output files before linking, do not remove *.gcno
profile information GCC outputs next to object files in `.libs'.
Report by Vincent Torri.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoRevert 75142db4f8afc65ba7aae0ed80ea0b35bd9cc382 (AIX libltdl dlopen(NULL)
Peter O'Gorman [Tue, 2 Sep 2008 04:58:40 +0000 (23:58 -0500)] 
Revert 75142db4f8afc65ba7aae0ed80ea0b35bd9cc382 (AIX libltdl dlopen(NULL)

libltdl/m4/ltdl.m4: Remove LTDL_DLOPEN_SELF_WORKS define.
libltdl/loaders/dlopen.c: Remove LTDL_DLOPEN_SELF_WORKS check.
libltdl/m4/libtool.m4 [aix]: Set export_dynamic_flag_spec to -Wl,-bexpall. This is a temporary workaround until a real fix is implemented.

17 years agoAllow for extensions other than .a for preloaded modules.
Peter O'Gorman [Tue, 26 Aug 2008 17:42:53 +0000 (12:42 -0500)] 
Allow for extensions other than .a for preloaded modules.

* libltdl/m4/ltdl.m4 (_LTDL_SETUP): Define LT_LIBEXT.
* libltdl/ltdl.c (lt_dladvise_preload): Use it.
Reported by Ralf Wildenhues.

17 years agoRemove unnecessary global argz functions.
Peter O'Gorman [Tue, 26 Aug 2008 17:41:25 +0000 (12:41 -0500)] 
Remove unnecessary global argz functions.

* libltdl/argz.c (argz_add,argz_count): Remove.
* libltdl/argz_.h (argz_add,argz_count): Remove.
* NEWS: Announce it.
* tests/ltdl-api.at: Test so we don't repeat it.
* Makefile.am: Add new test.

17 years agoInitial support for Lahey Fortran on GNU/Linux.
Ralf Wildenhues [Thu, 21 Aug 2008 22:48:11 +0000 (00:48 +0200)] 
Initial support for Lahey Fortran on GNU/Linux.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
[linux] <lf95>: Add support for Lahey Fortran 8.1.
* NEWS, THANKS: Update.
Suggested by Craig Tierney.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoAvoid leading separator in PATH for DLL search.
Sam Thursfield [Thu, 21 Aug 2008 19:18:28 +0000 (21:18 +0200)] 
Avoid leading separator in PATH for DLL search.

* libltdl/config/ltmain.m4sh (func_mode_link) [cygwin, mingw]
[ pw32, os2, cegcc]: Fix dllsearchpath not to contain leading
separator.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoFix sh.test regression in last patch.
Ralf Wildenhues [Thu, 21 Aug 2008 20:03:02 +0000 (22:03 +0200)] 
Fix sh.test regression in last patch.

* libltdl/config/ltmain.m4sh (func_mode_link): Quote $#.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoDisallow `-L path', do not misparse it silently.
Ralf Wildenhues [Thu, 21 Aug 2008 19:07:16 +0000 (21:07 +0200)] 
Disallow `-L path', do not misparse it silently.

* libltdl/config/ltmain.m4sh (func_mode_link): Diagnose `-L'
without argument, and `-L path', i.e., with a space.
* tests/fail.at (Failure tests): Test for these failures.
* THANKS: Update.
Report by Olaf Lenz.

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