From: Stepan Kasal Date: Wed, 6 Dec 2006 21:20:58 +0000 (+0000) Subject: * tests/tools.at (autom4te preselections): Use `find -newer'; X-Git-Tag: AUTOCONF-2.61a~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06a23d8dfc41aa232d3bb794648246643ef895ec;p=thirdparty%2Fautoconf.git * tests/tools.at (autom4te preselections): Use `find -newer'; remove one of the sleeps. --- diff --git a/ChangeLog b/ChangeLog index 73fa9634..198b1f7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-12-06 Stepan Kasal + * 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. diff --git a/tests/tools.at b/tests/tools.at index f1b1d039..2541ebe9 100644 --- a/tests/tools.at +++ b/tests/tools.at @@ -863,14 +863,13 @@ AT_CHECK([autoconf]) # 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