define .am/vartypos/check
$(eval $0/canon := $(call .am/vartypos/canon-name-from-var,$1))
$(if $(filter $($0/canon),$(.am/vartypos/known-canon-proglibs)),, \
- $(call am__error,variable '$1' is defined but no program) \
- $(call am__error, or library has '$($0/canon)' as canonical name))
+ $(call am.error,variable '$1' is defined but no program) \
+ $(call am.error, or library has '$($0/canon)' as canonical name))
endef
# The variables candidate for checking of typos.
## code will take care later of that). This will allow us to diagnose more
## issues at once, rather than stopping at the first one.
am__seen_error :=
-define am__error
+define am.error
$(warning $1)$(eval am__seen_error := yes)
endef
## FIXME: we want that?
!TEST_EXTENSIONS ?= .test
!$(foreach am__e,$(filter-out .%,$(TEST_EXTENSIONS)),\
-! $(call am__error,invalid test extension: '$(am__e)'))
+! $(call am.error,invalid test extension: '$(am__e)'))
!$(foreach am__e,$(TEST_EXTENSIONS), \
! $(eval $(call am__handle_per_suffix_test,$(am__e))))
## It is *imperative* that the "empty" suffix goes last. Otherwise, a