2006-12-06 Stepan Kasal <kasal@ucw.cz>
+ * tests/tools.at (autom4te preselections): Use `find -newer';
+ remove one of the sleeps.
+
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
more readable, using ...
(_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
# If this test fails due to missing entries in lib/autom4te.in, then
# comparing the old and new requests is a good place to start debugging:
cp autom4te.cache/requests old-requests
-$sleep # need to make sure the stamp file is strictly newer.
echo newer >newer
$sleep # if `configure' is regenerated, we want it to be strictly newer,
# to catch the error consistently.
AT_CHECK([aclocal], [], [], [ignore])
AT_CHECK([automake --no-force --add-missing], [], [], [ignore])
AT_CHECK([autoconf])
-AT_CHECK([set x `ls -1t newer configure`; test "$2" = newer ||
+AT_CHECK([test "`find configure -newer newer`" = "" ||
{ diff old-requests autom4te.cache/requests; exit 1; }])
AT_CLEANUP