]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
18 years ago* Makefile.am ($(srcdir)/libltdl/Makefile.am): Fixup regex to
Gary V. Vaughan [Mon, 26 Feb 2007 08:40:20 +0000 (08:40 +0000)] 
* Makefile.am ($(srcdir)/libltdl/Makefile.am): Fixup regex to
match Copyright notice change below.

18 years ago* HACKING, Makefile.am, Makefile.maint, bootstrap,
Gary V. Vaughan [Mon, 26 Feb 2007 07:44:25 +0000 (07:44 +0000)] 
* HACKING, Makefile.am, Makefile.maint, bootstrap,
libltdl/Makefile.am, libltdl/Makefile.inc, libltdl/m4/libtool.m4,
ltmain.c, tests/cdemo/Makefile.am, tests/demo/Makefile.am,
tests/depdemo/Makefile.am, tests/depdemo/l1/Makefile.am,
tests/depdemo/l2/Makefile.am, tests/depdemo/l3/Makefile.am,
tests/depdemo/l4/Makefile.am, tests/f77demo/Makefile.am,
tests/fcdemo/Makefile.am, tests/libtoolize.at,
tests/mdemo/Makefile.am, tests/mdemo2/Makefile.am,
tests/pdemo/Makefile.am, tests/tagdemo/Makefile.am: Update
Copyright notice text to include URL for canonical GPL document.

18 years ago* tests/static.at: Forgot to fix PATH for the first
Ralf Wildenhues [Sun, 25 Feb 2007 19:18:35 +0000 (19:18 +0000)] 
* tests/static.at: Forgot to fix PATH for the first
func_test_exec invocation.  So factor out into new functions
func_fix_path and func_restore_path and use those.

18 years ago* README: Document the need for GNU make to build Libtool.
Ralf Wildenhues [Sun, 25 Feb 2007 15:33:24 +0000 (15:33 +0000)] 
* README: Document the need for GNU make to build Libtool.
Point the user to the doc/notes.txt file.  In the examples, use
`gmake' throughout to make it more obvious.  Explain simpler way
to run both testsuites and either one.  Referring to individual
tests needs the `tests/' prefix.
* README.alpha: Likewise.
* doc/notes.texi: Likewise, document need for GNU make.
Comment out the FreeBSD make issue for now.

18 years ago* tests/static.at: Larger rewrite to make work on w32: Use three
Ralf Wildenhues [Sun, 25 Feb 2007 14:50:08 +0000 (14:50 +0000)] 
* tests/static.at: Larger rewrite to make work on w32: Use three
different prefixes instead of three libdirs, so the moving of
the DLLs works as expected.  Adjust all code.  Since now
$libdirI/../bin is distinct from the directory of the installed
program, take care than on w32 PATH contains the needed bindirs,
in appropriate order.
Report by Charles Wilson.

18 years ago* Makefile.am (INSTALLCHECK_ENVIRONMENT): Point LTDLINCL and
Ralf Wildenhues [Sun, 25 Feb 2007 12:25:02 +0000 (12:25 +0000)] 
* Makefile.am (INSTALLCHECK_ENVIRONMENT): Point LTDLINCL and
LIBLTDL to installed libltdl, so that it is being used by
the lt_dlexit test.

18 years ago* doc/libtool.texi (Install mode, libtool script contents):
Ralf Wildenhues [Sat, 24 Feb 2007 16:11:21 +0000 (16:11 +0000)] 
* doc/libtool.texi (Install mode, libtool script contents):
Describe current and system-specific DESTDIR limitations.
* tests/destdir.at: XFAIL if `fast_install' is no.

18 years ago* doc/libtool.texi (LT_INIT): Fix typo.
Ralf Wildenhues [Sat, 24 Feb 2007 16:08:57 +0000 (16:08 +0000)] 
* doc/libtool.texi (LT_INIT): Fix typo.

18 years ago* doc/libtool.texi (Libtool test suite): Mention the new
Ralf Wildenhues [Sat, 24 Feb 2007 16:06:50 +0000 (16:06 +0000)] 
* doc/libtool.texi (Libtool test suite): Mention the new
testsuite.  Point to README rather than INSTALL for testing
instructions.
(Test descriptions): Fix more file names.  Also mention
cdemo-undef.test, mdemo2-conf.test, mdemo2-exec.test,
mdemo2-make.test, objectlist.test, pdemo-conf.test,
pdemo-exec.test, pdemo-inst.test, pdemo-make.test,
tagdemo-conf.test, tagdemo-exec.test, tagdemo-make.test,
tagdemo-static.test, tagdemo-shared.test, tagdemo-undef.test,
f77demo-conf.test, f77demo-exec.test, f77demo-make.test,
f77demo-static.test, f77demo-shared.test, fcdemo-conf.test,
fcdemo-exec.test, fcdemo-make.test, fcdemo-static.test,
fcdemo-shared.test.  Describe what they do.
(When tests fail, Troubleshooting): Mention how to pass options
to the new test suite.
* tests/tagdemo/README: Fix description.

18 years ago* bootstrap: Also set GREP, FGREP, EGREP, LN_S, when creating a
Ralf Wildenhues [Sat, 24 Feb 2007 14:56:18 +0000 (14:56 +0000)] 
* bootstrap: Also set GREP, FGREP, EGREP, LN_S, when creating a
preliminary ltmain.sh script.

18 years ago* doc/libtool.texi (Test descriptions): Track the grand test
Ralf Wildenhues [Sat, 24 Feb 2007 14:49:53 +0000 (14:49 +0000)] 
* doc/libtool.texi (Test descriptions): Track the grand test
suite renaming from 2003-10-14 in the tests documentation.
assign.test is merged into sh.test.  Fix description of sh.test.
* tests/sh.test: Likewise.

18 years ago* doc/libtool.texi (LT_INIT): Fix wording of intro a bit.
Ralf Wildenhues [Sat, 24 Feb 2007 08:52:13 +0000 (08:52 +0000)] 
* doc/libtool.texi (LT_INIT): Fix wording of intro a bit.
<shared, static>: Also describe these default LT_INIT options.
<AC_LIBTOOL_DLOPEN, AC_LIBTOOL_WIN32_DLL>
<AC_DISABLE_FAST_INSTALL>: Mention deprecated macro names,
including the respective LT_INIT replacement.
<AC_DISABLE_SHARED, AC_DISABLE_STATIC, AC_ENABLE_SHARED>
<AC_ENABLE_STATIC>: Document, un-deprecate.  Suggest the
respective LT_INIT replacement.
<AM_DISABLE_SHARED, AM_DISABLE_STATIC, AM_ENABLE_SHARED>
<AM_ENABLE_STATIC>: Document deprecated aliases.
(Distributing libltdl) <AC_WITH_LTDL, AC_LIBLTDL_INSTALLABLE>
<AC_LIBLTDL_CONVENIENCE>: Document deprecated aliases.
* libltdl/m4/ltoptions.m4 (AM_ENABLE_SHARED, AM_DISABLE_SHARED)
(AM_ENABLE_STATIC, AM_DISABLE_STATIC): Make these AU_ALIASes of
the respective AC_* macros, so we do not recommend LT_INIT(*) in
this case.
(AC_ENABLE_SHARED, AC_DISABLE_SHARED, AC_ENABLE_STATIC)
(AC_DISABLE_STATIC): Un-deprecate these.  Remove now-superfluous
aclocal-1.4 backwards compatibility comments.

18 years ago* tests/link-order2.at: Rewrite completely. Do not use `sin'
Ralf Wildenhues [Sat, 24 Feb 2007 08:49:24 +0000 (08:49 +0000)] 
* tests/link-order2.at: Rewrite completely.  Do not use `sin'
from the math library, there are too many problems with this.
Instead, use a self-written library, install it without the
Libtool library file, to emulate a native library in a system
directory, and adjust $shlibpat_var.  Try overriding its symbol.
Further, also try an installed `wrong' binary.
Avoid failing test bits on AIX without runtimelinking and on
Darwin in some cases, SKIP at the end in this case.
Analysis by Peter O'Gorman.

18 years ago* doc/notes.texi: Mention MACOSX_DEPLOYMENT_TARGET issue.
Ralf Wildenhues [Sat, 24 Feb 2007 08:46:19 +0000 (08:46 +0000)] 
* doc/notes.texi: Mention MACOSX_DEPLOYMENT_TARGET issue.
* tests/template.at: Only skip those tests failing on Darwin
if `-flat_namespace' is used by libtool.  In that case, SKIP
at the end.  Analysis by Peter O'Gorman.

18 years agoFix -export-symbols and -export-symbols-regex for links that
Ralf Wildenhues [Fri, 23 Feb 2007 21:52:50 +0000 (21:52 +0000)] 
Fix -export-symbols and -export-symbols-regex for links that
exceed the command line length and use convenience archives.

* libltdl/config/ltmain.m4sh (func_mode_link): Avoid grepping a
nonexistent file if using reloadable objects.  Do not create a
linker script nor a linker input file if no objects are passed.
Apply export_symbols_regex in case the command line length is
exceeded.

18 years ago* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
Ralf Wildenhues [Fri, 23 Feb 2007 21:11:25 +0000 (21:11 +0000)] 
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
<compiler_needs_object>: New tag variable.  Default to `no'.
(_LT_LINKER_SHLIBS) [ linux ]: Set it to yes for Sun C 5.9.
(_LT_LANG_CXX_CONFIG): Also default it to `no'.
[ linux ]: Set it to `yes' for Sun C++ 5.9.
* libltdl/config/ltmain.m4sh (func_mode_link): If we link
no objects but only convenience archives into a library,
force expansion if `compiler_needs_object' is yes.
For creating a linker input filelist due to long cmdline,
extract the first object if `compiler_needs_object' is yes.
* doc/libtool.texi (libtool script contents): Document it.
Fixes test failures of Sun compilers on GNU/Linux.
Report by Terry D. Dontje.

18 years ago* libltdl/config/ltmain.m4sh (func_mode_link): Avoid setting
Ralf Wildenhues [Fri, 23 Feb 2007 20:43:50 +0000 (20:43 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_link): Avoid setting
`$libobjs' to a single space; set it to empty in that case.

18 years ago* libltdl/config/ltmain.m4sh (func_generate_dlsyms) [ osf5 ]:
Ralf Wildenhues [Fri, 23 Feb 2007 19:45:42 +0000 (19:45 +0000)] 
* libltdl/config/ltmain.m4sh (func_generate_dlsyms) [ osf5 ]:
On Tru64 5.1, const relocations do not work well.  Omit the
const here.  Fixes failure of demo-make after demo-shared with
link editor error `seg_info_ptr: Couldnt find a seg type 2'.

18 years ago* Makefile.am (doc_libtool_TEXINFOS): Renamed from...
Ralf Wildenhues [Fri, 23 Feb 2007 18:27:34 +0000 (18:27 +0000)] 
* Makefile.am (doc_libtool_TEXINFOS): Renamed from...
(libtool_TEXINFOS): ...this, to fix dependencies.  Omit from
EXTRA_DIST.
(check-local): Also depend upon $(bin_SCRIPTS).

18 years ago* libltdl/config/general.m4sh (sed_double_backslash): Fix
Ralf Menzel [Fri, 23 Feb 2007 18:18:34 +0000 (18:18 +0000)] 
* libltdl/config/general.m4sh (sed_double_backslash): Fix
hacky sed script to avoid limitations but retain portability to
Solaris /bin/sed.  Remove old obsolete cruft.

18 years ago* libltdl/config/ltmain.m4sh (func_mode_link): Fix the check for
Ralf Wildenhues [Thu, 22 Feb 2007 19:53:14 +0000 (19:53 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_link): Fix the check for
convenience archives when warning about linking against static
libraries: test against $deplib rather than empty $lib.

18 years ago* libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Fix detection of new enough
Ralf Wildenhues [Mon, 19 Feb 2007 09:10:32 +0000 (09:10 +0000)] 
* libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Fix detection of new enough
libltdl by actually checking for the declaration of
lt_dlinterface_register in ltdl.h with AC_CHECK_DECL.
Remove redundant configure output line.

18 years ago* tests/template.at: Reformat, add M4 quoting. Use $LDFLAGS
Ralf Wildenhues [Mon, 19 Feb 2007 08:57:07 +0000 (08:57 +0000)] 
* tests/template.at: Reformat, add M4 quoting.  Use $LDFLAGS
consistently for link mode.

18 years ago* tests/static.at: Use the right names for the broken libs.
Ralf Wildenhues [Sun, 18 Feb 2007 15:07:41 +0000 (15:07 +0000)] 
* tests/static.at: Use the right names for the broken libs.

18 years ago* tests/deplibs-ident.at [aix, hppa*-*-hpux*, interix, openbsd]:
Ralf Wildenhues [Sat, 17 Feb 2007 15:21:36 +0000 (15:21 +0000)] 
* tests/deplibs-ident.at [aix, hppa*-*-hpux*, interix, openbsd]:
Do not XFAIL, on these systems we happen to pass.
* tests/duplicate_deps.at [aix]: Likewise.

18 years ago* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux |
Ralf Wildenhues [Sat, 17 Feb 2007 15:15:23 +0000 (15:15 +0000)] 
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux |
k*bsd*-gnu ]: Fix eval quoting in the DT_RUNPATH test.

18 years ago* HACKING: Update.
Ralf Wildenhues [Sat, 17 Feb 2007 09:59:05 +0000 (09:59 +0000)] 
* HACKING: Update.

18 years ago* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ linux ]
Ralf Wildenhues [Sat, 17 Feb 2007 08:22:59 +0000 (08:22 +0000)] 
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ linux ]
<whole_archive_flag_spec>: For Sun C/C++ 5.9, do not add
/dev/null as dummy object, it fails with GNU ld version
2.16.91.0.7-amd-sles9.  Report by Terry D. Dontje.
* THANKS: Update.

18 years ago* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ osf4, osf5 ]
Ralf Wildenhues [Wed, 14 Feb 2007 18:55:24 +0000 (18:55 +0000)] 
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ osf4, osf5 ]
<archive_expsym_cmds>: Use `${wl}-input' not `-input', for
cc.  Could use `-input_to_ld'.
(_LT_LANG_CXX_CONFIG) [ osf4, osf5 ] <archive_expsym_cmds>:
Use `${wl}' instead of `-Wl,', for consistency.

18 years agoFix spurious testsuite failures on AIX due on NFS mounts due to
Ralf Wildenhues [Mon, 12 Feb 2007 22:29:05 +0000 (22:29 +0000)] 
Fix spurious testsuite failures on AIX due on NFS mounts due to
shared library images that cannot be removed without `slibclean'
which needs superuser privileges.

* tests/testsuite.at (PREPARE_TESTS): Define $mkdir_p globally.
(LT_AT_MVDIR): New macro to emulate `mv dir dest'.
* tests/destdir.at: Use LT_AT_MVDIR.
* tests/shlibpath.at: Likewise.
* tests/static.at: Likewise.

18 years ago* tests/export.at: Exporting is not fully functional with
Ralf Wildenhues [Mon, 12 Feb 2007 20:50:36 +0000 (20:50 +0000)] 
* tests/export.at: Exporting is not fully functional with
-retain-symbols-file.  Do not test for failure to link `broken'
in this case.  At the end of the test, SKIP if we are not fully
functional.

18 years ago* tests/lt_dlexit.at: Add casts and `extern "C"' to let the test
Ralf Wildenhues [Mon, 12 Feb 2007 20:10:00 +0000 (20:10 +0000)] 
* tests/lt_dlexit.at: Add casts and `extern "C"' to let the test
pass with a C++ compiler.

18 years ago* libltdl/config/ltmain.m4sh: Remove duplicate marker for
Ralf Wildenhues [Mon, 12 Feb 2007 19:57:24 +0000 (19:57 +0000)] 
* libltdl/config/ltmain.m4sh: Remove duplicate marker for
generated shell functions.

18 years ago* tests/testsuite.at (LT_AT_NOINST_EXEC_CHECK): New macro, like
Ralf Wildenhues [Mon, 12 Feb 2007 19:55:02 +0000 (19:55 +0000)] 
* tests/testsuite.at (LT_AT_NOINST_EXEC_CHECK): New macro, like
LT_AT_EXEC_CHECK but uses `$LIBTOOL --mode=execute' and allows
to pass `-dlopen MODULE' arguments.
* tests/lt_dlexit.at: Use it.  Also, do not test `-dlpreopen',
that currently needs library names to begin with `lib'.

18 years ago* tests/export.at: New test: expose -export-symbols failure
Ralf Wildenhues [Sun, 11 Feb 2007 16:47:53 +0000 (16:47 +0000)] 
* tests/export.at: New test: expose -export-symbols failure
when the input consists solely of convenience archives, and
failure to not export all symbols when the command line length
is exceeded.
* Makefile.am: Adjust.

18 years ago* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): New substituted
Ralf Wildenhues [Sun, 11 Feb 2007 16:22:42 +0000 (16:22 +0000)] 
* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): New substituted
function `func_lo2o', saving two fork&exec with XSI shells.
* libltdl/config/ltmain.m4sh (func_mode_compile)
(func_mode_install, func_mode_link): Use it for rewrites of
single files.

18 years ago* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): New function
Ralf Wildenhues [Sun, 11 Feb 2007 16:19:09 +0000 (16:19 +0000)] 
* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): New function
func_opt_split, for XSI and portable shell.
* libltdl/config/ltmain.m4sh: Move the insertion point for the
configure-generated shell functions to before the first option
parsing loop.  Rewrite the separation of the long options to use
func_opt_split.

18 years agoEliminate roughly a third of the script execution time overhead
Ralf Wildenhues [Sun, 11 Feb 2007 16:16:38 +0000 (16:16 +0000)] 
Eliminate roughly a third of the script execution time overhead
for all modes except for link/relink and uninstall/clean.

* libltdl/m4/libtool.m4 (_LT_CONFIG): Remove unused `TEST SUITE
MARKER', obsolete since 2005-04-17.
* libltdl/config/ltmain.m4sh: Likewise, several instances.
(Main): Tear apart, moving individual bits up as early in the
script as possible, to help the shell to avoid parsing the rest.

18 years ago* doc/libtool.texi: Update copyright years.
Ralf Wildenhues [Sun, 11 Feb 2007 11:11:05 +0000 (11:11 +0000)] 
* doc/libtool.texi: Update copyright years.

18 years ago* libltdl/config/general.m4sh (sed_double_backslash): Replace
Ralf Wildenhues [Sun, 11 Feb 2007 11:07:08 +0000 (11:07 +0000)] 
* libltdl/config/general.m4sh (sed_double_backslash): Replace
POSIX sed script with a hack that treats up to 10 backslashes
in the input correctly and is portable to Solaris /bin/sed.

19 years ago* tests/testsuite.at (LT_AT_TAG): Skip also if the compiler
Ralf Wildenhues [Thu, 8 Feb 2007 18:58:16 +0000 (18:58 +0000)] 
* tests/testsuite.at (LT_AT_TAG): Skip also if the compiler
variable is set to `no', not only if it is empty.

19 years ago* tests/lt_dlexit.at: Do not compile main object with libtool.
Ralf Wildenhues [Tue, 6 Feb 2007 23:27:09 +0000 (23:27 +0000)] 
* tests/lt_dlexit.at: Do not compile main object with libtool.

19 years ago* tests/cmdline_wrap.at: Pass $abs_top_srcdir and $abs_builddir
Ralf Wildenhues [Tue, 6 Feb 2007 19:21:29 +0000 (19:21 +0000)] 
* tests/cmdline_wrap.at: Pass $abs_top_srcdir and $abs_builddir
to inner testsuite.

19 years ago* Makefile.am (TESTSUITE_AT): Move destdir.at after
Ralf Wildenhues [Tue, 6 Feb 2007 19:19:45 +0000 (19:19 +0000)] 
* Makefile.am (TESTSUITE_AT): Move destdir.at after
search-path.at so the banners fit better.

19 years ago* tests/convenience.at: Use $CPPFLAGS for compilation.
Ralf Wildenhues [Tue, 6 Feb 2007 19:02:27 +0000 (19:02 +0000)] 
* tests/convenience.at: Use $CPPFLAGS for compilation.
* tests/deplibs-ident.at: Likewise.
* tests/duplicate_members.at: Likewise.
* tests/inherited_flags.at: Likewise.
* tests/link-order.at: Likewise.
* tests/stresstest.at: Likewise.
* tests/early-libtool.at: Likewise.  Do not quote $CC.

19 years ago* libltdl/ltdl.c (lt_dlexit): Add casts to fix compilation with
Ralf Wildenhues [Tue, 6 Feb 2007 19:00:50 +0000 (19:00 +0000)] 
* libltdl/ltdl.c (lt_dlexit): Add casts to fix compilation with
C++ compiler again.

19 years ago* tests/destdir.at: Add `libtool' keyword to tests.
Ralf Wildenhues [Tue, 6 Feb 2007 18:56:57 +0000 (18:56 +0000)] 
* tests/destdir.at: Add `libtool' keyword to tests.

19 years ago* libltdl/m4/libtool.m4 (_LT_COMPILER_BOILERPLATE)
Ralf Wildenhues [Mon, 5 Feb 2007 19:40:18 +0000 (19:40 +0000)] 
* libltdl/m4/libtool.m4 (_LT_COMPILER_BOILERPLATE)
(_LT_LINKER_BOILERPLATE, _LT_SYS_MODULE_PATH_AIX)
(_LT_COMPILER_C_O): Require _LT_DECL_SED.
* THANKS: Update.
Report by Maciej W. Rozycki.

19 years ago* tests/lt_dlexit.at: Use $abs_top_srcdir, not $top_srcdir,
Ralf Wildenhues [Mon, 29 Jan 2007 21:59:58 +0000 (21:59 +0000)] 
* tests/lt_dlexit.at: Use $abs_top_srcdir, not $top_srcdir,
in the new testsuite.

19 years ago* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ gnu ]
Samuel Thibault [Mon, 29 Jan 2007 19:51:19 +0000 (19:51 +0000)] 
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ gnu ]
<archive_expsym_cmds>: Behave like Linux, so that
--version-script is used for Hurd as well.

19 years ago* NEWS: Update for Cygwin changes.
Charles Wilson [Sun, 28 Jan 2007 20:23:57 +0000 (20:23 +0000)] 
* NEWS: Update for Cygwin changes.

19 years ago* libltdl/config/ltmain.m4sh [darwin]: Use otool64 if otool fails.
Brian W. Barrett [Sun, 28 Jan 2007 15:13:25 +0000 (15:13 +0000)] 
* libltdl/config/ltmain.m4sh [darwin]: Use otool64 if otool fails.

19 years ago* libltdl/ltdl.c (lt_dlexit): Make sure that 'cur' is not NULL
Dave Brolley [Sun, 28 Jan 2007 14:55:01 +0000 (14:55 +0000)] 
* libltdl/ltdl.c (lt_dlexit): Make sure that 'cur' is not NULL
before checking that it is still in the list.
* tests/lt_dlexit.at: New test.
* Makefile.am (TESTSUITE_AT): Adjust.
(check-local): Also depend on libltdl/libltdlc.la.
(check-recursive): Removed, unnecessary use of Automake
internals.

19 years ago* libltdl/config/ltmain.m4sh (func_mode_link): Pass through
Mike Frysinger [Sun, 28 Jan 2007 14:18:59 +0000 (14:18 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_link): Pass through
`-p' and `-fprofile-*' for GCC.

19 years ago* libltdl/libltdl/lt_system.h: Adjust copyright years.
Ralf Wildenhues [Sun, 28 Jan 2007 13:40:25 +0000 (13:40 +0000)] 
* libltdl/libltdl/lt_system.h: Adjust copyright years.

19 years ago* libltdl/libltdl/lt__private.h (LT_GLOBAL_DATA) [__CYGWIN__]:
Charles Wilson [Sun, 28 Jan 2007 13:33:27 +0000 (13:33 +0000)] 
* libltdl/libltdl/lt__private.h (LT_GLOBAL_DATA) [__CYGWIN__]:
Also define on Cygwin.
* libltdl/libltdl/lt_system.h (LT_SCOPE) [__CYGWIN__]: Likewise.

19 years ago* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ cygwin, mingw ]
Ralf Wildenhues [Sun, 28 Jan 2007 13:03:47 +0000 (13:03 +0000)] 
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ cygwin, mingw ]
<export_symbols_cmds>: Avoid shell expansion of '/s/.*' through
double expansion, in case there is a 'S:' drive.
Report by Charles Wilson.

19 years agoIntroduce a new test keyword `recursive' for tests that create a
Ralf Wildenhues [Sun, 28 Jan 2007 12:43:37 +0000 (12:43 +0000)] 
Introduce a new test keyword `recursive' for tests that create a
modified `libtool' script and run the suite on this script.  All
tests with the keyword `libtool' are (by definition) suitable to
be used here.

* tests/cmdline_wrap.at: New test.
* Makefile.am: Adjust.
* tests/testsuite.at (LT_ESCAPE): New macro: clone of Autoconf
AS_ESCAPE that does not escape `$'.
(LT_AT_CHECK): New macro: print a command-to-be-run while
expanding parameters but nothing else.
* tests/stresstest.at: Use LT_AT_CHECK.  Create some files to
expose erroneous globbing errors with `-export-symbols-regex',
similar to those reported by Charles Wilson.  Use `eval' and
adjusted quoting so the expansion doesn't already happen in the
testsuite commands.
* HACKING: Update.

19 years agoAssume C89 for included headers, and throughout the testsuite.
Ralf Wildenhues [Sat, 27 Jan 2007 16:45:40 +0000 (16:45 +0000)] 
Assume C89 for included headers, and throughout the testsuite.

* NEWS: Update.
* libltdl/argz.c: Do not include strings.h nor memory.h, include
string.h unconditionally.
Patch by Simon Josefsson <jas@extundo.com>.
* libltdl/libltdl/lt__private.h: Likewise.
* libltdl/m4/ltdl.m4 (LTDL_INIT): Do not check for string.h,
strings.h, memory.h.
* tests/cdemo/configure.ac: Assume presence of math.h.
* tests/cdemo/foo.c: Likewise.
* tests/demo/configure.ac: Likewise for math.h, string.h.
Assume 'const'.  Drop obsolete AC_EXEEXT.
* tests/demo/dlmain.c: Likewise.
* tests/demo/foo.c: Likewise.
* tests/depdemo/configure.ac: Likewise.
* tests/depdemo/l4/l4.c: Likewise.
* tests/f77demo/configure.ac: Likewise.  Also drop obsolete
AC_OBJEXT.
* tests/fcdemo/configure.ac: Likewise.
* tests/mdemo/configure.ac: Likewise.
* tests/mdemo/foo1.c: Likewise.
* tests/mdemo/foo2.c: Likewise.
* tests/mdemo2/configure.ac: Likewise.
* tests/pdemo/configure.ac: Likewise.
* tests/pdemo/longer_file_name_dlmain.c:
* tests/pdemo/longer_file_name_foo.c: Likewise.
* tests/pdemo/longer_file_name_foo2.c: Likewise.
* tests/tagdemo/configure.ac: Likewise.
* tests/tagdemo/foo.cpp: Likewise.

19 years ago* doc/libtool.texi (Inter-library dependencies): Fix typo.
Reuben Thomas [Tue, 23 Jan 2007 23:48:55 +0000 (23:48 +0000)] 
* doc/libtool.texi (Inter-library dependencies): Fix typo.

19 years ago* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin, mingw]:
Ralf Wildenhues [Sun, 21 Jan 2007 16:15:36 +0000 (16:15 +0000)] 
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin, mingw]:
Use `lib -OUT' rather than `lib /OUT' to avoid MSYS path
translation mangling.  Report by Christopher Hulbert.
* THANKS: Update.

19 years ago* libltdl/config/ltmain.m4sh (func_mode_compile): Accept
Ralf Wildenhues [Sun, 21 Jan 2007 14:57:58 +0000 (14:57 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_compile): Accept
suffixes matching `[fF][09].', for Fortran.
* tests/suffix.test: Also test F90, F95, f03, F03.

19 years ago* Makefile.am (EXTRA_DIST): Add ChangeLog.2006.
Ralf Wildenhues [Sun, 21 Jan 2007 14:42:58 +0000 (14:42 +0000)] 
* Makefile.am (EXTRA_DIST): Add ChangeLog.2006.
* ChangeLog.2006: New, rotated, from..
* ChangeLog: ..here.

19 years ago* doc/libtool.texi: Typo fixes.
Ralf Wildenhues [Sun, 21 Jan 2007 14:34:01 +0000 (14:34 +0000)] 
* doc/libtool.texi: Typo fixes.
* TODO: Likewise.

19 years ago* tests/link-order2.at: Define our override `sin' function with
Ralf Wildenhues [Thu, 14 Dec 2006 20:59:26 +0000 (20:59 +0000)] 
* tests/link-order2.at: Define our override `sin' function with
C binding even if $CC is a C++ compiler.  Skip the test with g++
as its command line driver reorders `-lm'.
* tests/search-path.at: Declare `inflate' with C binding.
* tests/stresstest.at: Avoid unused variable warnings.

19 years ago* tests/link-order2.at: Simplify logic to be a bit more self
Ralf Wildenhues [Tue, 7 Nov 2006 17:53:22 +0000 (17:53 +0000)] 
* tests/link-order2.at: Simplify logic to be a bit more self
documenting.  Suggested by Gary V. Vaughan.

19 years ago* tests/link-order2.at: Add missing $bindir setting. Prevent
Ralf Wildenhues [Fri, 27 Oct 2006 22:57:00 +0000 (22:57 +0000)] 
* tests/link-order2.at: Add missing $bindir setting.  Prevent
compiler optimization of sqrt call.  Fix logic inversion and
add some comments about this stunt.  Add a test with reversed
library link order that should fail if the system has a libm.
Report by Patrick Welche.

19 years agoAssume presence of a config header in all files, to provoke
Ralf Wildenhues [Thu, 26 Oct 2006 20:39:04 +0000 (20:39 +0000)] 
Assume presence of a config header in all files, to provoke
test failures on all systems.
* libltdl/lt__alloc.c: Likewise.
* libltdl/libltdl/lt__dirent.h: Likewise.
* libltdl/libltdl/lt__glibc.h: Likewise.
* libltdl/libltdl/lt__private.h: Likewise.
* libltdl/libltdl/lt__strl.h: Likewise.
* tests/recursive.at: Use AC_CONFIG_HEADERS.
* tests/nonrecursive.at: Likewise.  Invoke autoheader.
* HACKING: Adjust.
Report by Patrick Welche.

19 years ago* doc/libtool.texi (Distributing libltdl): In recursive and
Paul Eggert [Tue, 24 Oct 2006 20:33:38 +0000 (20:33 +0000)] 
* doc/libtool.texi (Distributing libltdl): In recursive and
nonrecursive mode, a config header is now required.
* libltdl/argz.c: Remove check for HAVE_CONFIG_H, to conform
to gnulib's policy of including config.h unconditionally.

19 years ago* tests/link-order2.at: New test to show one case where ordering
Ralf Wildenhues [Tue, 24 Oct 2006 20:30:05 +0000 (20:30 +0000)] 
* tests/link-order2.at: New test to show one case where ordering
of depdepls on the command line matters.
* Makefile.am: Adjust.

19 years ago* tests/tagtrace.test: SKIP if `autoconf --trace' exits 63 or 1,
Ralf Wildenhues [Tue, 24 Oct 2006 20:25:36 +0000 (20:25 +0000)] 
* tests/tagtrace.test: SKIP if `autoconf --trace' exits 63 or 1,
for various possible (valid) error cases.  Also output stderr,
to help with analysis.

19 years ago* NEWS: Account for recent multilib fix.
Ralf Wildenhues [Tue, 24 Oct 2006 20:17:38 +0000 (20:17 +0000)] 
* NEWS: Account for recent multilib fix.
* tests/search-path.at: New test, to provide at least a weak
test.
* Makefile.am: Update.

19 years ago* libtoolize.m4sh (func_fixup_Makefile): Fix missing
Ralf Wildenhues [Tue, 24 Oct 2006 20:07:35 +0000 (20:07 +0000)] 
* libtoolize.m4sh (func_fixup_Makefile): Fix missing
substitution for nonrecursive mode.  Remove otherwise-empty
continuation lines in the output file.
Report by Bob Friesenhahn.

19 years ago* libltdl/config/ltmain.m4sh: Add -F* to flags that are passed
Peter O'Gorman [Sun, 22 Oct 2006 14:10:33 +0000 (14:10 +0000)] 
* libltdl/config/ltmain.m4sh: Add -F* to flags that are passed
to the linker.
Reported by SIGOURE Benoit <sigoure.benoit@lrde.epita.fr>

19 years ago* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Improve
Peter O'Gorman [Thu, 19 Oct 2006 05:06:14 +0000 (05:06 +0000)] 
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Improve
multilib support.
Reported by Kate Minola <kate01123@gmail.com> and others.

19 years ago* libltdl/ltdl.c (load_deplibs): Avoid memory leak on failure.
Eric Blake [Fri, 13 Oct 2006 14:11:18 +0000 (14:11 +0000)] 
* libltdl/ltdl.c (load_deplibs): Avoid memory leak on failure.
(unload_deplibs): Avoid memory leak on cleanup.

19 years ago* libltdl/m4/libtool.m4 (func_mode_compile): Accept files with
Ralf Wildenhues [Wed, 20 Sep 2006 19:08:22 +0000 (19:08 +0000)] 
* libltdl/m4/libtool.m4 (func_mode_compile): Accept files with
extension `.f9?'.
* tests/suffix.test: Test `f95'.

19 years ago* libltdl/config/ltmain.m4sh (func_mode_uninstall): Use
Ralf Wildenhues [Wed, 20 Sep 2006 18:15:06 +0000 (18:15 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_uninstall): Use
`func_source' consistently.

19 years ago* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
Ralf Wildenhues [Mon, 18 Sep 2006 05:49:39 +0000 (05:49 +0000)] 
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
[k*bsd*-gnu ]: Fix brown paper bag: save and restore `libdir'.

19 years ago* tests/duplicate_deps.at: New file. Test circular depending
Ralf Wildenhues [Sun, 17 Sep 2006 20:02:15 +0000 (20:02 +0000)] 
* tests/duplicate_deps.at: New file.  Test circular depending
convenience archives (currently failing).
* Makefile.am: Update.
Report by Stefan Traby <stefan@hello-penguin.com>.

19 years ago* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
Ralf Wildenhues [Sun, 17 Sep 2006 19:30:15 +0000 (19:30 +0000)] 
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
[ openbsd ]: Set `hardcode_direct_absolute', to prefer rpath
over putting absolute file names in NEEDED entries.
* NEWS: Update.
Reported by Jake Meuser and others.

19 years ago* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
Ralf Wildenhues [Sun, 17 Sep 2006 19:27:14 +0000 (19:27 +0000)] 
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
[ k*bsd*-gnu ]: Test if ld sets DT_RUNPATH; in that case, set
shlib_overrides_runpath to `yes'.  Fixes test failure of new
test on Gentoo GNU/Linux.

19 years ago* tests/shlibpath.at: New file, with...
Ralf Wildenhues [Sun, 17 Sep 2006 19:26:28 +0000 (19:26 +0000)] 
* tests/shlibpath.at: New file, with...
(shlibpath_overrides_runpath): ...new test.
* Makefile.am: Update.

19 years ago* tests/destdir.at: New file.
Ralf Wildenhues [Tue, 12 Sep 2006 18:02:32 +0000 (18:02 +0000)] 
* tests/destdir.at: New file.
* Makefile.am: Adjust.

19 years ago* tests/inherited_flags.at: Drop `${parameter}' for `$parameter'
Ralf Wildenhues [Mon, 11 Sep 2006 21:35:25 +0000 (21:35 +0000)] 
* tests/inherited_flags.at: Drop `${parameter}' for `$parameter'
where appropriate, for improved `testsuite -x' output.

19 years ago* libltdl/ltdl.c: Move LT__UNUSED before parameter name, for g++
Ralf Wildenhues [Mon, 4 Sep 2006 17:43:37 +0000 (17:43 +0000)] 
* libltdl/ltdl.c: Move LT__UNUSED before parameter name, for g++
3.2.3 (on MinGW).
* libltdl/loaders/dld_link.c, libltdl/loaders/dlopen.c,
libltdl/loaders/load_add_on.c, libltdl/loaders/loadlibrary.c,
libltdl/loaders/preopen.c, libltdl/loaders/shl_load.c: Likewise.

19 years agoMake libltdl work when compiled with a C++ compiler.
George Bosilca [Mon, 4 Sep 2006 17:27:27 +0000 (17:27 +0000)] 
Make libltdl work when compiled with a C++ compiler.

* libltdl/lt__alloc.c, libltdl/lt_dlloader.c, libltdl/ltdl.c,
libltdl/slist.c, libltdl/libltdl/lt__alloc.h,
libltdl/libltdl/lt_error.h, libltdl/libltdl/slist.h,
libltdl/loaders/dld_link.c, libltdl/loaders/dlopen.c,
libltdl/loaders/dyld.c, libltdl/loaders/load_add_on.c,
libltdl/loaders/loadlibrary.c, libltdl/loaders/preopen.c,
libltdl/loaders/shl_load.c, tests/stresstest.at,
tests/testsuite.at, tests/f77demo/foo.h, tests/fcdemo/foo.h,
tests/mdemo/foo.h, tests/mdemo/foo1.c, tests/mdemo/foo2.c,
tests/mdemo/main.c: Allow sources to be compiled by a C++
compiler: Cast appropriately, add C linkage for `get_vtable'
functions, do not use C++ keyword `delete'.

19 years ago* libltdl/config/ltmain.m4sh (func_mode_link): In the dlsym
George Bosilca [Mon, 4 Sep 2006 17:25:15 +0000 (17:25 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_link): In the dlsym
file, define a type for the symbol list, and declare the list
`extern', so that it is extern even if compiled by a C++
compiler.  The type definition helps avoid a compiler warning
against anonymous extern struct.
* libltdl/libltdl/lt_system.h: Add `extern' to `LT_SCOPE' for
the same reason.

19 years ago* libltdl/argz_.h: It's __cplusplus, not _cplusplus.
George Bosilca [Mon, 4 Sep 2006 17:23:30 +0000 (17:23 +0000)] 
* libltdl/argz_.h: It's __cplusplus, not _cplusplus.
* libltdl/libltdl/slist.h: Likewise.

19 years ago* libltdl/libltdl/lt__glibc.h: Wrap included argz.h in
George Bosilca [Mon, 4 Sep 2006 17:21:35 +0000 (17:21 +0000)] 
* libltdl/libltdl/lt__glibc.h: Wrap included argz.h in
`extern "C"', for broken headers on Cygwin.

19 years ago* tests/testsuite.at: Test `unset' on a set variable; older
Ralf Wildenhues [Sun, 3 Sep 2006 15:19:38 +0000 (15:19 +0000)] 
* tests/testsuite.at: Test `unset' on a set variable; older
bash versions return 1 if the variable was not set.

19 years ago* tests/am-subdir.at, tests/early-libtool.at: Fix the LF vs.
Ralf Wildenhues [Sun, 3 Sep 2006 15:08:12 +0000 (15:08 +0000)] 
* tests/am-subdir.at, tests/early-libtool.at: Fix the LF vs.
CRLF related failures on MinGW by grepping for good output
instead of using AT_CHECK's `expout'.

19 years agoDrop K&R support from testsuite in favor of C89.
Ralf Wildenhues [Fri, 1 Sep 2006 16:19:56 +0000 (16:19 +0000)] 
Drop K&R support from testsuite in favor of C89.

* tests/duplicate_members.at: provide declarations of used
functions.
* tests/testsuite.at: Drop unneeded arguments.
* tests/cdemo/main.c: Assume C89.
* tests/demo/dlmain.c: Likewise.
* tests/demo/main.c: Likewise.
* tests/depdemo/main.c: Likewise.
* tests/depdemo/l1/l1.c: Likewise.
* tests/depdemo/l2/l2.c: Likewise.
* tests/depdemo/l3/l3.c: Likewise.
* tests/depdemo/l4/l4.c: Likewise.
* tests/f77demo/cprogram.c: Likewise.
* tests/fcdemo/cprogram.c: Likewise.
* tests/mdemo/mlib.c: Likewise.
* tests/mdemo2/main.c: Likewise.
* tests/pdemo/longer_file_name_dlmain.c: Likewise.
* tests/pdemo/longer_file_name_main.c: Likewise.
* tests/fcdemo/fooc.c: Reformat.
* tests/mdemo/sub.c: Likewise.

19 years ago* tests/mdemo/main.c: Fix bogus line in last patch.
Ralf Wildenhues [Thu, 31 Aug 2006 06:20:15 +0000 (06:20 +0000)] 
* tests/mdemo/main.c: Fix bogus line in last patch.

19 years agoAvoid mixing functions and data pointers in callback functions.
Ralf Wildenhues [Thu, 31 Aug 2006 05:34:01 +0000 (05:34 +0000)] 
Avoid mixing functions and data pointers in callback functions.

* libltdl/ltdl.c (file_worker_func): New type.
(lt_dlforeachfile): Instead of passing a function pointer as a
data pointer, pass a pointer to a file_worker_func pointer.
(foreach_callback_func): Adjust.
* tests/mdemo/main.c: Assume C89. Exercise lt_dlforeachfile.
(callback, try_iterate, my_dirname): New functions.
* tests/mdemo-exec.test: Check for its output.

19 years ago* libltdl/libltdl/lt__private.h (__attribute__, LT__UNUSED):
Ralf Wildenhues [Wed, 30 Aug 2006 04:14:21 +0000 (04:14 +0000)] 
* libltdl/libltdl/lt__private.h (__attribute__, LT__UNUSED):
New macros.
* libltdl/loaders/dld_link.c: Use LT__UNUSED where
appropriate.
* libltdl/loaders/dlopen.c, libltdl/loaders/load_add_on.c,
libltdl/loaders/loadlibrary.c, libltdl/loaders/preopen.c,
libltdl/loaders/shl_load.c: Likewise.
* libltdl/ltdl.c: Likewise.
(find_file_callback): Fix declaration names to match definition.
(load_deplibs) [!LTDL_DLOPEN_DEPLIBS]: Use separate definition
for less preprocessor clutter.

19 years ago* Makefile.am (check-local, installcheck-local): Use
Ralf Wildenhues [Wed, 30 Aug 2006 03:18:15 +0000 (03:18 +0000)] 
* Makefile.am (check-local, installcheck-local): Use
`TESTSUITEFLAGS' rather than `TESTSUITE_FLAGS', like Autoconf.
* HACKING, README, README.alpha: All uses changed.

19 years ago* libltdl/argz.c: Use `#ifdef HAVE_CONFIG_H', to facilitate code
Ralf Wildenhues [Mon, 28 Aug 2006 16:02:14 +0000 (16:02 +0000)] 
* libltdl/argz.c: Use `#ifdef HAVE_CONFIG_H', to facilitate code
sharing with gnulib.  Report by Eric Blake.
* libltdl/lt__alloc.c, libltdl/libltdl/lt__dirent.h,
libltdl/libltdl/lt__glibc.h, libltdl/libltdl/lt__private.h,
libltdl/libltdl/lt__strl.h: Likewise.
* HACKING: Update.

19 years ago* libltdl/config/ltmain.m4sh (func_mode_link): Pass through
Ralf Wildenhues [Fri, 25 Aug 2006 15:08:14 +0000 (15:08 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_link): Pass through
`--coverage' and `-pg', for GCC.  Report by Rainer Keller
<keller@hlrs.de> and Tor Lillqvist <tml@iki.fi>.

19 years ago* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
Kurt Roeckx [Fri, 25 Aug 2006 15:04:30 +0000 (15:04 +0000)] 
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [k*bsd*-gnu]: kfreebsd*-gnu and
knetbsd*-gnu behave like linux-gnu.
* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
* libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK)
[x86_64-*kfreebsd*-gnu]: Add 32/64 bit bi-arch support.
* NEWS: Update.