]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
13 years agobuild: avoid unnecessary directory changes in Makefile rules.
Gary V. Vaughan [Thu, 23 Sep 2010 11:02:12 +0000 (18:02 +0700)] 
build: avoid unnecessary directory changes in Makefile rules.

* Makefile.am (doc/notes.txt, libltdl/m4/ltversion.m4,
(libltdl/config/ltmain.m4sh, libtoolize.in, libltdl/Makefile.am)
(libltdl/config/mkstamp, tests/testsuite, tests/defs.in): Avoid
unnecessary `cd' commands by using fully qualified paths to files
outside of current directory.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
13 years agobuild: compare `revision' rather than `correctver' in Makefile.am.
Gary V. Vaughan [Thu, 23 Sep 2010 10:37:00 +0000 (17:37 +0700)] 
build: compare `revision' rather than `correctver' in Makefile.am.

* Makefile.am (rebuild): Set the shell variable `revision' rather
than `correctver' for clarity of purpose.
(bootstrap_edit, libltdl/config/ltmain.sh): Adjust.
(libltdl/m4/ltversion.m4): Likewise, and alse, instead of munging
the serial number comment line with set, extract `macro_version'
from this file, and compare it directly with `revision'.
(libtool): Likewise for `package_revision'.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
13 years agobuild: avoid spurious bootstrap_edit call.
Gary V. Vaughan [Thu, 20 Oct 2011 16:40:13 +0000 (23:40 +0700)] 
build: avoid spurious bootstrap_edit call.

* Makefile.am (tests/package.m4): @FOO@ substitutions have already
been made by the time Makefile.am has been transformed into Makefile,
so don't try to rerun the substitutions manually with
$(bootstrap_edit) after the fact.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
13 years agoPost-release administrivia.
Gary V. Vaughan [Tue, 18 Oct 2011 08:30:13 +0000 (15:30 +0700)] 
Post-release administrivia.

* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
numbers.
* NEWS: Add header line for next release.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
13 years agoRelease 2.4.2. v2.4.2
Gary V. Vaughan [Tue, 18 Oct 2011 06:20:53 +0000 (13:20 +0700)] 
Release 2.4.2.

* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
numbers.
* NEWS: Update version number.

13 years agoReplace leading spaces with tabs.
Gary V. Vaughan [Mon, 17 Oct 2011 09:43:18 +0000 (16:43 +0700)] 
Replace leading spaces with tabs.

* libltdl/m4/libtool.m4, libltdl/config/ltmain.m4sh: Replace leading
spaces in soure code with tabs to match surrounding code.

Reported by Peter Rosin.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
13 years agoMake a note to use gnu/linux for version_type.
Gary V. Vaughan [Mon, 17 Oct 2011 05:40:55 +0000 (12:40 +0700)] 
Make a note to use gnu/linux for version_type.

* libltdl/m4/libtool.m4 (version_type): Add a comment to change
version_type setting from 'linux' to 'gnu/linux' during the next
destabilising code refactoring.
* libltdl/config/ltmain.m4sh: ditto.

Requested by Richard Stallman.

13 years agoTypo fix - change func_apped into func_append
Bart Van Assche [Tue, 4 Oct 2011 21:02:35 +0000 (16:02 -0500)] 
Typo fix - change func_apped into func_append

* libltdl/config/ltmain.m4sh: Fix typo.

13 years ago Avoid problems when FreeBSD goes to version 10.
Xin LI [Sun, 2 Oct 2011 15:02:18 +0000 (10:02 -0500)] 
Avoid problems when FreeBSD goes to version 10.

* libltdl/m4/libtool.m4: Remove mentions of freebsd1. Use dots
for FreeBSD 2 and 3 detection to avoid future problems
* libltdl/m4/ltmain.m4sh: ditto.

13 years agoAvoid mentioning "Linux", use "GNU/Linux", if appropriate.
Cristophe Jarry [Sun, 25 Sep 2011 22:39:04 +0000 (17:39 -0500)] 
Avoid mentioning "Linux", use "GNU/Linux", if appropriate.

* TODO: Don't use bare "Linux".
* doc/libtool.texi: ditto.
* doc/notes.texi: ditto.
* libltdl/README: ditto.
* libltdl/m4/libtool.m4: ditto.

13 years agoAdd flag to inhibit warnings.
Peter O'Gorman [Thu, 1 Sep 2011 23:45:03 +0000 (18:45 -0500)] 
Add flag to inhibit warnings.

* libltdl/config/ltmain.m4sh: Add --no-warn, --no-warning flags.
Reported by John Davd Anglin.

14 years agotagdemo: do not rely on picking up symbols from indirect deps.
Kurt Roeckx [Sun, 10 Apr 2011 08:22:43 +0000 (10:22 +0200)] 
tagdemo: do not rely on picking up symbols from indirect deps.

* tests/tagdemo/Makefile.am: Link to all libraries that the
demo application uses.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoSet shlibpath_overrides_runpath for the Hurd.
Svante Signell [Sun, 10 Apr 2011 08:17:21 +0000 (10:17 +0200)] 
Set shlibpath_overrides_runpath for the Hurd.

* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [gnu]
<shlibpath_overrides_runpath>: Set to no.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoDon't filter OPENMP flags (-openmp & -fopenmp) from linker lines.
Justin Lecher [Mon, 14 Mar 2011 07:40:50 +0000 (08:40 +0100)] 
Don't filter OPENMP flags (-openmp & -fopenmp) from linker lines.

If -fopenmp if passed to gcc during linking, it will take care to add all
necessary libs to link correctly for openmp support. Currently libtool filters
those flags, similar as it was the case with the threading flags. This change
handles the situation for the openmp support similar as before the thread
support was fixed.

http://lists.gnu.org/archive/html/bug-libtool/2010-12/msg00009.html
http://lists.gnu.org/archive/html/bug-libtool/2011-03/msg00014.html

* libltdl/config/ltmain.m4sh (func_mode_link): Treat OpenMP
flags like pthreads flags.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agolibtoolize: detect -I<dir> (without space) in ACLOCAL_AMFLAGS.
Ralf Wildenhues [Mon, 14 Mar 2011 06:30:53 +0000 (07:30 +0100)] 
libtoolize: detect -I<dir> (without space) in ACLOCAL_AMFLAGS.

* libtoolize.m4sh (func_scan_files): Also accept -I<dir>
(without intervening space) in ACLOCAL_AMFLAGS.
* THANKS: Update.
Report from Jan Engelhardt.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoOn Mac OS X try .dylib as well as .so with lt_dlopenext
Peter O'Gorman [Fri, 4 Mar 2011 20:35:14 +0000 (14:35 -0600)] 
On Mac OS X try .dylib as well as .so with lt_dlopenext

* libltdl/m4/ltdl.m4: Define extra extension if module extension
differs from shared lib extension.
* libltdl/ltdl.c: Use it.
* tests/darwin.at: Test it.
* NEWS: Announce it.
Reported by Hans Aberg, Michael Ellis, and others.

14 years agoInstall ltmain.sh without execute bit set.
Peter O'Gorman [Mon, 14 Feb 2011 16:34:58 +0000 (10:34 -0600)] 
Install ltmain.sh without execute bit set.

* Makefile.am: change install rule for ltmain.sh
Reported by Křištof Želechovski.

14 years agodocs: fix copyright years in PDF version of the manual.
Ralf Wildenhues [Mon, 7 Feb 2011 06:40:17 +0000 (07:40 +0100)] 
docs: fix copyright years in PDF version of the manual.

* doc/libtool.texi: Fix copyright years.

14 years agofix typo in ChangeLog
Ralf Wildenhues [Tue, 1 Feb 2011 06:48:39 +0000 (07:48 +0100)] 
fix typo in ChangeLog

14 years agoFix LD setting for 64-bit Solaris 2/x86.
Rainer Orth [Tue, 1 Feb 2011 06:34:26 +0000 (07:34 +0100)] 
Fix LD setting for 64-bit Solaris 2/x86.

* libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [*-*-solaris*):
Determine GNU ld options for 64-bit Solaris 2/x86.  Detect gld
2.21 _sol2 emulations.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoDon't loop through wrapper script arguments unnecessarily.
Peter O'Gorman [Thu, 27 Jan 2011 23:13:10 +0000 (17:13 -0600)] 
Don't loop through wrapper script arguments unnecessarily.

* libltdl/m4/ltmain.m4sh: Check that argv contains " --lt-"
before looping to remove wrapper script targetted arguments.
Performance regression reported by Dan McGee.

14 years agoRemove support for FreeBSD 1.x.
Gerald Pfeifer [Thu, 20 Jan 2011 18:35:14 +0000 (19:35 +0100)] 
Remove support for FreeBSD 1.x.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
(_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which
soon would incorrectly match FreeBSD 10.0.
* NEWS, THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoDon't let verbose linker messages influence test results.
Peter O'Gorman [Wed, 19 Jan 2011 18:53:32 +0000 (12:53 -0600)] 
Don't let verbose linker messages influence test results.

* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Ignore
stderr during tests for -flag unless it contains "flag".
* tests/darwin.at: Add test.
Reported by Jeremy Huddleston and also by David Fang.

14 years agoFix relink mode to use absolute path if hardcode_minus_L.
John David Anglin [Sun, 9 Jan 2011 18:51:28 +0000 (19:51 +0100)] 
Fix relink mode to use absolute path if hardcode_minus_L.

* libltdl/config/ltmain.m4sh (func_mode_link): Use absolute path
when hardcoding with -L.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoFix $wl setting for Solaris Studio 12.2 f90 on GNU/Linux.
Ralf Wildenhues [Sun, 9 Jan 2011 16:55:17 +0000 (17:55 +0100)] 
Fix $wl setting for Solaris Studio 12.2 f90 on GNU/Linux.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]
<lt_prog_compiler_wl>: Set to '-Qoption ld ' if we
detect Sun Fortran version 8.4 or newer.
Report by Terry Dontje.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoConvert file name to toolchain format when blessing archives.
Peter Rosin [Fri, 7 Jan 2011 10:49:10 +0000 (11:49 +0100)] 
Convert file name to toolchain format when blessing archives.

* libltdl/config/ltmain.m4sh (func_mode_install): When executing
old_postinstall_cmds and old_archive_cmds, convert $oldlib to a
format appropriate for the tool and provide that in $tool_oldlib.
Also use $tool_oldlib when stripping old libraries.
* libltdl/m4/libtool.m4 (_LT_CMD_OLD_ARCHIVE): Use $tool_oldlib
as argument to $RANLIB.
* THANKS: Update.
Report by Dan McMahill.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agoBump copyright years.
Ralf Wildenhues [Sun, 2 Jan 2011 04:54:24 +0000 (05:54 +0100)] 
Bump copyright years.

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

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoAdd Go support.
Ian Lance Taylor [Tue, 12 Oct 2010 21:38:49 +0000 (14:38 -0700)] 
Add Go support.

* libltdl/m4/libtool.m4 (LT_LANG): Add Go.
(AC_PROG_GO): Provide.
(_LT_SYS_HIDDEN_LIBDEPS): Add Go case.
(_LT_LANG_GO_CONFIG): Define.
(LT_PROG_GO): Define.
(AC_PROG_GO): Define if not defined.
* libltdl/config/ltmain.m4sh: Match *.go.
* doc/libtool.texi (LT_INIT): Mention Go.
(Tags): Mention Go.
* configure.ac: Enable Go.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoAlso turn off -fuse-linker-plugin for postdep_objects computation.
Brice De Bruyne [Mon, 20 Dec 2010 03:16:12 +0000 (04:16 +0100)] 
Also turn off -fuse-linker-plugin for postdep_objects computation.

* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Add
-fno-use-linker-plugin to temporary compile flags if necessary,
to fix C++ postdep_objects setting with -flto
-fuse-linker-plugin.
* NEWS, THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoSet command line length limit for OS/2.
KO Myung-Hun [Mon, 20 Dec 2010 03:10:19 +0000 (04:10 +0100)] 
Set command line length limit for OS/2.

* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN) [os2]
<lt_cv_sys_max_cmd_len>: Set to 8192 to avoid long test.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoFix PIC flags with mpif77 using ifort on GNU/Linux.
Ralf Wildenhues [Fri, 17 Dec 2010 19:30:53 +0000 (20:30 +0100)] 
Fix PIC flags with mpif77 using ifort on GNU/Linux.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]:
Match Intel compiler also using $CC -V output, to avoid false
negatives with compiler drivers like mpif77.
Report by Christian Rössel.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoFix PIC flags with MPI wrappers using Portland on GNU/Linux.
Ralf Wildenhues [Thu, 16 Dec 2010 20:41:27 +0000 (21:41 +0100)] 
Fix PIC flags with MPI wrappers using Portland on GNU/Linux.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux]:
Match Portland compilers also using $CC -V output, to avoid
false negatives with MPI compiler drivers.
Report by Christian Rössel.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years ago* libltdl/m4/libtool.m4 (_LT_SETUP): Fix quoting for PATH_SEPARATOR.
Ralf Wildenhues [Thu, 16 Dec 2010 06:58:57 +0000 (07:58 +0100)] 
* libltdl/m4/libtool.m4 (_LT_SETUP): Fix quoting for PATH_SEPARATOR.

14 years agoFix PATH_SEPARATOR handling for OS/2.
KO Myung-Hun [Wed, 15 Dec 2010 21:29:17 +0000 (22:29 +0100)] 
Fix PATH_SEPARATOR handling for OS/2.

* Makefile.am (update_mans): Quote $(PATH_SEPARATOR).
* libltdl/m4/libtool.m4 (_LT_SETUP): Add _LT_DECL for
PATH_SEPARATOR.
* libltdl/config/general.m4sh: Use PATH_SEPARATOR when computing
$progpath.
* THANKS: Update.

14 years agoFix nvcc PIC setting on darwin.
Ralf Wildenhues [Mon, 6 Dec 2010 03:31:14 +0000 (04:31 +0100)] 
Fix nvcc PIC setting on darwin.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC)
<lt_prog_compiler_pic>: Prepend -Xcompiler to nonempty variable
setting rather than hard-coding -Xcompiler -fPIC, for darwin.
* NEWS, THANKS: Update.
Report by Paweł Daniluk.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoHonor $AUTOCONF, $AUTOMAKE in --help output.
Ralf Wildenhues [Sat, 20 Nov 2010 09:34:16 +0000 (10:34 +0100)] 
Honor $AUTOCONF, $AUTOMAKE in --help output.

* libltdl/config/getopt.m4sh (func_help): Use $AUTOCONF and
$AUTOMAKE if set, for --version outout.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agodocs: Libtool configuration diagram.
Ralf Wildenhues [Fri, 19 Nov 2010 17:42:04 +0000 (18:42 +0100)] 
docs: Libtool configuration diagram.

* doc/libtool.texi (Integrating libtool): Add diagrams
explaining the dependencies between Libtool files.
Suggestion by Ethan Mallove.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoEliminate hardcode_libdir_flag_spec_ld tag variable.
Ralf Wildenhues [Mon, 15 Nov 2010 22:13:33 +0000 (23:13 +0100)] 
Eliminate hardcode_libdir_flag_spec_ld tag variable.

* libltdl/config/ltmain.m4sh (func_mode_link): Set $wl to empty
if $LD is used for creating shared libraries.  Do not use
hardcode_libdir_flag_spec_ld any more.
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
(_LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG, _LT_SYS_DYNAMIC_LINKER)
<hardcode_libdir_flag_spec_ld>: Remove all instances of the tag
variable.
(_LT_LINKER_SHLIBS) [linux, xlf] <hardcode_libdir_flag_spec>:
Set variable, including ${wl}.  Fixes hardcoding in programs
created by XL Fortran on GNU/Linux.
* NEWS, THANKS: Update.
Report by Paul H. Hargrove.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoRebuild menus in the manual.
Ralf Wildenhues [Sun, 14 Nov 2010 17:01:07 +0000 (18:01 +0100)] 
Rebuild menus in the manual.

* doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
Thanks to Ian Lance Taylor for the suggestion.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoModify --with-pic to support per-package configurations.
Ollie Wild [Wed, 10 Nov 2010 20:06:50 +0000 (21:06 +0100)] 
Modify --with-pic to support per-package configurations.

* libltdl/m4/libtool.m4:  Modify --with-pic to accept a list of
package names.  Modelled off --enable-shared.
* tests/with-pic.at: New test.
* Makefile.am (TESTSUITE_AT): Add tests/with-pic.at.
* doc/libtool.texi (LT_INIT): Enhance documentation of
--with-pic configure flag.
* NEWS (New features): Mention that --with-pic now accepts a
comma-separated list of package names.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoFix cwrapper test failure with --disable-static.
Ralf Wildenhues [Wed, 10 Nov 2010 18:28:11 +0000 (19:28 +0100)] 
Fix cwrapper test failure with --disable-static.

* tests/cwrapper.at (cwrapper and installed shared libraries):
Compile program source without libtool, so we can be sure a
non-PIC object will be created.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agodocs: Windows DLLs and headers.
Peter Rosin [Mon, 1 Nov 2010 09:10:36 +0000 (10:10 +0100)] 
docs: Windows DLLs and headers.

* doc/libtool.texi (Platform quirks): Add new subsection
'Windows DLLs'.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years ago* doc/libtool.texi (Platform quirks): Fix typo.
Peter Rosin [Mon, 1 Nov 2010 07:11:34 +0000 (08:11 +0100)] 
* doc/libtool.texi (Platform quirks): Fix typo.

14 years agodocs: mention shell requirement for libtool script.
Ralf Wildenhues [Wed, 27 Oct 2010 18:13:28 +0000 (20:13 +0200)] 
docs: mention shell requirement for libtool script.

* doc/libtool.texi (Invoking libtool): Document that the shell
used to invoke libtool needs to be the same used to configure
it.
* THANKS: Update.
Report by Markus Duft.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoMerge branch 'libtool-next' (early part)
Ralf Wildenhues [Fri, 15 Oct 2010 03:54:45 +0000 (05:54 +0200)] 
Merge branch 'libtool-next' (early part)

* 'libtool-next' (early part):
  libtool: remove redundant unsubstituted shell var defaults.
  maint: don't leak developer GREP, SED etc into distribution file.
  maint: rearrange Makefile.am in preparation for a follow-up patch.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoFix linking from only convenience archives with gfortran on Darwin.
Ralf Wildenhues [Thu, 14 Oct 2010 19:27:09 +0000 (21:27 +0200)] 
Fix linking from only convenience archives with gfortran on Darwin.

* libltdl/m4/libtool.m4 (_LT_DARWIN_LINKER_FEATURES): Update
macro comment header.
[darwin, F77, FC] <compiler_needs_object>: Set to yes if
whole_archive_flag_spec is nonempty.  Fixes convenience.at test
suite failures with gfortran 4.2 on Darwin.
* THANKS: Update.
Report by Paul Laight.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoFix bindir check logic, and relax non-bindir case for AIX.
Ralf Wildenhues [Thu, 14 Oct 2010 19:48:17 +0000 (21:48 +0200)] 
Fix bindir check logic, and relax non-bindir case for AIX.

* tests/bindir.at (bindir install tests): Rewrite checks for
place of the installed shared library in two separate tests,
depending on whether -bindir is supposed to have an effect or
not.  In the positive case, make the test stricter so that we
reject libraries in $libdir.  In the negative case, do not
require a major version number in the $libdir file name, for AIX
without runtimelinking.  If tmpdir creation fails, skip the
test.  Use fewer bindir directory names for testing, to speed
up the test.  Also mention MSVC style DLL name in comment.
Report by Peter Rosin.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agotests: remove unneeded 'bindir compile check' test.
Ralf Wildenhues [Thu, 14 Oct 2010 19:47:44 +0000 (21:47 +0200)] 
tests: remove unneeded 'bindir compile check' test.

* tests/bindir.at (bindir compile check): Remove.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agotests: fix $EXEEXT typo.
Peter Rosin [Thu, 14 Oct 2010 12:19:21 +0000 (14:19 +0200)] 
tests: fix $EXEEXT typo.

* tests/depdemo-relink.test (func_restore_files): Use $EXEEXT
instead of $EXEXT.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agodocs: improve description of -no-undefined.
Simon Josefsson [Sat, 9 Oct 2010 10:26:16 +0000 (12:26 +0200)] 
docs: improve description of -no-undefined.

* doc/libtool.texi (Link mode): Fix -no-undefined description.
(Inter-library dependencies): Use Windows not AIX as example
system.  Clarify need for symbol resolution at library creation
time.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoAdd missing sysroot resolution.
Paolo Bonzini [Sat, 9 Oct 2010 08:37:41 +0000 (10:37 +0200)] 
Add missing sysroot resolution.

* libltdl/config/ltmain.m4sh (func_mode_link): Resolve sysroot
when fetching the install directory of dependent libraries.
Reported by Lionel Landwerlin <llandwerlin@gmail.com>,
patch by Khem Raj <raj.khem@gmail.com>.
* THANKS: Reorder entries, add Khem and Lionel.

14 years agoAdd test case for 69e77671 (cwrapper PATH manipulation order)
Roumen Petrov [Sun, 3 Oct 2010 21:15:17 +0000 (17:15 -0400)] 
Add test case for 69e77671 (cwrapper PATH manipulation order)

* tests/cwrapper.at: Add new test 'cwrapper and installed shared
libraries.'

Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>
14 years agocwrapper: split long lines when dumping the wrapper script.
Peter Rosin [Mon, 4 Oct 2010 19:16:26 +0000 (21:16 +0200)] 
cwrapper: split long lines when dumping the wrapper script.

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): If
the wrapper script contains long lines, split them for
readability and to conform with C standards.
* tests/cwrapper.at (cwrapper string length): New test, making
sure we don't regress.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agomsvc: handle symbols from different files independently.
Peter Rosin [Mon, 4 Oct 2010 14:02:39 +0000 (16:02 +0200)] 
msvc: handle symbols from different files independently.

* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS)
<dumpbin, lt_cv_sys_global_symbol_pipe>: Make all sections
viable for symbol extraction again when the symbols from a new
file starts.  Fixes tests/tagdemo-make.test for MSVC 10.
* tests/dumpbin-symbols.at: New test, making sure we don't
regress.
* Makefile.am (TESTSUITE_AT): Update.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agotests: check if sys_lib_search_path_spec works on MSVC.
Peter Rosin [Mon, 27 Sep 2010 18:09:53 +0000 (20:09 +0200)] 
tests: check if sys_lib_search_path_spec works on MSVC.

* tests/sys-lib.at: New test, making sure v2.2.10-207-g09142ea
doesn't regress.
* Makefile.am (TESTSUITE_AT): Update.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agoSkip need_lib_prefix.at on systems without lib prefix on libraries.
Peter Rosin [Mon, 27 Sep 2010 11:44:48 +0000 (13:44 +0200)] 
Skip need_lib_prefix.at on systems without lib prefix on libraries.

* tests/need_lib_prefix.at [MSVC, OS/2]: Skip this test on
systems that do not have libraries prefixed with lib.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agotests: clean up importing and exporting on w32.
Peter Rosin [Mon, 27 Sep 2010 08:06:44 +0000 (10:06 +0200)] 
tests: clean up importing and exporting on w32.

Makes the touched tests pass for MSVC when DLLs are built.

* tests/demo/Makefile.am, tests/pdemo/Makefile.am: Define
BUILDING_LIBHELLO when building libhello.la.
* tests/demo/foo.h, tests/pdemo/foo.h (nothing) <MSVC>: Export
variable when building the libhello dll and import when using
libhello.  For GCC and non-w32, and when building a static
libhello, leave as an ordinary extern.
* tests/pdemo/foo.h [Cygwin]: Remove unneeded and "dead" export
and import logic (LIBFOO_DLL is always undefined).
* tests/pdemo/longer_file_name_foo.c,
tests/pdemo/longer_file_name_foo2.c (_LIBFOO_COMPILATION_): Not
useful before, even less so now.  Removed.
* tests/depdemo/l1/Makefile.am: Define BUILDING_LIBL1 when
building libl1.la.
* tests/depdemo/l2/Makefile.am: Define BUILDING_LIBL2 when
building libl2.la.
* tests/depdemo/l3/Makefile.am: Define BUILDING_LIBL3 when
building libl3.la.
* tests/depdemo/l4/Makefile.am: Define BUILDING_LIBL4 when
building libl4.la.
* tests/depdemo/l1/l1.h, tests/depdemo/l2/l2.h,
tests/depdemo/l3/l3.h, tests/depdemo/l4/l4.h <MSVC>: Export
variables when building the associated library dll and import
when using the library.  For GCC and non-w32, and when building
static libraries, leave as an ordinary extern.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agodocs: do not refer to Libtool version with dlopen functionality.
Ralf Wildenhues [Sun, 26 Sep 2010 19:36:35 +0000 (21:36 +0200)] 
docs: do not refer to Libtool version with dlopen functionality.

* doc/libtool.texi (Dlopened modules): Remove broken reference
to what should have been Libtool 0.9g.
Report by Roumen Petrov.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agolibtool: remove redundant unsubstituted shell var defaults.
Gary V. Vaughan [Fri, 24 Sep 2010 05:51:36 +0000 (12:51 +0700)] 
libtool: remove redundant unsubstituted shell var defaults.

* Makefile.am (libltdl/config/ltmain.sh): Boilerplate code from
libltdl/config/general.m4 sets some default shell variables
designed to be substituted by `$(configure_edit)'.  Actually,
`libtool' uses the language tag values for those variables, and
`ltmain.m4sh' is not passed through `$(configure_edit)', so they
are just noise.  Edit them out at bootstrap time.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agomaint: don't leak developer GREP, SED etc into distribution file.
Gary V. Vaughan [Thu, 23 Sep 2010 10:00:08 +0000 (17:00 +0700)] 
maint: don't leak developer GREP, SED etc into distribution file.

* Makefile.am: Having rearranged the file, now apply the actual
changes to follow-up.
(edit): Split into two parts...
(bootstrap_edit): ...substitutions that should happen at bootstrap
time...
(configure_edit): ...and substitutions that should not happen until
configure time.
* Makefile.am (libltdl/m4/ltversion.m4, libltdl/config/ltmain.sh)
(libtoolize.in, tests/package.m4): Use bootstrap_edit.
(libtoolize, tests/defs): Use configure_edit.
* HACKING (Release Procedure): Remove the note to workaround the
bug fixed by this changeset.
* NEWS (Bug fixes): Mention that this bug is now fixed.
Reported by Joerg Sonnenberger.

14 years agomaint: rearrange Makefile.am in preparation for a follow-up patch.
Gary V. Vaughan [Wed, 1 Sep 2010 07:41:52 +0000 (14:41 +0700)] 
maint: rearrange Makefile.am in preparation for a follow-up patch.

* Makefile.am (Libtool scripts.): Move this section below the
`Bootstrap.' section...
(libtoolize.in): ...except this one which is generated at
bootstrap time, and was added into the `Bootstrap.' section.
(Libltdl.): Move this section below the `Libtool scripts.'
section.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agomsvc: don't try to export import descriptors.
Peter Rosin [Fri, 24 Sep 2010 06:44:24 +0000 (08:44 +0200)] 
msvc: don't try to export import descriptors.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin, mingw]
[pw32, cegcc] <cl*, exclude_expsyms>: Don't export symbols in
import libraries related to describing what dll(s) the import
library is importing. Fixes problem in tests/demo-make.test
and some other tests.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agoFix regression in command-line length computation.
Ralf Wildenhues [Wed, 22 Sep 2010 18:18:54 +0000 (20:18 +0200)] 
Fix regression in command-line length computation.

* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Use `env echo' rather
than possibly-undefined func_fallback_echo, to ensure we fork
and exec for this test.
* NEWS: Update.
Regression introduced in v2.2.6-39-g9c3d4d8.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoPost-release administrivia.
Gary V. Vaughan [Wed, 22 Sep 2010 14:29:36 +0000 (21:29 +0700)] 
Post-release administrivia.

* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
numbers to 2.4.1a.
* NEWS: Add header line for next release.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agoRelease 2.4. v2.4
Gary V. Vaughan [Wed, 22 Sep 2010 14:42:13 +0000 (21:42 +0700)] 
Release 2.4.

* libltdl/Makefile.inc (LTDL_VERSION_INFO): We've added the
static libprefix interface, so new version-info is C+1:0:R+1.
* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
numbers.
* NEWS: Update version number.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agomanual: web-manual index.html clashes with @node Index.
Gary V. Vaughan [Wed, 22 Sep 2010 14:41:22 +0000 (21:41 +0700)] 
manual: web-manual index.html clashes with @node Index.

* doc/libtool.texi (Index): Renamed to `Combined Index'.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agotests: ISO C++ forbids declaration of 'v1' with no type.
Gary V. Vaughan [Wed, 22 Sep 2010 01:48:56 +0000 (08:48 +0700)] 
tests: ISO C++ forbids declaration of 'v1' with no type.

* tests/lt_dlexit.at (lt_dlexit unloading libs): Added an
explicit int type to declaration of 'v1' to prevent compilation
failure with C++.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agotests: reloadable objects do not work on MSVC, SKIP test.
Peter Rosin [Wed, 22 Sep 2010 07:58:47 +0000 (09:58 +0200)] 
tests: reloadable objects do not work on MSVC, SKIP test.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
[cygwin, mingw, pw32, cegcc] <cl*, reload_cmds>: Indicate that
reloadable objects do not work.
* tests/duplicate_conv.at: Skip last test if reloadable
objects do not work.
* doc/libtool.texi (libtool script contents) <reload_cmds>:
Document how to indicate that reloadable objects do not work.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agomsvc: eliminate spaces in the library search path.
Peter Rosin [Tue, 21 Sep 2010 18:31:37 +0000 (20:31 +0200)] 
msvc: eliminate spaces in the library search path.

* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [mingw, cygwin]
<cl*, sys_lib_search_path_spec>: The LIB path variable telling
where MSVC looks for libraries is likely to contain directory
names with spaces.  Convert those directory names to the short
8.3 DOS form (i.e. without spaces) when storing them in
sys_lib_search_path_spec, as that is a space separated variable.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agoRevert to per-language libpath computation on AIX.
Ralf Wildenhues [Mon, 20 Sep 2010 19:51:55 +0000 (21:51 +0200)] 
Revert to per-language libpath computation on AIX.

* libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Accept
tagname argument.  Use global cache variable lt_cv_aix_libpath
to override per-language tag variables for the libpath value.
Fix the sed script to remove trailing space.
(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Pass tag argument to
_LT_SYS_MODULE_PATH_AIX.
Tracked down and reported by Rainer Tammer.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agomaint: edit-readme-alpha shouldn't try to re-edit during dist.
Gary V. Vaughan [Tue, 21 Sep 2010 00:57:15 +0000 (07:57 +0700)] 
maint: edit-readme-alpha shouldn't try to re-edit during dist.

* libltdl/config/edit-readme-alpha: If README is non-writable
assume that it is being run from distcheck, and bail out with
a warning (to help diagnose cases where the heuristic is not
correct).  However, if README has already been edited to the
alpha text, quietly skip without an error message.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agomaint: drop autobuild requirement
Eric Blake [Mon, 20 Sep 2010 20:40:09 +0000 (14:40 -0600)] 
maint: drop autobuild requirement

* HACKING: Update.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agobuild: ship autobuild.m4, to reduce bootstrap requirement
Eric Blake [Mon, 20 Sep 2010 18:04:50 +0000 (12:04 -0600)] 
build: ship autobuild.m4, to reduce bootstrap requirement

Shipping a copy of autobuild.m4 makes it so that users need not
pre-install autobuild just for aclocal to find the macro AB_INIT.

* libltdl/m4/.gitignore: Drop autobuild.m4.
* libltdl/m4/autobuild.m4: New file, copied from autobuild.
* configure.ac (AB_INIT): Unconditionally call it.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agolibltdl: Make sure preloaded symbols are declared extern "C".
Peter Rosin [Mon, 20 Sep 2010 07:11:43 +0000 (09:11 +0200)] 
libltdl: Make sure preloaded symbols are declared extern "C".

* libltdl/ltdl.h (LTDL_SET_PRELOADED_SYMBOLS): Move the
declaration of lt__PROGRAM__LTX_preloaded_symbols to global
scope and make sure it has "C" linkage.  Makes exceptions.at
succeed on MSVC.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agotests: __declspec (dll{ex,im}port) in tests/exceptions.at
Peter Rosin [Mon, 20 Sep 2010 07:07:25 +0000 (09:07 +0200)] 
tests: __declspec (dll{ex,im}port) in tests/exceptions.at

* tests/exceptions.at (common.h, module.h, lib.h) [w32]: Use
__declspec (dllimport) and __declspec (dllexport) instead of
the less portable __attribute__ ((dllimport)) and
__attribute__ ((dllexport)).  Makes the test compile on MSVC.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agotests: Import items from liba1 for MSVC.
Peter Rosin [Sun, 19 Sep 2010 12:14:21 +0000 (14:14 +0200)] 
tests: Import items from liba1 for MSVC.

* tests/lt_dlexit.at (b1.c) [MSVC]: Import function f1 and
variable v1 from liba1 when using them from modb1.  Makes the
test pass on MSVC.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agomaint: use sed instead of maintaining 2 README files.
Gary V. Vaughan [Sat, 18 Sep 2010 05:08:13 +0000 (12:08 +0700)] 
maint: use sed instead of maintaining 2 README files.

* README.alpha: Deleted.  It was mostly identical to README.
* libltdl/config/edit-readme-alpha: New script to edit the
contents of README in the dist tree prior to tarring up.
* Makefile.am (dist-hook): Run it before rolling alpha release
tarball.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agomaint: improve README's `Obtaining the Latest Sources'.
Gary V. Vaughan [Sat, 18 Sep 2010 04:13:50 +0000 (11:13 +0700)] 
maint: improve README's `Obtaining the Latest Sources'.

* README (Obtaining the Latest Sources): Add instructions for
obtaining stable, alpha and nightly snapshot tarballs.
* README.alpha (Obtaining the Latest Sources): Adjust to match.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agomaint: reformat README `The Test Suites' for consistency.
Gary V. Vaughan [Sat, 18 Sep 2010 03:46:09 +0000 (10:46 +0700)] 
maint: reformat README `The Test Suites' for consistency.

* README (The Test Suites): Reformatted for consistency.
* README.alpha (The Test Suites): Adjust to match.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agomaint: improve `Reporting Bugs' in README and README.alpha.
Gary V. Vaughan [Sat, 18 Sep 2010 03:38:10 +0000 (10:38 +0700)] 
maint: improve `Reporting Bugs' in README and README.alpha.

* README (Reporting Bugs): Rewritten to a more complete and
concise guide to providing a good bug report.
* README.alpha (Reporting Bugs): Adjust to match.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agomaint: consolidate Introductions of README and README.alpha.
Gary V. Vaughan [Sat, 18 Sep 2010 03:08:25 +0000 (10:08 +0700)] 
maint: consolidate Introductions of README and README.alpha.

* README (Introduction): Rewritten to a more logical order for
first time users, incorporating some additional text that was
previously only in README.alpha.
* README.alpha (Introduction): Adjust to match.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agomaint: copy the Version Numbering section into README.alpha.
Gary V. Vaughan [Sat, 18 Sep 2010 02:48:31 +0000 (09:48 +0700)] 
maint: copy the Version Numbering section into README.alpha.

* README.alpha (Version Numbering): No less useful for users
of alpha releases.  Copied from README.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
14 years agotests: avoid distcheck failure with --disable-ltdl-install.
Ralf Wildenhues [Sat, 18 Sep 2010 08:19:38 +0000 (10:19 +0200)] 
tests: avoid distcheck failure with --disable-ltdl-install.

* tests/ltdl-libdir.at (libdir of installed modules): Skip if
$LIBLTDL does not exist.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agomaint: improve README instructions for fetching latest version.
Gary V. Vaughan [Thu, 16 Sep 2010 02:47:45 +0000 (09:47 +0700)] 
maint: improve README instructions for fetching latest version.

* README, README-alpha (Obtaining the Latest Sources): New
section, describing use of savannah repositories and bootstrap.
* README.alpha (Reporting Bugs): Remove git instructions in
favour of a reference to the new `Obtaining the Latest Sources'
section.

14 years agotests: actually detect missing 'test' in 'if "$foo" = ...'.
Peter Rosin [Fri, 17 Sep 2010 20:31:08 +0000 (22:31 +0200)] 
tests: actually detect missing 'test' in 'if "$foo" = ...'.

* tests/sh.test: Remove extra backslash in regex.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agoCopy over DLL_EXPORT handling from C to C++ for non-GCC on w32.
Peter Rosin [Fri, 17 Sep 2010 14:15:04 +0000 (16:15 +0200)] 
Copy over DLL_EXPORT handling from C to C++ for non-GCC on w32.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [mingw, cygwin, os2]
[pw32, cegcc]: Copy over the DLL_EXPORT handling from C to C++.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agoMerge branch 'lto'
Ralf Wildenhues [Fri, 17 Sep 2010 19:48:00 +0000 (21:48 +0200)] 
Merge branch 'lto'

* lto:
  LTO: consistently accept -fwhopr* and -flto* for GCC.

14 years agoLTO: consistently accept -fwhopr* and -flto* for GCC. lto
Ralf Wildenhues [Fri, 17 Sep 2010 19:47:18 +0000 (21:47 +0200)] 
LTO: consistently accept -fwhopr* and -flto* for GCC.

* libltdl/config/ltmain.m4sh (func_mode_link): Accept -fwhopr*.
* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Also match
-flto*.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoFix order of PATH manipulation in cwrapper and shwrapper
Charles Wilson [Fri, 17 Sep 2010 16:23:28 +0000 (12:23 -0400)] 
Fix order of PATH manipulation in cwrapper and shwrapper

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main): Call
lt_update_exe_path before lt_update_lib_path, to ensure that the
temporary rpath values (which include the OBJDIRs of uninstalled
libtool libraries) precede installation and final -rpath directories.
(func_emit_wrapper): Prepend $dllsearchpath to PATH before prepending
$temp_rpath to $shlibpath_var; similar rationale as above.
Reported by Jon Turney <jon.turney@dronecode.org.uk>

Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>
14 years agoDocument libtool variable to_host_file_cmd.
Charles Wilson [Fri, 17 Sep 2010 16:28:46 +0000 (12:28 -0400)] 
Document libtool variable to_host_file_cmd.

* doc/libtool.texi (libtool script contents:to_host_file_cmd): Document
variable.
(libtool script contents:to_tool_file_cmd): Prefer `build platform'
to `build system'; Ditto `host platform'.

Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>
14 years agoFix sh.test failure introduced in 72064249
Charles Wilson [Fri, 17 Sep 2010 02:53:47 +0000 (22:53 -0400)] 
Fix sh.test failure introduced in 72064249

* libltdl/config/ltmain.m4sh (func_mode_link): Avoid poor syntax.

Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>
14 years agotests: avoid localization failure due to unstable compiler messages.
Ralf Wildenhues [Thu, 16 Sep 2010 20:02:50 +0000 (22:02 +0200)] 
tests: avoid localization failure due to unstable compiler messages.

* tests/testsuite.at (LT_AT_NORMALIZE_COMPILER_OUTPUT):
Attempt to normalize temporary file names in error messages.
Fixes 'localized compiler messages' test failure on Darwin when
creating fat (multi-ABI) libraries.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agoPrefer $NM @file when the toolchain isn't native to $build.
Peter Rosin [Mon, 13 Sep 2010 07:48:57 +0000 (09:48 +0200)] 
Prefer $NM @file when the toolchain isn't native to $build.

* libltdl/config/ltmain.m4sh (func_mode_link): Avoid calculating
the command line length and take the @file branch *if* the file
names needs to be converted for the toolchain and the @file
branch works.  Fixes problems in stresstest.at when doing a cross
from Cygwin to MinGW using MinGW native tools (a.k.a. a "faked"
cross), and for the specific case of MSVC on Cygwin it makes the
test pass.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agoRemove obsolete .cvs ignore files.
Gary V. Vaughan [Thu, 16 Sep 2010 02:05:28 +0000 (09:05 +0700)] 
Remove obsolete .cvs ignore files.

* .cvsignore, doc/.cvsignore, libltdl/.cvsignore,
libltdl/config/.cvsignore, libltdl/loaders/.cvsignore,
libltdl/m4/.cvsignore, tests/.cvsignore,
tests/cdemo/.cvsignore, tests/demo/.cvsignore,
tests/depdemo/l1/.cvsignore, tests/depdemo/l2/.cvsignore,
tests/depdemo/l3/.cvsignore, tests/depdemo/l4/.cvsignore,
tests/f77demo/.cvsignore, tests/fcdemo/.cvsignore,
tests/mdemo/.cvsignore, tests/mdemo2/.cvsignore,
tests/pdemo/.cvsignore, tests/tagdemo/.cvsignore: Deleted. Even
when using savannah's CVS readonly mirror there's no way to commit
back to the real repo, so this files are not worth maintaining
or keeping around.

14 years agomaint: ship .xz, not .lzma
Eric Blake [Mon, 13 Sep 2010 21:33:13 +0000 (15:33 -0600)] 
maint: ship .xz, not .lzma

* configure.ac (AM_INIT_AUTOMAKE): Prefer better file format.
* Makefile.maint (git-release, git-dist, prev-tarball)
(new-tarball, diffs): Use correct extension.
* HACKING: Update instructions.
* .gitignore: Ignore .xz files.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agodoc: avoid long lines in input and output, indexing fixes.
Ralf Wildenhues [Mon, 13 Sep 2010 19:52:03 +0000 (21:52 +0200)] 
doc: avoid long lines in input and output, indexing fixes.

* doc/libtool.texi (Linking libraries)
(Module loaders for libltdl): Manually line-wrap examples, to
avoid long lines.
(Libltdl interface, User defined module data)
(Module loaders for libltdl): Wrap long @deftypefun input lines
using trailing '@'.  Use @deftypefun rather than @deftp where
appropriate, and add spaces in @deftypefun lines to fix the
index entries generated from these lines.
(Cheap tricks): Use @smallexample rather than @example, to avoid
long lines.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years agodocs: @file and @option markup fixes.
Ralf Wildenhues [Mon, 13 Sep 2010 19:28:52 +0000 (21:28 +0200)] 
docs: @file and @option markup fixes.

* doc/libtool.texi (Creating object files, Linking libraries)
(Linking executables, Link mode, Finish mode, Autoconf macros)
(Using Automake, Inter-library dependencies, Dlpreopening)
(Linking with dlopened modules, Finding the dlname)
(Libltdl interface, Test descriptions, Multiple dependencies):
Add @option where needed, replace @samp with @file as
appropriate.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 years ago* .gitignore: Ignore *.obj files for MSVC (and w32 in general).
Peter Rosin [Sun, 12 Sep 2010 16:43:11 +0000 (18:43 +0200)] 
* .gitignore: Ignore *.obj files for MSVC (and w32 in general).

14 years agoAdjust to moved auxiliary files and add compile.
Peter Rosin [Sun, 12 Sep 2010 16:23:53 +0000 (18:23 +0200)] 
Adjust to moved auxiliary files and add compile.

* HACKING (Maintenance Notes): Adjust to moved files.  Add the
compile script.
* Makefile.maint (fetch): Also fetch the compile script.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
14 years agotests: avoid empty AT_DATA contents, for zsh.
Ralf Wildenhues [Sun, 12 Sep 2010 15:25:59 +0000 (17:25 +0200)] 
tests: avoid empty AT_DATA contents, for zsh.

* tests/libtoolize.at (libtoolize macro serial update)
(libtoolize config files serial update, LIBTOOLIZE_OPTIONS):
Do not create empty files with AT_DATA, the latter is documented
to require a final newline.  Fixes testsuite failures with zsh
4.3.10.

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