Skip to content

Commit

Permalink
docs: refer to correct AC_RUN_IFELSE parameter name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ebblake committed Sep 19, 2011
1 parent 2a9b772 commit f37c5e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
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
Expand Down
4 changes: 3 additions & 1 deletion doc/autoconf.texi
Expand Up @@ -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}.

Expand Down

0 comments on commit f37c5e3

Please sign in to comment.