gnulib-tool: Fix logic whether to add a dummy.c.
commit0be855ee827bf7e9043eeb626c4fd847704be2e6
authorBruno Haible <bruno@clisp.org>
Tue, 29 Dec 2020 01:48:31 +0000 (29 02:48 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 29 Dec 2020 01:56:21 +0000 (29 02:56 +0100)
treed4758d32f732fe65a509c4177d551ec9d1922f8c
parentd82dfeb8a7c9b276c8c7db94d077eb7a43a6760c
gnulib-tool: Fix logic whether to add a dummy.c.

* gnulib-tool (func_remove_if_blocks): New function.
(func_modules_add_dummy): Use it to eliminate all conditional statements
from the automake snippet.
ChangeLog
gnulib-tool