]> Savannah Git Hosting - gnulib.git/commit
Accommodate non-recursive Automake in a less hacky way.
authorBruno Haible <bruno@clisp.org>
Wed, 15 Dec 2021 18:18:31 +0000 (19:18 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Dec 2021 18:18:31 +0000 (19:18 +0100)
commitb2bd0a9041ed7401fb69f59f7450abb8b3249ecb
tree328f2f82b7b367f9ba72f43589bc774f19ecc9f4
parente3174b6d1fdbe6ea2297bf8c8333f65f9d9d9588
Accommodate non-recursive Automake in a less hacky way.

* gnulib-tool: New option --automake-subdir.
(automake_subdir): New variable.
(func_emit_initmacro_end): Add a second argument. Use it to prefix each
object file name in *_LIBOBJS and *_LTLIBOBJS.
(func_emit_shellvars_init): New function.
(func_import): Add support for --automake-subdir. Invoke
prefix-gnulib-mk. Update calls to func_emit_initmacro_end. Call
func_emit_shellvars_init.
(func_create_testdir): Update calls to func_emit_initmacro_end. Call
func_emit_shellvars_init.
* m4/gnulib-tool.m4 (gl_AUTOMAKE_SUBDIR): New macro.
* m4/gnulib-common.m4 (gl_CONDITIONAL_HEADER): Use the value of the
gl_source_base_prefix variable.
* build-aux/prefix-gnulib-mk: New options --from-gnulib-tool, --prefix.
(contents_of_file): Renamed from contents.
(contents_of_stdin): New function.
(process): Inline and remove function.
* doc/gnulib-tool.texi (Non-recursive make): New section.
ChangeLog
build-aux/prefix-gnulib-mk
doc/gnulib-tool.texi
gnulib-tool
m4/gnulib-common.m4
m4/gnulib-tool.m4