From 980c20db7f6416a1084800d3ba6cbf30eef6ab9b Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Fri, 21 Jun 2024 13:27:48 +0200 Subject: [PATCH] contrib: use our custom config.guess if it's present When it's not forced to be created we may need to check if the timestamp is older or not. --- contrib/src/main.mak | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/src/main.mak b/contrib/src/main.mak index 29ca735318..5ea728ab98 100644 --- a/contrib/src/main.mak +++ b/contrib/src/main.mak @@ -450,9 +450,13 @@ UPDATE_AUTOCONFIG = for dir in $(AUTOMAKE_DATA_DIRS); do \ fi; \ done +ifneq ($(wildcard $(abspath $(VLC_TOOLS))/share/autoconf-vlc/build-aux),) +VLC_CONFIG_GUESS := autom4te_buildauxdir=$(abspath $(VLC_TOOLS))/share/autoconf-vlc/build-aux +endif + AUTORECONF = GTKDOCIZE=true autoreconf RECONF = mkdir -p -- $(PREFIX)/share/aclocal && \ - cd $< && $(AUTORECONF) -fiv + cd $< && $(VLC_CONFIG_GUESS) $(AUTORECONF) -fiv BUILD_DIR = $