Commit e86f5135 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

contrib: helper to copy recent config.{guess,sub} from automake

(cherry picked from commit e10f808b)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 75c93cb2
......@@ -260,6 +260,14 @@ UNPACK_DIR = $(basename $(basename $(notdir $<)))
APPLY = (cd $(UNPACK_DIR) && patch -p1) <
MOVE = mv $(UNPACK_DIR) $@ && touch $@
AUTOMAKE_DATA_DIRS=$(abspath $(dir $(shell which automake))/../share/automake*)
UPDATE_AUTOCONFIG = for dir in $(AUTOMAKE_DATA_DIRS); do \
if test -f "$${dir}/config.sub" -a -f "$${dir}/config.guess"; then \
cp "$${dir}/config.sub" "$${dir}/config.guess" $@; \
break; \
fi; \
done
RECONF = mkdir -p -- $(PREFIX)/share/aclocal && \
cd $< && autoreconf -fiv $(ACLOCAL_AMFLAGS)
CMAKE = cmake . -DCMAKE_TOOLCHAIN_FILE=$(abspath toolchain.cmake) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment