From: Mike Frysinger Date: Wed, 15 Nov 2023 18:35:40 +0000 (-0800) Subject: m4: use AS_IF instead of ! builtin. X-Git-Tag: v1.16i~19 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d5d5707d866404a507bd80fa89c146be0c3edd0e;p=thirdparty%2Fautomake.git m4: use AS_IF instead of ! builtin. * m4/sanity.m4: Switch `if !` to AS_IF. --- diff --git a/m4/sanity.m4 b/m4/sanity.m4 index 4abd18773..8887a0c98 100644 --- a/m4/sanity.m4 +++ b/m4/sanity.m4 @@ -131,10 +131,10 @@ fi # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= -if ! test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1; then +AS_IF([test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1],, [dnl ( sleep $am_cv_filesystem_timestamp_resolution ) & am_sleep_pid=$! -fi +]) AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then