Index: ChangeLog =================================================================== RCS file: /cvs/autoconf/ChangeLog,v retrieving revision 1.1364 diff -u -r1.1364 ChangeLog --- ChangeLog 2001/04/18 16:50:13 1.1364 +++ ChangeLog 2001/04/20 11:27:07 @@ -1,3 +1,9 @@ +2001-04-20 Nicolas Joly + + * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Be robust to missing + or broken autoupdate. + * tests/tools.at: Likewise. + 2001-04-18 Tim Van Holder * acgeneral.m4 (_AC_INIT_SRCDIR): Handle Index: tests/atspecific.m4 =================================================================== RCS file: /cvs/autoconf/tests/atspecific.m4,v retrieving revision 1.41 diff -u -r1.41 atspecific.m4 --- tests/atspecific.m4 2001/02/15 23:36:49 1.41 +++ tests/atspecific.m4 2001/04/20 11:27:07 @@ -104,7 +104,8 @@ # AT_CHECK_AUTOUPDATE # ------------------- m4_define([AT_CHECK_AUTOUPDATE], -[AT_CHECK([autoupdate --autoconf-dir $at_top_srcdir], 0, +[AT_CHECK([autoupdate --version || exit 77], ignore, ignore, ignore) + AT_CHECK([autoupdate --autoconf-dir $at_top_srcdir], 0, [], [autoupdate: `configure.ac' is updated ])]) Index: tests/tools.at =================================================================== RCS file: /cvs/autoconf/tests/tools.at,v retrieving revision 1.29 diff -u -r1.29 tools.at --- tests/tools.at 2001/03/19 14:54:39 1.29 +++ tests/tools.at 2001/04/20 11:27:07 @@ -431,6 +431,7 @@ ]]) # Checking `autoupdate'. +AT_CHECK([autoupdate --version || exit 77], ignore, ignore, ignore) AT_CHECK([autoupdate --autoconf-dir $top_srcdir], 0, [], [autoupdate: `configure.ac' is updated ]) @@ -460,6 +461,7 @@ ) # Checking `autoupdate'. +AT_CHECK([autoupdate --version || exit 77], ignore, ignore, ignore) AT_CHECK([autoupdate --autoconf-dir $top_srcdir], 0, [], [autoupdate: `configure.ac' is updated ]) @@ -481,6 +483,7 @@ AC_PREREQ($at_version) EOF +AT_CHECK([autoupdate --version || exit 77], ignore, ignore, ignore) AT_CHECK([echo "AC_PREREQ(1.0)" | autoupdate --autoconf-dir $top_srcdir -], 0, [expout], [])