From: Eric Blake Date: Mon, 19 Sep 2011 16:59:14 +0000 (-0600) Subject: docs: refer to correct AC_RUN_IFELSE parameter name X-Git-Tag: v2.68b~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f37c5e315c1e096c1d203de889f209f0d13bbe91;p=thirdparty%2Fautoconf.git docs: refer to correct AC_RUN_IFELSE parameter name The docs referred to @var{program}, which did not exist. * doc/autoconf.texi (Runtime) : Fix wording. Reported by Reuben Thomas. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 76b283cd..1c463419 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-09-19 Eric Blake + + docs: refer to correct AC_RUN_IFELSE parameter name + * doc/autoconf.texi (Runtime) : Fix wording. + Reported by Reuben Thomas. + 2011-09-16 Eric Blake docs: fix typo in shell example diff --git a/doc/autoconf.texi b/doc/autoconf.texi index f202c102..86e28f01 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -9476,7 +9476,9 @@ cross-compiling. @defmac AC_RUN_IFELSE (@var{input}, @ovar{action-if-true}, @ @ovar{action-if-false}, @dvar{action-if-cross-compiling, AC_MSG_FAILURE}) @acindex{RUN_IFELSE} -If @var{program} compiles and links successfully and returns an exit +Run the compiler (and compilation flags) and the linker of the current +language (@pxref{Language Choice}) on the @var{input}, then execute the +resulting program. If the program returns an exit status of 0 when executed, run shell commands @var{action-if-true}. Otherwise, run shell commands @var{action-if-false}.