From df94d75e491dc05b6bdb8e52b8745a6631ed8403 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Thu, 16 Sep 2021 18:26:17 +0300 Subject: [PATCH] fixup! build: Run autoreconf in the container. --- make/rules-autoconf.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/make/rules-autoconf.mk b/make/rules-autoconf.mk index cbfa3bc4..6567f055 100644 --- a/make/rules-autoconf.mk +++ b/make/rules-autoconf.mk @@ -7,9 +7,13 @@ define create-rules-autoconf $(call create-rules-common,$(1),$(2),$(3)) ifeq ($(CONTAINER),1) -$$(OBJ)/.$(1)-configure$(3): $$($(2)_SRC)/configure.ac - @echo ":: configuring $(3)bit $(1)..." >&2 +$$(OBJ)/.$(1)-pre-configure: $$($(2)_SRC)/configure.ac + @echo ":: autoreconfing $(1)..." >&2 cd "$$($(2)_SRC)" && autoreconf -fiv + touch $$@ + +$$(OBJ)/.$(1)-configure$(3): $$(OBJ)/.$(1)-pre-configure + @echo ":: configuring $(3)bit $(1)..." >&2 rm -rf "$$($(2)_OBJ$(3))/config.cache" cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \