libtool/tests
Gary V. Vaughan 55262b6fe4 tests: always extract only the first AC_CONFIG_MACRO_DIR arg.
Previous releases of libtoolize used the final invocation when
there were several, and after the rewrite over extract-trace,
all the invocation directories were concatenated.  This change
enforces correct and consistent behaviour.
* tests/libtoolize.at (multiple AC_CONFIG_MACRO_DIR invocation):
New test.
* build-aux/extract-trace (func_extract_trace_first): New function
for clients that source this file, which returns only the first
argument to the first invocation of the named macros.
* libtoolize.in (func_require_ac_macro_dir): Use it to make sure
the first argument is always used.
(func_require_ac_aux_dir, func_require_ac_ltdl_dir)
(func_require_ac_ltdl_options): Future proof these functions against
multiple invocations or additional arguments to the macros they
trace.
* News (Important incompatible changes): Note change in semantics.
Reported by Eric Blake.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2012-10-19 14:24:21 +07:00
..
.gitignore git: don't complain about new parallel tests driver and file droppings. 2012-10-02 21:05:28 +07:00
am-subdir.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
archive-in-archive.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
bindir.at libtool: rewritten over funclib.sh instead of general.m4sh. 2012-10-12 20:18:29 +07:00
cdemo.at tests: fix line ending problems on MinGW 2012-10-05 21:31:33 +02:00
cmdline_wrap.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
configure-iface.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
convenience.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
ctor.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
cwrapper.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
darwin.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
demo.at tests: fix line ending problems on MinGW 2012-10-05 21:31:33 +02:00
depdemo.at tests: fix line ending problems on MinGW 2012-10-05 21:31:33 +02:00
deplib-in-subdir.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
deplibs-ident.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
deplibs-mingw.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
destdir.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
dlloader-api.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
dumpbin-symbols.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
duplicate_conv.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
duplicate_deps.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
duplicate_members.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
early-libtool.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
exceptions.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
execute-mode.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
exeext.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
export.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
f77demo.at tests: allow for unstable fortran output ordering. 2012-10-06 11:51:23 +07:00
fail.at tests: simplify some shell code. 2012-10-02 21:08:04 +07:00
fcdemo.at tests: allow for unstable fortran output ordering. 2012-10-06 11:51:23 +07:00
flags.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
help.at libtool: rewritten over funclib.sh instead of general.m4sh. 2012-10-12 20:18:29 +07:00
indirect_deps.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
infer-tag.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
inherited_flags.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
install.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
lalib-syntax.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
libtool.at tests: use dry runs in both parts of 'check link mode operation' 2012-10-07 00:57:10 +02:00
libtoolize.at tests: always extract only the first AC_CONFIG_MACRO_DIR arg. 2012-10-19 14:24:21 +07:00
link-order2.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
link-order.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
loadlibrary.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
localization.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
lt_dladvise.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
lt_dlexit.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
lt_dlopen_a.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
lt_dlopen.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
lt_dlopenext.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
ltdl-api.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
ltdl-libdir.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
mdemo.at libtool: rewritten over funclib.sh instead of general.m4sh. 2012-10-12 20:18:29 +07:00
need_lib_prefix.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
no-executables.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
nocase.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
nonrecursive.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
old-ltdl-iface.at libtoolize: rewritten over funclib.sh instead of general.m4sh. 2012-10-12 20:18:29 +07:00
old-m4-iface.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
pic_flag.at tests: let pic_flag and with-pic Autotests work on non-VPATH builds. 2012-10-04 20:11:06 +07:00
recursive.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
resident.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
runpath-in-lalib.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
search-path.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
shlibpath.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
slist.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
standalone.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
static.at tests: simplify some shell code. 2012-10-02 21:08:04 +07:00
stresstest.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
subproject.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
sysroot.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
tagdemo.at tests: fix line ending problems on MinGW 2012-10-05 21:31:33 +02:00
template.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
testsuite.at tests: make LT_AT_HOST_DATA retain whitespace on MinGW 2012-10-05 21:43:45 +02:00
TODO
versioning.at maint: run update-copyright for missing 2011 and 2012 years. 2012-10-02 21:05:50 +07:00
with-pic.at tests: skip the with-pic test only if DLL_EXPORT is defined 2012-10-08 17:59:51 +02:00