bootstrap: always extract only the first AC_CONFIG_MACRO_DIR arg.
commit6c51572ae0748629da0144ed5b640a3e7abc35d3
authorGary V. Vaughan <gary@gnu.org>
Fri, 19 Oct 2012 05:23:39 +0000 (19 12:23 +0700)
committerGary V. Vaughan <gary@gnu.org>
Fri, 19 Oct 2012 07:24:21 +0000 (19 14:24 +0700)
tree78ed837988ccd920d2e8ece14e014171d3ab8378
parent670283ee701b1e8b781e8250ccf4911443e683eb
bootstrap: always extract only the first AC_CONFIG_MACRO_DIR arg.

Previous versions of bootstrap concatenated all the arguments to
multiple invocations of AC_CONFIG_MACRO_DIR when extracting the
macro_dir directory name.  This change enforces correct and
consistent behaviour.
* libtoolize.in (func_require_macro_dir): Use the new
func_extract_trace_first function to make sure the first argument
is always used.
(func_require_aux_dir, func_require_gnulib_mk)
(func_require_source_base): Future proof these functions against
multiple invocations or additional arguments to the macros they
trace.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
bootstrap