diff --git a/make/rules-autoconf.mk b/make/rules-autoconf.mk index 1f5fb9e9..878640d2 100644 --- a/make/rules-autoconf.mk +++ b/make/rules-autoconf.mk @@ -7,14 +7,11 @@ define create-rules-autoconf $(call create-rules-common,$(1),$(2),$(3),$(4)) -$$($(2)_SRC)/configure.ac: | $$(OBJ)/.$(1)-post-source - -$$(OBJ)/.$(1)-pre-configure: $$($(2)_SRC)/configure.ac +$$($(2)_SRC)/configure: $$($(2)_ORIGIN)/configure.ac | $$(OBJ)/.$(1)-post-source @echo ":: autoreconfing $(1)..." >&2 cd "$$($(2)_SRC)" && autoreconf -fiv - touch $$@ -$$(OBJ)/.$(1)-configure$(3): $$(OBJ)/.$(1)-pre-configure +$$(OBJ)/.$(1)-configure$(3): $$($(2)_SRC)/configure @echo ":: configuring $(3)bit $(1)..." >&2 rm -rf "$$($(2)_OBJ$(3))/config.cache"