automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[automake-commit] branch master updated: m4: use AS_IF instead of ! buil


From: Karl Berry
Subject: [automake-commit] branch master updated: m4: use AS_IF instead of ! builtin.
Date: Wed, 15 Nov 2023 13:35:50 -0500

This is an automated email from the git hooks/post-receive script.

karl pushed a commit to branch master
in repository automake.

View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=d5d5707d866404a507bd80fa89c146be0c3edd0e

The following commit(s) were added to refs/heads/master by this push:
     new d5d5707d8 m4: use AS_IF instead of ! builtin.
d5d5707d8 is described below

commit d5d5707d866404a507bd80fa89c146be0c3edd0e
Author: Mike Frysinger <vapier@gentoo.org>
AuthorDate: Wed Nov 15 10:35:40 2023 -0800

    m4: use AS_IF instead of ! builtin.
    
    * m4/sanity.m4: Switch `if !` to AS_IF.
---
 m4/sanity.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]