|
@@ -203,12 +203,9 @@ endef
|
|
|
# This must be repeated from GENTARGETS_INNER, otherwise we get an empty
|
|
|
# _DEPENDENCIES if _AUTORECONF is YES. Also filter the result of _AUTORECONF
|
|
|
# away from the non-host rule
|
|
|
-ifndef $(2)_DEPENDENCIES
|
|
|
- ifdef $(3)_DEPENDENCIES
|
|
|
- $(2)_DEPENDENCIES = $(filter-out host-automake host-autoconf host-libtool,\
|
|
|
+$(2)_DEPENDENCIES ?= $(filter-out host-automake host-autoconf host-libtool,\
|
|
|
$(patsubst host-host-%,host-%,$(addprefix host-,$($(3)_DEPENDENCIES))))
|
|
|
- endif
|
|
|
-endif
|
|
|
+
|
|
|
|
|
|
ifeq ($$($(2)_AUTORECONF),YES)
|
|
|
$(2)_PRE_CONFIGURE_HOOKS += AUTORECONF_HOOK
|