summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-09-19 10:59:14 -0600
committerEric Blake <eblake@redhat.com>2011-09-19 10:59:14 -0600
commitf37c5e315c1e096c1d203de889f209f0d13bbe91 (patch)
treea8c3411fb6405608349c3491b9c9cecdf45e5f2b
parent2a9b772222423b28ad741ab74407f680d2caaadd (diff)
downloadautoconf-f37c5e315c1e096c1d203de889f209f0d13bbe91.tar.gz
docs: refer to correct AC_RUN_IFELSE parameter name
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>
-rw-r--r--ChangeLog6
-rw-r--r--doc/autoconf.texi4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 76b283cd..1c463419 100644
--- a/ChangeLog
+++ b/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
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}.