[vlc-commits] [Git][videolan/vlc][master] extras: tools: add .m4 dependency for .buildautoconf

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Jan 18 10:39:36 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
a8e83b1b by Alexandre Janniaux at 2024-01-18T09:54:51+00:00
extras: tools: add .m4 dependency for .buildautoconf

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.

- - - - -


1 changed file:

- extras/tools/tools.mak


Changes:

=====================================
extras/tools/tools.mak
=====================================
@@ -174,7 +174,7 @@ autoconf: autoconf-$(AUTOCONF_VERSION).tar.gz
 	$(UNPACK)
 	$(MOVE)
 
-.buildautoconf: autoconf .pkg-config
+.buildautoconf: autoconf .pkg-config .m4
 	(cd $<; ./configure --prefix=$(PREFIX) && $(MAKE) && $(MAKE) install)
 	touch $@
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a8e83b1b69df3d500d52e5ddb9bd562723ee3b5e

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a8e83b1b69df3d500d52e5ddb9bd562723ee3b5e
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list