libtoolize: migrate to new AC_CONFIG_MACRO_DIRS api.
commit4d644c39d835fe92878f1aace081ba46187fe4ca
authorGary V. Vaughan <gary@gnu.org>
Thu, 18 Oct 2012 13:37:03 +0000 (18 20:37 +0700)
committerGary V. Vaughan <gary@gnu.org>
Sat, 20 Oct 2012 04:21:55 +0000 (20 11:21 +0700)
tree45689d111afeb7811fa70e2e014ace51039988cb
parent0dd94ed521e52ca901e845b39bbc33f16174a325
libtoolize: migrate to new AC_CONFIG_MACRO_DIRS api.

* libtoolize.in (func_install_pkgmacro_files): Uee
AC_CONFIG_MACRO_DIRS.
(func_check_macros): Advise using AC_CONFIG_MACRO_DIRS.
(require_ac_macro_dir): Give priority to AC_CONFIG_MACRO_DIRS.
(require_macro_dir): Likewise.
* bootstrap: Give priority to AC_CONFIG_MACRO_DIRS.
* configure.ac: Define dummy AC_CONFIG_MACRO_DIRS for older
Autotools, that is allow bootstrap with current release versions.
Use AC_CONFIG_MACRO_DIRS instead of AC_CONFIG_MACRO_DIR.
* tests/testsuite.at: Source build-aux/extract-trace for access
to func_extract_trace.
(LT_AT_ACLOCAL): Use it to get the AC_CONFIG_MACRO_DIRS argument
to pass manually to aclocal for compatibility with old Automake.
Add a fallback AC_CONFIG_MACRO_DIRS definition to acinclude.m4
in the test directory.
(LT_AT_AUTORECONF): Likewise.
* tests/cdemo.at, tests/configure-iface.at, tests/darwin.at,
tests/demo.at, tests/depdemo.at, tests/early-libtool.at,
tests/libtoolize.at, tests/mdemo.at, tests/no-executables.at,
tests/nonrecursive.at, tests/old-ltdl-iface.at,
tests/recursive.at, tests/subproject.at, tests/tagdemo.at,
tests/template.at: Likewise.
* doc/libtool.texi: Update.
* NEWS: Update.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
21 files changed:
NEWS
bootstrap
configure.ac
doc/libtool.texi
libtoolize.in
tests/cdemo.at
tests/configure-iface.at
tests/darwin.at
tests/demo.at
tests/depdemo.at
tests/early-libtool.at
tests/libtoolize.at
tests/mdemo.at
tests/no-executables.at
tests/nonrecursive.at
tests/old-ltdl-iface.at
tests/recursive.at
tests/subproject.at
tests/tagdemo.at
tests/template.at
tests/testsuite.at