Skip to content

extras: tools: add .m4 dependency for .buildautoconf

Alexandre Janniaux requested to merge alexandre-janniaux/vlc:m4-tools/1 into master

Autoconf will require m4 to build correctly, and will complain with the following error, at least starting with Autoconf 2.72, when the system provided m4 is too old:

GNU M4 1.4.8 or later is required; 1.4.16 or newer is recommended.
GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.
yes
checking whether stricmp is declared... make: *** [.buildautoconf] Error 1
make: *** Waiting for unfinished jobs....

Ensure that whenever we need to build m4, we build it before autoconf.

Merge request reports