* lib/m4sugar/m4sh.m4: actually use the 2nd parameter to AS_REQUIRE

This commit is contained in:
Paolo Bonzini 2003-05-22 21:39:45 +00:00
parent ebf56a4251
commit 2f7d336646
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-05-22 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 [AS_REQUIRE]: actually use the 2nd
parameter
2003-05-22 Akim Demaille <akim@epita.fr>
* lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4

View File

@ -131,7 +131,7 @@ m4_copy([_m4_divert(M4SH-INIT)], [_m4_divert(NOTICE)])
#
m4_define([AS_REQUIRE],
[m4_provide_if([$1], [],
[m4_divert_text([M4SH-INIT], [$1])])])
[m4_divert_text([M4SH-INIT], [m4_default([$2], [$1])])])])
# AS_SHELL_SANITIZE