gnutls: don't run aclocal --install
authorEneas U de Queiroz <redacted>
Mon, 25 Oct 2021 21:10:01 +0000 (18:10 -0300)
committerEneas U de Queiroz <redacted>
Wed, 3 Nov 2021 16:34:16 +0000 (13:34 -0300)
commit206eaae16520f5e89af5219cf574fa649e64d7e1
treef7b7755e853268fac950975fb9759799f1d5df9e
parentae203538ea50b06d1edad4f534c1d5acc92893a8
gnutls: don't run aclocal --install

Remove the --install parameter when running aclocal.  The --install
argument is used to copy third-party files to the first -I directory.
gnutls has -I m4 first, which would copy files to its local build
directory.  However, openwrt prepends the staging dir m4 directory,
causing aclocal --install to copy an old definition of
ax_code_coverage.m4 into the staging dir.

If strace is built after gnutls, compilation will fail:

    Makefile:9303: *** missing separator.  Stop.

The version of ax_code_coverage.m4 that gets installed does not define
@CODE_COVERAGE_RULES@.

Removing the --install parameter in gnutls solves the issue.

Signed-off-by: Eneas U de Queiroz <redacted>
libs/gnutls/Makefile
libs/gnutls/patches/020-dont-install-m4-files.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT