## unaesthetic in non-VPATH builds, so get rid of it if it is not
## actually needed.
$(call am.util.uniq, -I. -I$(srcdir) \
- $(foreach am__h, $(AM_CONFIG_HEADERS), \
- $(patsubst %/,%,-I$(dir $(am__h)))))))
+ $(foreach h, $(AM_CONFIG_HEADERS), \
+ $(patsubst %/,%,-I$(dir $h))))))
else !%?STDINC%
AM_DEFAULT_INCLUDES =
endif !%?STDINC%
## hack with $(subst \ , ...).
am.make.dry-run := \
$(strip $(if $(strip \
- $(foreach am__v, $(subst \ ,,$(strip $(MAKEFLAGS))), \
- $(if $(or $(findstring =,$(am__v)),$(filter --%,$(am__v))),, \
- $(findstring n,$(am__v))))), \
+ $(foreach v, $(subst \ ,,$(strip $(MAKEFLAGS))), \
+ $(if $(or $(findstring =,$v),$(filter --%,$v)),, \
+ $(findstring n,$v)))), \
true, false))
# An empty string. It can be very useful to "fool" the make parser w.r.t.
## FIXME: this will pick up the default from the environment; are we sure
## FIXME: we want that?
!TEST_EXTENSIONS ?= .test
-!$(foreach am__e,$(filter-out .%,$(TEST_EXTENSIONS)),\
-! $(call am.error,invalid test extension: '$(am__e)'))
-!$(foreach am__e,$(TEST_EXTENSIONS), \
-! $(eval $(call am__handle_per_suffix_test,$(am__e))))
+!$(foreach e,$(filter-out .%,$(TEST_EXTENSIONS)),\
+! $(call am.error,invalid test extension: '$e'))
+!$(foreach e,$(TEST_EXTENSIONS), \
+! $(eval $(call am__handle_per_suffix_test,$e)))
## It is *imperative* that the "empty" suffix goes last. Otherwise, a
## declaration like "TESTS = all.test" would cause GNU make to mistakenly
## try to build the 'all.log' and 'all.trs' files from a non-existent
am__check_cook_with_exeext_1 = \
$(if $(filter $(am.all-progs), $1), $1$(EXEEXT), $1)
am__check_cook_with_exeext = $(strip \
- $(if $(EXEEXT), $(foreach am__t, $1, $(call $(0)_1, $(am__t))), $1))
+ $(if $(EXEEXT), $(foreach t, $1, $(call $(0)_1, $t)), $1))
else !%?HANDLE-EXEEXT%
am__check_cook_with_exeext = $(strip $1)
endif !%?HANDLE-EXEEXT%