]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
authorDerek Price <derek@ximbiot.com>
Mon, 18 Aug 2003 15:28:16 +0000 (15:28 +0000)
committerDerek Price <derek@ximbiot.com>
Mon, 18 Aug 2003 15:28:16 +0000 (15:28 +0000)
ChangeLog
doc/autoconf.texi

index 27802f6802fbccf6589870fe59158d08845773d8..76eba81465af4abd2d9a1372624f99078083e458 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-08-18  Derek Price  <derek@ximbiot.com>
+
+       * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
+
 2003-08-16  Derek Price  <derek@ximbiot.com>
 
        * doc/autoconf.texi (Writing testsuite.at): Document defaults for
index 75e02122809fddb9efdd170f453a5d38794ed31b..0ea3f00b67f94f12d3d2a736ab38e91f5a2d719e 100644 (file)
@@ -8177,6 +8177,13 @@ details about what this returns and why it is more portable than the
 @command{dirname} command.
 @end defmac
 
+@defmac AS_IF (@var{test}, @ovar{RUN-IF-TRUE}, @ovar{RUN-IF-FALSE})
+@asindex{IF}
+Run shell code TEST.  If TEST exits with a zero status then run shell code
+RUN-IF-TRUE, else run shell code RUN-IF-FALSE, with simplifications if either
+RUN-IF-TRUE or RUN-IF-FALSE is empty.
+@end defmac
+
 @defmac AS_MKDIR_P (@var{filename})
 @asindex{MKDIR_P}
 Make the directory @var{filename}, including intervening directories