bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible manual typo


From: Eric Blake
Subject: Re: Possible manual typo
Date: Mon, 19 Sep 2011 10:59:15 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.14

On 09/17/2011 10:59 AM, Reuben Thomas wrote:
In the following:

@anchor{AC_RUN_IFELSE}
@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
status of 0 when executed, run shell commands @var{action-if-true}.
Otherwise, run shell commands @var{action-if-false}.

I can't see a referent for "@var{program}". Presumably either the
"input" parameter should be renamed "program" or the reference to
"program" should be made a reference to "input";

Thanks for the report.

if you let me know
which, I'll prepare a patch.

No need - I just pushed this:

diff --git i/ChangeLog w/ChangeLog
index 76b283c..1c46341 100644
--- i/ChangeLog
+++ w/ChangeLog
@@ -1,3 +1,9 @@
+2011-09-19  Eric Blake  <address@hidden>
+
+       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  <address@hidden>

        docs: fix typo in shell example
diff --git i/doc/autoconf.texi w/doc/autoconf.texi
index f202c10..86e28f0 100644
--- i/doc/autoconf.texi
+++ w/doc/autoconf.texi
@@ -9476,7 +9476,9 @@ Runtime
 @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}.


--
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]