]> git.ipfire.org Git - thirdparty/autoconf.git/commit
_AS_PATH_WALK: Use AS_IF for IF-NOT-FOUND argument.
authorZack Weinberg <zackw@panix.com>
Sat, 10 Oct 2020 18:07:53 +0000 (14:07 -0400)
committerZack Weinberg <zackw@panix.com>
Sat, 10 Oct 2020 18:07:53 +0000 (14:07 -0400)
commitd85fc04ed3961f4195b632cd81b89a51216dbea7
treec92d2a667a55cad62ea31d6e302914456328f397
parent326c9a547423d25c621bc5c0ef76edbf6eda8c92
_AS_PATH_WALK: Use AS_IF for IF-NOT-FOUND argument.

The construct _AS_PATH_WALK was using to conditionally execute its
IF-NOT-FOUND argument, was a little too fragile: relatively natural
variations in usage, such as putting the final `])` on a line by
itself, could cause shell syntax errors.  Use AS_IF instead.

* lib/m4sugar/m4sh.m4: Use AS_IF to execute IF-NOT-FOUND conditionally.
lib/m4sugar/m4sh.m4