The autoconf manual suggest using AS_IF
instead of if
, but it doesn't mention m4_if
. Should AS_IF
also be preferred over m4_if
?
The "Limitations of Builtins" section of the manual says to use AS_IF
for it's portability, but the AC_REQUIRE
description says to use it to expand required macros.
Should I always use AS_IF
? The answer seems to be yes, but then again I see if
and m4_if
being used in other macros. When is it ok not to use AS_IF
?
if
and whenAS_IF
. – Karaganda