The docs referred to @var{program}, which did not exist.
* doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Fix wording.
Reported by Reuben Thomas.
Signed-off-by: Eric Blake <eblake@redhat.com>
+2011-09-19 Eric Blake <eblake@redhat.com>
+
+ docs: refer to correct AC_RUN_IFELSE parameter name
+ * doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Fix wording.
+ Reported by Reuben Thomas.
+
2011-09-16 Eric Blake <eblake@redhat.com>
docs: fix typo in shell example
@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}.