fixup! build: Run autoreconf in the container.

This commit is contained in:
Arkadiusz Hiler 2021-09-16 18:26:17 +03:00 committed by Arek Hiler
parent 4a8ea09970
commit df94d75e49

View File

@ -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)) \