Signed-off-by: Stefano Lattarini <[email protected]>
---
automake.in | 2 +-
lib/am/header-vars.am | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/automake.in b/automake.in
index 08637c0..7dcee9c 100644
--- a/automake.in
+++ b/automake.in
@@ -6986,7 +6986,7 @@ sub generate_makefile ($$)
# 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";
diff --git a/lib/am/header-vars.am b/lib/am/header-vars.am
index 7a4e8b5..7236305 100644
--- a/lib/am/header-vars.am
+++ b/lib/am/header-vars.am
@@ -32,9 +32,9 @@ MAKEFLAGS += --no-builtin-rules
## 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
--
1.7.10.4