]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
15 years agoReally update libltdl version-info. redo-v2.2.6-release v2.2.6b
Peter O'Gorman [Mon, 16 Nov 2009 13:14:07 +0000 (07:14 -0600)] 
Really update libltdl version-info.

libltdl/Makefile.inc: Update version-info.

15 years agoPrepare for 2.2.6b release.
Peter O'Gorman [Sat, 14 Nov 2009 19:58:19 +0000 (13:58 -0600)] 
Prepare for 2.2.6b release.

NEWS, configure.ac, libltdl/configure.ac, libltdl/Makefile.am:
Update.

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 agolibtoolize: ignore trailing junk on scriptversion line.
Ralf Wildenhues [Tue, 5 May 2009 05:39:16 +0000 (07:39 +0200)] 
libtoolize: ignore trailing junk on scriptversion line.

* libtoolize.m4sh (func_install_update): Ignore semi-colon or
comment-sign and all following characters when parsing a
`scriptversion' line in one of the auxiliary scripts; recent
Automake-provided script have a stylized comment to induce
Emacs to use UTC.
Exposed by the `libtoolize config files serial update' test.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agouse --version-info 9:0:2 for one added interface since v2.2.4 v2.2.6a
Gary V. Vaughan [Sun, 7 Sep 2008 17:51:20 +0000 (01:51 +0800)] 
use --version-info 9:0:2 for one added interface since v2.2.4

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.

16 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.

16 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.

16 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>
16 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>
16 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>
16 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>
16 years agoAvoid test failure due to broken dlpreloading of shared library.
Ralf Wildenhues [Sat, 16 Aug 2008 15:28:30 +0000 (17:28 +0200)] 
Avoid test failure due to broken dlpreloading of shared library.

* tests/lt_dladvise.at (lt_dlopenadvise library loading): Drop
some newlines in AT_CHECK commands, for better 'testsuite -x'
output.  Only create a static installable libpreload.la, to
avoid exposing the bug libtool currently has with preloading of
shared libraries.  Add a note to revisit this later.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoParallel make testsuite fixes.
Ralf Wildenhues [Tue, 12 Aug 2008 20:20:43 +0000 (22:20 +0200)] 
Parallel make testsuite fixes.

* tests/configure-iface.at (installable libltdl)
(--with-ltdl-include/lib, --with-included-ltdl): Add dlopened
libmodule.la to main_DEPENDENCIES.
* tests/old-m4-iface.at (AC_WITH_LTDL): Likewise, let ltdldemo
depend upon module.la and libltdl/libltdlc.la.
* tests/testsuite.at (LT_AT_MAKE): Invoke each target in turn,
default to 'all'.
* tests/early-libtool.at (config.lt): Define 'all' target.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years ago* HACKING: Update for git, fix some minor nits.
Ralf Wildenhues [Tue, 12 Aug 2008 03:22:52 +0000 (05:22 +0200)] 
* HACKING: Update for git, fix some minor nits.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoRemove use of exit in configure test sources.
Ralf Wildenhues [Mon, 11 Aug 2008 20:36:42 +0000 (22:36 +0200)] 
Remove use of exit in configure test sources.

* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Return from main,
to avoid using undeclared exit.
Report against OpenMPI from Coverity via Jeff Squyres.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix configure-iface.at for 'make -j'.
Ralf Wildenhues [Mon, 11 Aug 2008 20:13:32 +0000 (22:13 +0200)] 
Fix configure-iface.at for 'make -j'.

* tests/configure-iface.at (convenience libltdl): Ignore warning
from parallel make.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix typo in tpf library_names_spec setting.
DJ Delorie [Thu, 7 Aug 2008 05:26:53 +0000 (07:26 +0200)] 
Fix typo in tpf library_names_spec setting.

* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [tpf]
<library_names_spec>: Fix typo in variable name.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoUse -fPIC with GCC on HP-UX/ia64.
Steve Ellcey [Wed, 6 Aug 2008 18:34:00 +0000 (20:34 +0200)] 
Use -fPIC with GCC on HP-UX/ia64.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
[ia64-*-hpux*]: Specify -fPIC when using GCC to build shared
libraries.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years ago* NEWS: Minor fixups.
Ralf Wildenhues [Fri, 1 Aug 2008 17:27:31 +0000 (19:27 +0200)] 
* NEWS: Minor fixups.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoBring NEWS up to date.
Gary V. Vaughan [Fri, 1 Aug 2008 06:50:11 +0000 (13:50 +0700)] 
Bring NEWS up to date.
* NEWS: Add missing summaries since 2.2.4 release.

17 years agoImplement lt_dlopening of only preloaded modules.
Gary V. Vaughan [Fri, 1 Aug 2008 06:12:29 +0000 (13:12 +0700)] 
Implement lt_dlopening of only preloaded modules.
* libltdl/m4/ltdl.m4 (LTDL_INIT): Check for a libltdl that
provides lt_dladvise_preopen when deciding if installed libltdl
is 'new enough'.
* libltdl/libltdl/lt__private.h (lt__advise): Add a new
is_preload flag.
* libltdl/ltdl.c (lt_dladvise_preload): New api call to set it.
(try_dlopen): If it is set, and the search of preloaded modules
didn't return a match, don't bother searching the filesystem.
* libltdl/ltdl.h (lt_dladvise_preload): Declare it.
* doc/libtool.texi (Libltdl Interface): Document it.
* tests/lt_dladvise.at: Test it (and incidentally add some test
coverage for `libtool -dlpreopen').
* NEWS: Announce it.

17 years agoAdd cegcc (Windows CE/PocketPC) support.
Vincent Torri [Thu, 31 Jul 2008 22:54:03 +0000 (00:54 +0200)] 
Add cegcc (Windows CE/PocketPC) support.

* libltdl/config/ltmain.m4sh: Add 'cegcc' case where needed.
* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN, LT_SYS_DLOPEN_SELF)
(_LT_SYS_DYNAMIC_LINKER, _LT_CHECK_MAGIC_METHOD)
(_LT_CMD_GLOBAL_SYMBOLS, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG): Likewise.
* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Likewise.
* NEWS: Update.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoFix sh.test failure.
Ralf Wildenhues [Thu, 31 Jul 2008 17:46:14 +0000 (19:46 +0200)] 
Fix sh.test failure.

* libltdl/config/ltmain.m4sh (func_to_host_path): Fix sh.test
failure.
Report by Paolo Bonzini.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoCosmetic fix to ltmain.m4sh.
Paolo Bonzini [Thu, 31 Jul 2008 17:43:26 +0000 (19:43 +0200)] 
Cosmetic fix to ltmain.m4sh.

* ltmain.m4sh (func_emit_cwrapperexe_src): Factor
multiple closed braces into the next cat command.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoNewer Intel compilers do not grok -KPIC any more.
Ralf Wildenhues [Thu, 19 Jun 2008 17:35:52 +0000 (19:35 +0200)] 
Newer Intel compilers do not grok -KPIC any more.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <icc, icpc>:
Use -fPIC, newer Intel compilers (icc 10, ifort 9) reject -KPIC.
* tests/localization.at: Skip test if the compiler fails merely
due to the locale setting.
* THANKS: Update.
Report by Vincent Lefevre.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoRemove TABs from the manual.
Ralf Wildenhues [Mon, 16 Jun 2008 22:55:15 +0000 (00:55 +0200)] 
Remove TABs from the manual.

* doc/libtool.texi (Linking executables, Static libraries)
(Modules for libltdl, Distributing libltdl): Remove TABs from
the manual.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoSupport ifort on darwin.
Peter O'Gorman [Fri, 13 Jun 2008 15:53:34 +0000 (10:53 -0500)] 
Support ifort on darwin.

* libltdl/m4/libtool.m4 (_LT_DARWIN_LINKER_FEATURES): Build
shared libraries with ifort.
Reported by Christopher Hulbert.

17 years ago[mingw] fix cross-compile-with-wine case
Charles Wilson [Sat, 31 May 2008 17:11:58 +0000 (13:11 -0400)] 
[mingw] fix cross-compile-with-wine case

* libltdl/config/ltmain.m4sh (func_to_host_path)
[host=mingw, build!=mingw|cygwin]: check that winepath
stdout is non-empty and exit code is 0, instead of checking
stderr.
Reported by: Roumen Petrov

17 years agoCheck only regular files, not devices, for lalibs.
Stas Maximov [Sun, 1 Jun 2008 07:36:19 +0000 (09:36 +0200)] 
Check only regular files, not devices, for lalibs.

* libltdl/config/ltmain.m4sh (functions func_lalib_p)
(func_lalib_unsafe_p): Only read regular files and not device
files.  Avoids blocking libtool executing gdb, when a
pseudo-terminal device /dev/pts/NN is given as one of the
arguments to gdb, as in:
libtool --mode=execute gdb -q -nw -i mi -tty /dev/pts/4 prog

Signed-off-by: Stas Maximov <smaximov@ieee.org>
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoSkip darwin test if fat link fails.
Peter O'Gorman [Sat, 31 May 2008 17:12:31 +0000 (12:12 -0500)] 
Skip darwin test if fat link fails.

* tests/darwin.at: Skip if we can not link a fat program.
Reported by Daniel Macks <dmacks@netspace.org>

17 years agolibtoolize should not remove config.guess, config.sub.
Ralf Wildenhues [Mon, 26 May 2008 19:54:51 +0000 (21:54 +0200)] 
libtoolize should not remove config.guess, config.sub.

* libtoolize.m4sh (all_pkgconfig_files): Do not list
config.guess nor config.sub.  We don't install them without
--install, and the project may not be using Automake.
Report by Andreas Schwab.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoSimplify argument parsing in cwrapper.
Ralf Wildenhues [Sun, 25 May 2008 21:10:42 +0000 (23:10 +0200)] 
Simplify argument parsing in cwrapper.

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src):
Use NULL where appropriate.  Do not compute length of arguments
needlessly.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years ago[mingw] Add cross-compile support to cwrapper
Charles Wilson [Thu, 15 May 2008 04:07:50 +0000 (00:07 -0400)] 
[mingw] Add cross-compile support to cwrapper

* libltdl/config/ltmain.m4sh (func_to_host_path) [$host=mingw]:
If present, use winepath to convert from $build to $host
if $build is neither mingw (msys) nor cygwin.  Use unconverted
path as fallback when conversion fails. Also update comments.
(func_to_host_pathlist) [$host=mingw]: Ditto. For fallback case,
use simplistic ':' to ';' path separator translation.

17 years agoCwrapper should not eat -- arguments
Charles Wilson [Sun, 25 May 2008 04:13:04 +0000 (00:13 -0400)] 
Cwrapper should not eat -- arguments

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
[file scope]: Defined all option strings in terms of macro
LTWRAPPER_OPTION_PREFIX. Similarly defined all option string
lengths in terms of macro LTWRAPPER_OPTION_PREFIX_LENGTH.
[main]: Modified option parsing algorithm to pass -- on to
target, and to not stop processing arguments when -- is seen.
Added check for unrecognized options in reserved namespace
defined by LTWRAPPER_OPTION_PREFIX.

17 years agoFix ifort settings again.
Ralf Wildenhues [Sun, 25 May 2008 08:40:26 +0000 (10:40 +0200)] 
Fix ifort settings again.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>:
Unlike icc and ecc, not all ifort versions understand `-KPIC',
e.g. version 10.1, so use `-fPIC' instead.
Report by Jeff Squyres.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoResynchronize argz whitespace changes from gnulib.
Eric Blake [Tue, 20 May 2008 12:27:28 +0000 (06:27 -0600)] 
Resynchronize argz whitespace changes from gnulib.

* libltdl/m4/argz.m4: Kill trailing whitespace.
* libltdl/argz.c: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoFix regression from two days ago.
Eric Blake [Mon, 19 May 2008 14:18:33 +0000 (08:18 -0600)] 
Fix regression from two days ago.

* libltdl/m4/ltdl.m4 (_LT_LIBOBJ): Don't refer to deleted macro.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoSpeed up bootstrap by improving lt_combine.
Eric Blake [Wed, 14 May 2008 21:04:41 +0000 (21:04 +0000)] 
Speed up bootstrap by improving lt_combine.

* libltdl/m4/ltsugar.m4 (lt_combine): Mirror Autoconf 2.62
improvements.  Includes a semantic change where the separator can
now be empty, and where an empty fourth argument is now treated as
a valid suffix.
* libltdl/m4/libtool.m4 (_lt_decl_varnames_tagged): Adjust to new
semantics of lt_combine.
(lt_decl_varnames_tagged): Fix quoting and optimize.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoKill _LT_LIBSOURCES; it wasn't checking anything useful.
Eric Blake [Tue, 13 May 2008 22:47:32 +0000 (22:47 +0000)] 
Kill _LT_LIBSOURCES; it wasn't checking anything useful.

* libltdl/m4/ltdl.m4 (_LT_LIBSOURCES): Delete.
(LTDL_INIT): Ignore arguments to AC_LIBSOURCES during _LTDL_SETUP,
on the assumption that libtoolize correctly installed them.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years ago[mingw|cygwin] Modify cwrapper to invoke target directly.
Charles Wilson [Sat, 26 Apr 2008 20:03:50 +0000 (16:03 -0400)] 
[mingw|cygwin] Modify cwrapper to invoke target directly.

* libltdl/config/ltmain.m4sh (func_to_native_path):
New function. If $host is mingw, and $build is mingw
or cygwin, convert path to mingw native format.
(func_to_native_pathlist): New function. Ditto, for
:-separated pathlists.
(func_emit_cwrapperexe_src) [__CYGWIN__ && __STRICT_ANSI__]:
Ensure putenv and setenv are declared. Define HAVE_SETENV.
(func_emit_cwrapperexe_src) [main]: Add new constants to
hold desired PATH settings; initialize and use functions
above to convert to $host format if necessary. Add new
command-line options --lt-env-set, --lt-env-prepend, and
--lt-env-append. No longer emit wrapper script as integral
part of launching child. Remove support for (now) unnecessary
$TARGETSHELL. Exec actual target executable directly.
(func_emit_cwrapperexe_src) [lt_setenv, lt_extend_str]
[lt_split_name_value, lt_opt_process_env_set]
[lt_opt_process_env_prepend, lt_opt_process_env_append]
[lt_update_exe_path, lt_update_lib_path]: New functions.

17 years agoEnsure cwrapper compiles without warnings under -std=c99.
Charles Wilson [Sat, 26 Apr 2008 01:08:04 +0000 (21:08 -0400)] 
Ensure cwrapper compiles without warnings under -std=c99.

* libltdl/config/ltmain.m4sh (func_emit_wrapper_part1):
new function.
(func_emit_wrapper_part2): new function.
(func_emit_wrapper): delegate to new functions.
(func_emit_cwrapperexe_src) [__CYGWIN__ && __STRICT_ANSI__]:
ensure realpath is declared.
(func_emit_cwrapperexe_src): declare two different strings
to each hold part of the wrapper script content. Initialize
using new func_emit_wrapper_partX functions.
(func_emit_cwrapperexe_src) [main]: when emitting wrapper
script content, use both strings.
Reported by Yaakov Selkowitz.

17 years agoEnsure $OBJDUMP is defined
Charles Wilson [Tue, 6 May 2008 00:23:05 +0000 (20:23 -0400)] 
Ensure $OBJDUMP is defined
* libltdl/m4/libtool.m4 (_LT_DECL_OBJDUMP): new macro ensures
that $OBJDUMP is always defined sanely.
(_LT_SYS_DYNAMIC_LINKER): call it.
(_LT_CHECK_MAGIC_METHOD): call it.

17 years agoFix libtoolize test failure with aclocal < 1.10.1
Gary V. Vaughan [Mon, 5 May 2008 05:07:14 +0000 (01:07 -0400)] 
Fix libtoolize test failure with aclocal < 1.10.1

* tests/libtoolize.at
(verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIR): Older aclocal
requires a space between -I and the directory argument.
Reported by Daniel Macks <dmacks@netspace.org>

17 years agoSet SCM version number to 2.2.5a.
Gary V. Vaughan [Sun, 4 May 2008 21:09:38 +0000 (17:09 -0400)] 
Set SCM version number to 2.2.5a.

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

17 years agoGNU Libtool 2.2.4 was released. v2.2.4
Gary V. Vaughan [Sun, 4 May 2008 18:36:29 +0000 (14:36 -0400)] 
GNU Libtool 2.2.4 was released.

* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.2.4.
* libltdl/Makefile.inc (LTDL_VERSION_INFO): C:R+1:A because the
interfaces are unchanged, even though we improved the code some
more.
* NEWS: Updated.

17 years agoMacro file serial updates for next stable release.
Gary V. Vaughan [Sun, 4 May 2008 16:37:02 +0000 (12:37 -0400)] 
Macro file serial updates for next stable release.

* libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
libltdl/m4/ltoptions.m4, libltdl/m4/lt~obsolete.m4: Bump serial
numbers to account for changes since 2.2.2 release.

17 years agoMake libtoolize tests work with distcheck.
Gary V. Vaughan [Sun, 4 May 2008 16:31:22 +0000 (12:31 -0400)] 
Make libtoolize tests work with distcheck.

* tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): When $tst_aclocal
is set, transform paths that use it to generic
/usr/local/share/aclocal in time for AT_CHECK comparisons.

17 years agoDon't trip over outdated acinclude.m4.
Gary V. Vaughan [Fri, 2 May 2008 20:12:38 +0000 (16:12 -0400)] 
Don't trip over outdated acinclude.m4.

* libtoolize.m4sh (all_pkgconfig_files, all_pkgmacro_files)
(all_pkgltdl_files): New variables listing all files ever
maintained by any release of libtoolize.
(func_install_pkgconfig_parent, func_install_pkgltdl_files)
(func_install_pkgconfig_subproject, func_install_pkgmacro_parent)
(func_install_pkgmacro_subproject): Carefully clean up any files
that may have been installed by previous libtoolize releases.
* tests/libtoolize.at: New test for libltdl/acinclude.m4 removal.
Reported by Andreas Schwab <schwab@suse.de>.

17 years agoIt helps to close quotes.
Peter O'Gorman [Fri, 2 May 2008 05:54:49 +0000 (00:54 -0500)] 
It helps to close quotes.

* libltdl/config/ltmain.m4sh (func_mode_link): Add closing '.

17 years agoUse AC_CHECK_TOOL for otool and otool64.
Peter O'Gorman [Thu, 1 May 2008 17:40:24 +0000 (12:40 -0500)] 
Use AC_CHECK_TOOL for otool and otool64.

* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check.
* libltdl/config/ltmain.m4sh (func_mode_link): Use.
Reported by Richard Purdie <rpurdie@rpsys.net>

17 years agoIgnore backup files.
Eric Blake [Wed, 30 Apr 2008 16:51:33 +0000 (10:51 -0600)] 
Ignore backup files.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoSupport cygwin 1.7.0 in loadlibrary loader.
Eric Blake [Wed, 30 Apr 2008 16:49:45 +0000 (10:49 -0600)] 
Support cygwin 1.7.0 in loadlibrary loader.

* libltdl/m4/ltdl.m4 (LT_LIB_DLLOAD) <cygwin>: Check for modern
function.
* libltdl/loaders/loadlibrary.c (vm_open): Avoid deprecated
cygwin_conv_to_full_win32_path.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoNew libtoolize --no-warn option and LIBTOOLIZE_OPTIONS parsing.
Gary V. Vaughan [Tue, 29 Apr 2008 19:11:54 +0000 (15:11 -0400)] 
New libtoolize --no-warn option and LIBTOOLIZE_OPTIONS parsing.

* libltdl/config/general.m4sh (opt_warning): New option.
(func_warning): Only display a warning message if $opt_warning
is true.
* libtoolize.m4sh: Accept options in LIBTOOLIZE_OPTIONS
environment variable.
(--no-warn): Parse new option.
(func_serial_update_check, func_keyword_update): Use func_warning.
(func_check_macros): Bail out before style issues nags when
$opt_warning is false.
* doc/libtool.texi (Invoking Libtoolize): Document it.
* tests/libtoolize.at: Test it.
* NEWS: Updated.

17 years agoFix libtoolize test failure with aclocal-1.10.1.
Gary V. Vaughan [Tue, 29 Apr 2008 18:28:07 +0000 (14:28 -0400)] 
Fix libtoolize test failure with aclocal-1.10.1.

* tests/libtoolize.at
(verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIR): Force aclocal to
search the source tree for latest libtool macros.

17 years agoFix bug in 2008-04-21 type improvements.
Eric Blake [Thu, 24 Apr 2008 16:05:12 +0000 (10:05 -0600)] 
Fix bug in 2008-04-21 type improvements.

* libltdl/ltdl.c (load_deplibs): Fix casting bug.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoUse /nonexistent as destination for files not to be installed.
Michael Haubenwallner [Wed, 23 Apr 2008 21:48:46 +0000 (23:48 +0200)] 
Use /nonexistent as destination for files not to be installed.

* tests/darwin.at (darwin fat compile): Fix typo.
* tests/inherited_flags.at (inherited_linker_flags): Change
-rpath to /nonexistent.  This helps to avoid accidentally
picking up libraries below /usr/local.
* tests/template.at (simple template test): Likewise.  Fixes
test failure for additional incompatible libstdc++ in
/usr/local.
* tests/testsuite.at (configure_options): Add
--prefix=/nonexistent.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years ago* libtoolize.m4sh (rerun_aclocal): Remove unused variable.
Gary V. Vaughan [Wed, 23 Apr 2008 15:05:16 +0000 (11:05 -0400)] 
* libtoolize.m4sh (rerun_aclocal): Remove unused variable.

Reported by Olly Betts <olly@survex.com>

17 years ago* tests/static.at (ccache -all-static): Ignore link warnings.
Ralf Wildenhues [Wed, 23 Apr 2008 05:48:45 +0000 (07:48 +0200)] 
* tests/static.at (ccache -all-static): Ignore link warnings.

Report by Gary V. Vaughan.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoLibtoolize now advises AC_CONFIG_MACRO_DIR use where appropriate.
Gary V. Vaughan [Wed, 23 Apr 2008 03:18:56 +0000 (23:18 -0400)] 
Libtoolize now advises AC_CONFIG_MACRO_DIR use where appropriate.

* libtoolize.at (func_check_macros): Always advise use of
AC_CONFIG_MACRO_DIR when not able to copy libtool macros into
the project tree.
* tests/libtoolize.at: New test for correct diagnosis of mismatch
between AC_CONFIG_MACRO_DIR and ACLOCAL_AMFLAGS.
Update expected output of other tests.
* NEWS: Updated.

17 years agoOnly complain that files are up-to-date with --force.
Gary V. Vaughan [Tue, 22 Apr 2008 22:55:20 +0000 (18:55 -0400)] 
Only complain that files are up-to-date with --force.

As a side effect, this also means that when `aclocal' copies the
libtool macros into `aclocal.m4' libtoolize complains only about
the macro files that are missing or not up-to-date.
* libtoolize.m4sh (func_echo_once): New function that prints
the contents of a named variable only on the first call.
(func_aclocal_update_check): New function that compares serial
numbers of libtool macros in aclocal.m4 and only diagnoses the
missing files.
(func_copy, func_copy_cb, func_copy_some_files, func_serial_update)
(func_keyword_update, func_ltmain_update, func_config_update)
(func_install_update): Accept a new argument naming a variable
containing a header string to print with func_echo_once iff any
body text is output by this function.
(func_install_pkgmacro_subproject, func_install_pkgmacro_parent)
(func_install_pkgltdl_files, func_install_pkgconfig_subproject)
(func_install_pkgconfig_parent: Set and pass a suitable
header string variable for the above functions.
(func_serial_update_check): Don't advise rerunning `libtoolize
--force' when aclocal.m4 is not m4_including libtoolize installed
macro files.
* tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): Transform generic
/usr/local/share/aclocal paths to point into the uninstalled
libtool macro directory.
* tests/libtoolize.at: Update tests that were checking for old
behaviour of outputing `file is already up to date' even when
--force was not passed.
* tests/libtoolize.at: New tests to prevent regressions of these
smarter messages.
* NEWS: Updated.
Reported by Olly Betts <olly@survex.com>

17 years agoFix regression over 1.5.26 with ccache $CC -all-static.
Ralf Wildenhues [Tue, 22 Apr 2008 19:43:06 +0000 (21:43 +0200)] 
Fix regression over 1.5.26 with ccache $CC -all-static.

* libltdl/config/ltmain.m4sh (func_mode_link): Add
$link_static_flag to compile_command and link_command only
later, instead of right after a possible compiler wrapper.
* tests/static.at (ccache -all-static): New test.
* THANKS: Update.
Report by Richard Purdie.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoFix default argument for AC_LIBLTDL_CONVENIENCE.
Andreas Schwab [Tue, 22 Apr 2008 19:32:32 +0000 (21:32 +0200)] 
Fix default argument for AC_LIBLTDL_CONVENIENCE.

* libltdl/m4/ltdl.m4 (AC_LIBLTDL_CONVENIENCE): Default argument
to libltdl.
(AC_LIBLTDL_INSTALLABLE): Likewise.
* tests/configure-iface.at (convenience libltdl): New test.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoCapture lt~obsolete.m4 serial number correctly in libtoolize.
Gary V. Vaughan [Tue, 22 Apr 2008 01:59:09 +0000 (21:59 -0400)] 
Capture lt~obsolete.m4 serial number correctly in libtoolize.

* libltdl/m4/lt~obsolete.m4: Add the filename to the #serial
marker so that libtoolize's serial number checks can find it
in a non-include using aclocal.m4.
* NEWS: Updated.
Reported by Olly Betts <olly@survex.com>

17 years agoAllow better compile time type checking for lt_dladvise.
Gary V. Vaughan [Tue, 22 Apr 2008 01:56:06 +0000 (21:56 -0400)] 
Allow better compile time type checking for lt_dladvise.

* libltdl/lt__private.h (lt__handle, lt__advise): Typedefs
removed in favour of...
* libltdl/ltdl.h (lt_dlhandle),
libltdl/libltdl/lt_dlloader.h (lt_dladvise): ...changing from
void* to forward declarations.
* libltdl/loaders/dlopen.c, libltdl/loaders/loadlibrary.c,
libltdl/lt_dlloader.c, libltdl/ltdl.c: Remove many redundant
type casts.
* NEWS: Updated.
Suggested by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>

17 years agobasename does not take a list of strings.
Peter O'Gorman [Mon, 21 Apr 2008 20:18:41 +0000 (15:18 -0500)] 
basename does not take a list of strings.
* libltdl/config/ltmain.m4sh(func_extract_archives): Use sed
$basename.
* tests/darwin.at: New. Check that we can built fat program,
shared library and convenience library.
* Makefile.am: Add test.
Reported by LiKai Liu <liulk@cs.bu.edu>

17 years agoUse AC_CHECK_TOOL for lipo too.
Peter O'Gorman [Mon, 21 Apr 2008 15:21:27 +0000 (10:21 -0500)] 
Use AC_CHECK_TOOL for lipo too.

* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check.
* libltdl/config/ltmain.m4sh (func_extract_archives): Use.

17 years agoFix misleading lt_dlopenadvise documentation.
Gary V. Vaughan [Sun, 20 Apr 2008 21:35:46 +0000 (17:35 -0400)] 
Fix misleading lt_dlopenadvise documentation.

* doc/libtool.texi (lt_dlopenadvise): The last parameter is of
type lt_dladvise, not lt_dladvise*.
(my_dlopenext): Correct the example too.
* NEWS: Updated.
Reported by Gary Kumfert <kumfert@llnl.gov>

17 years agoFix testsuite cleanup warnings on AIX with NFS.
Ralf Wildenhues [Sat, 19 Apr 2008 16:35:04 +0000 (18:35 +0200)] 
Fix testsuite cleanup warnings on AIX with NFS.

* tests/testsuite.at [ aix ]: Set file mode creation so that
'others' have no permissions.  Shared libraries are kept in
memory on AIX after use if they are world-readable, which means
on NFS mounts cleanup of test group directories will fail later.
* THANKS: Update.
Report and analysis by Michael Haubenwallner.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoFix nonportable use of expr.
Ralf Wildenhues [Sat, 19 Apr 2008 16:27:41 +0000 (18:27 +0200)] 
Fix nonportable use of expr.

* libltdl/config/ltmain.m4sh (func_mode_link) <Transforming
deplibs into only shared deplibs>: Fix expr portability issues,
noted on FreeBSD.  While at it, simplify and avoid forking.
Report by Bob Friesenhahn.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoExploit shell arithmetic expansion and ${#var}.
Ralf Wildenhues [Sat, 19 Apr 2008 16:24:48 +0000 (18:24 +0200)] 
Exploit shell arithmetic expansion and ${#var}.

* libltdl/m4/libtool.m4 (_LT_CHECK_SHELL_FEATURES): Also check
for arithmetic expansion, and ${#var}.
(_LT_PROG_XSI_SHELLFNS): Define func_arith and func_len
accordingly, falling back on 'expr'.  Note that the argument to
func_len may not start with a hyphen.  In the pre-Posix
fallback, take care not to rely on the exit status of the
variable assignment (not portable), but set the length to
$max_cmd_len instead.
* libltdl/config/ltmain.m4sh (func_mode_link): Use func_arith
and func_len throughout for integer arithmetic, fixing
quadratical amount of counting for reloadable object and
piecewise archive linking.  Change all comparisons with
max_cmd_len to test for smaller, non-equal length.
* THANKS: Update.
Suggested by Roland Mainz.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoAvoid redundant rm in compile mode, fix locking.
Ralf Wildenhues [Fri, 18 Apr 2008 22:01:12 +0000 (00:01 +0200)] 
Avoid redundant rm in compile mode, fix locking.

* libltdl/config/ltmain.m4sh (func_mode_compile): Avoid
redundant removal of old output files before compilation.
Do not remove $obj until we have successfully grabbed the
lockfile (in case the compiler doesn't grok `-c -o'), because
it might be identical to $output_obj.
At the end of the function, before we remove the lockfile,
update $removelist so that if the trap hits after the lockfile
has been removed, we do not accidentally remove $output_obj that
does not belong to us.
(func_write_libtool_object): Use $MV instead of mv.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoProperly emulate AC_ENABLE_SHARED([no]) and others.
Andreas Schwab [Fri, 18 Apr 2008 21:43:19 +0000 (23:43 +0200)] 
Properly emulate AC_ENABLE_SHARED([no]) and others.

* libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Check optional
argument.
(AC_ENABLE_STATIC): Likewise.
(AC_ENABLE_FAST_INSTALL): Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoMake ChangeLog merges easier.
Eric Blake [Wed, 16 Apr 2008 20:52:35 +0000 (14:52 -0600)] 
Make ChangeLog merges easier.

* .gitattributes: New file.
* HACKING: Mention how it helps.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoAdd .gitignore files.
Ralf Wildenhues [Tue, 15 Apr 2008 20:09:10 +0000 (22:09 +0200)] 
Add .gitignore files.

* .gitignore, doc/.gitignore, libltdl/.gitignore,
libltdl/config/.gitignore, libltdl/m4/.gitignore,
tests/.gitignore, tests/cdemo/.gitignore,
tests/demo/.gitignore, tests/depdemo/.gitignore,
tests/f77demo/.gitignore, tests/fcdemo/.gitignore,
tests/mdemo/.gitignore, tests/mdemo2/.gitignore,
tests/pdemo/.gitignore, tests/tagdemo/.gitignore:
New files.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoAllow bootstrap from git repository.
Peter O'Gorman [Tue, 15 Apr 2008 20:33:06 +0000 (15:33 -0500)] 
Allow bootstrap from git repository.

* Makefile.am: Pass srcdir as an argument to mkstamp and expect only 2 fields in mkstamps output.
* clcommit.m4sh: Ditto.
* configure.ac: Ditto.
* libltdl/config/mkstamp: return a revision and date based on the number of lines which look like dates in all the ChangeLog* files in the directory we got as arg 1.

17 years agoFix usage of setmode without declaration on cygwin.
Eric Blake [Fri, 11 Apr 2008 17:21:55 +0000 (17:21 +0000)] 
Fix usage of setmode without declaration on cygwin.

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Ensure
setmode has prototype for both mingw and cygwin.

17 years ago* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Move non-XSI
Ralf Wildenhues [Thu, 10 Apr 2008 21:18:02 +0000 (21:18 +0000)] 
* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Move non-XSI
definition of func_dirname_and_basename ...
* libltdl/config/general.m4sh (func_dirname_and_basename):
... here, to use it for the other scripts that use general.m4sh
(and as portable fallback for libtool).  Add marker for early
insertion of generated shell functions (into libtool, not the
other scripts) here.
Use func_dirname_and_basename to compute progname, progpath.
* libltdl/config/ltmain.m4sh (func_mode_help): Remove marker
for insertion of generated shell functions.
* tests/sh.test: Adjust function definition test to not match
function call.

17 years ago* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS) <func_xform>:
Ralf Wildenhues [Thu, 10 Apr 2008 21:01:54 +0000 (21:01 +0000)] 
* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS) <func_xform>:
New function.
* libltdl/config/ltmain.m4sh (func_mode_compile): Use it to
avoid two forks with XSI shells.
* tests/suffix.test: Also test a file with multiple dots.

17 years ago* libltdl/config/ltmain.m4sh (func_win32_libid,
Peter O'Gorman [Thu, 10 Apr 2008 17:43:39 +0000 (17:43 +0000)] 
* libltdl/config/ltmain.m4sh (func_win32_libid,
func_generate_dlsyms, func_extract_an_archive,
func_extract_archives, func_mode_help): move these so they
appear after func_mode_compile.
* tests/nomode.test: Check that --mode=link --help works.
Reported by Josh Triplett <josh@freedesktop.org>

17 years ago* doc/libtool.texi (Libltdl interface): Add missing
Gary V. Vaughan [Tue, 8 Apr 2008 00:48:23 +0000 (00:48 +0000)] 
* doc/libtool.texi (Libltdl interface): Add missing
documentation for lt_dlopenavise.
Reported by Anton Erti <anton@mips.complang.tuwien.ac.at>

Reported by Olly Betts <olly@survex.com>

17 years ago* configure.ac, libltdl/configure.ac (AM_INIT_AUTOMAKE): Use
Gary V. Vaughan [Mon, 7 Apr 2008 14:20:16 +0000 (14:20 +0000)] 
* configure.ac, libltdl/configure.ac (AM_INIT_AUTOMAKE): Use
gnu rather than gnits standards so that version number 2.2.3a
is not rejected!
Repoted by Olly Betts  <olly@survex.com>

17 years ago* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
Gary V. Vaughan [Wed, 2 Apr 2008 01:09:08 +0000 (01:09 +0000)] 
* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.2.3a.

17 years agoGNU Libtool 2.2.2 was released. release-2-2-2 v2.2.2
Gary V. Vaughan [Tue, 1 Apr 2008 23:32:02 +0000 (23:32 +0000)] 
GNU Libtool 2.2.2 was released.

* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.2.2.
* libltdl/Makefile.in (LTDL_VERSION_INFO): C:R+1:A because the
interfaces are unchanged, even though we improved the code some
more.
* NEWS: Updated.

17 years ago* libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
Gary V. Vaughan [Tue, 1 Apr 2008 18:23:20 +0000 (18:23 +0000)] 
* libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
libltdl/m4/ltoptions.m4: Bump serial numbers to account for
changes since 2.2 release.

17 years ago* libltdl/m4/libtool.m4 [_LT_REQUIRED_DARWIN_CHECKS]: Fix the
Peter O'Gorman [Thu, 27 Mar 2008 17:53:46 +0000 (17:53 +0000)] 
* libltdl/m4/libtool.m4 [_LT_REQUIRED_DARWIN_CHECKS]: Fix the
test for -single_module and log it to config.log.
Reported by Torok Edwin and Nigel Home.

17 years agoDocument that disable-static plus -all-static is not portable.
Ralf Wildenhues [Mon, 24 Mar 2008 14:28:43 +0000 (14:28 +0000)] 
Document that disable-static plus -all-static is not portable.
* doc/libtool.texi (Link mode): -all-static does not go well
with disable-static on most systems.
* tests/static.at (static linking flags for programs) [!aix]:
With --disable-static but nonempty link_static_flag, skip the
m-all-static link.  Do not skip it on AIX, as there the
enable_static is self-inflicted, and thus expected to work.
* THANKS: Update.
Report by Nix.

17 years ago* libltdl/m4/libtool.m4 (_LT_CHECK_BUILDDIR): No need to escape
Ralf Wildenhues [Mon, 17 Mar 2008 22:39:05 +0000 (22:39 +0000)] 
* libltdl/m4/libtool.m4 (_LT_CHECK_BUILDDIR): No need to escape
backticks in argument to AC_MSG_WARN or AC_MSG_ERROR.
* libltdl/m4/ltdl.m4 (_LTDL_INSTALLABLE, LTDL_INIT): Likewise.

17 years ago* libltdl/config/ltmain.m4sh (NLS nuisances): Fix quoting of
Ralf Wildenhues [Sun, 16 Mar 2008 08:34:25 +0000 (08:34 +0000)] 
* libltdl/config/ltmain.m4sh (NLS nuisances): Fix quoting of
localization variables for shell-active characters.
* tests/localization.at (localized compiler messages): Extend
test.
* THANKS: Update.
Report by Mike Frysinger.

17 years ago* tests/defs.m4sh (func_get_config): Build egrep regex to speed
Ralf Wildenhues [Sat, 15 Mar 2008 22:06:56 +0000 (22:06 +0000)] 
* tests/defs.m4sh (func_get_config): Build egrep regex to speed
up extracting several variables at once.  Use it to extract all
default variables at once.  Also extract build_alias and
host_alias from the libtool script.
(func_configure_nofail): Use build_alias and host_alias for
--build and --host, respectively.  Pass each if nonempty.
* tests/testsuite.at: Pass --build if build_alias is nonemtpy.
* tests/quote.test: Extract ECHO and wl at once.

17 years ago* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_WIN32_DLL): Require
Ralf Wildenhues [Sat, 15 Mar 2008 22:01:31 +0000 (22:01 +0000)] 
* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_WIN32_DLL): Require
AC_CANONICAL_HOST.
* THANKS: Update.
Report by Jakub Bogusz.

17 years ago* NEWS: Update.
Ralf Wildenhues [Fri, 14 Mar 2008 06:18:07 +0000 (06:18 +0000)] 
* NEWS: Update.