+2009-04-14 Eric Blake <ebb9@byu.net>
+
+ Fix yesterday's regression in AS_IF.
+ * lib/m4sugar/m4sh.m4 (_AS_IF_ELSE): Don't corrupt $? in else
+ branch; it is up to the user to avoid syntax errors.
+ * tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Adjust test.
+
2009-04-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Add traces for AM_SILENT_RULES.
dnl Handle blank arguments.
AS_IF([false], [:], [ ]) && AS_CASE([foo], [foo], []
) && echo seventeen
-m4_define([empty])AS_IF([false], [:], [empty]
+m4_define([empty])AS_IF([:], [empty]
) && AS_CASE([foo], [foo], [empty]) && echo eighteen
+dnl We can't handle AS_IF([false], [:], [empty]) unless m4_expand is
+dnl taught how to handle m4_require. The user is responsible for
+dnl avoiding the syntax error in that case.
# check that require works correctly
m4_for([n], 1, 9, [],