From: Derek Price Date: Mon, 18 Aug 2003 15:28:16 +0000 (+0000) Subject: * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF. X-Git-Tag: AUTOCONF-2.57b~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4799aff77f3c1031dbc41333f8f3c869dc693db;p=thirdparty%2Fautoconf.git * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF. --- diff --git a/ChangeLog b/ChangeLog index 27802f68..76eba814 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-08-18 Derek Price + + * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF. + 2003-08-16 Derek Price * doc/autoconf.texi (Writing testsuite.at): Document defaults for diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 75e02122..0ea3f00b 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -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