Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
# relevant diagnostic should have already been reported by any
# call to the function '$(am.error)', so we just print a generic
# "errors seen, stopping" message.
- $output_checks .= '$(if $(am__seen_error),' .
+ $output_checks .= '$(if $(am.error.seen),' .
'$(error Some Automake-NG error occurred))' .
"\n";
## Declare an error, without immediately terminating the execution (proper
## 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 :=
+am.error.seen :=
define am.error
-$(warning $1)$(eval am__seen_error := yes)
+$(warning $1)$(eval am.error.seen := yes)
endef
# Some problematic characters (especially when used in arguments