diff options
author | Eric Blake <ebb9@byu.net> | 2008-07-21 16:41:10 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2008-07-21 16:41:10 -0600 |
commit | 4b8a55e1e015fc5ba0ceee63ce3739ea1e41b686 (patch) | |
tree | c58a5bc349fe116ff242d443478273ce6f09d6ec /bin | |
parent | 46a7a4306842f7f23942f36fd595cc7505957cc0 (diff) | |
download | autoconf-4b8a55e1e015fc5ba0ceee63ce3739ea1e41b686.tar.gz |
Ignore undefined macros, necessary with m4 1.6.
* bin/autoupdate.in (_au___undefine): New macro,...
(_au__undefine): ...wrapped by ifdef to silence m4 warnings.
Reported by Ralf Wildenhues.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/autoupdate.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/autoupdate.in b/bin/autoupdate.in index 3a01af78..644de19c 100644 --- a/bin/autoupdate.in +++ b/bin/autoupdate.in @@ -267,8 +267,10 @@ foreach my $file (@ARGV) # Define our special macros: define([_au__defn], defn([defn])) define([_au__divert], defn([divert])) + define([_au__ifdef], defn([ifdef])) define([_au__include], defn([include])) - define([_au__undefine], defn([undefine])) + define([_au___undefine], defn([undefine])) + define([_au__undefine], [_au__ifdef([$1], [_au___undefine([$1])])]) define([_au__save], [m4_ifdef([$1], [m4_copy([$1], [_au_$1])])]) define([_au__restore], [_au_m4_ifdef([_au_$1], |