]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
doc: improve AS_VAR_IF details
authorEric Blake <eblake@redhat.com>
Tue, 17 Aug 2010 14:17:36 +0000 (08:17 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 17 Aug 2010 14:19:39 +0000 (08:19 -0600)
* doc/autoconf.texi (Polymorphic Variables) <AS_VAR_IF>: Make it
clear that user must supply quotes as needed.
* THANKS: Update.
Suggested by Randall Cotton.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
THANKS
doc/autoconf.texi

index fbc69db5ea1c8d6e7e10992bcdf77caf88987fa8..2ce085b416f56cad5d1e2481180d3d3d57cb4db3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-08-17  Eric Blake  <eblake@redhat.com>
+
+       doc: improve AS_VAR_IF details
+       * doc/autoconf.texi (Polymorphic Variables) <AS_VAR_IF>: Make it
+       clear that user must supply quotes as needed.
+       * THANKS: Update.
+       Suggested by Randall Cotton.
+
 2010-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Fix Autotest --errexit to exit after XPASSing tests.
diff --git a/THANKS b/THANKS
index 3b235899609fdb70529da9330d94ae9060254fde..8f2691e1b1a0a8320598ab160e43bd11b7e647b9 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -327,6 +327,7 @@ Ralf Corsepius              corsepiu@faw.uni-ulm.de
 Ralf Menzel                 menzel@ls6.cs.uni-dortmund.de
 Ralf S. Engelschall         rse@engelschall.com
 Ralf Wildenhues             Ralf.Wildenhues@gmx.de
+Randall Cotton              recotton@earthlink.net
 Reuben Thomas               rrt@sc3d.org
 Richard Dawe                rich@phekda.freeserve.co.uk
 Richard Stallman            rms@gnu.org
index 05705f20adc6841b2e729193bd7d181ed39e2bbb..9d29b9c50a847f8edde2dc01a9584fc7c83595d5 100644 (file)
@@ -13491,12 +13491,13 @@ done
 @comment AS_VAR_GET is intentionally undocumented; it can't handle
 @comment trailing newlines uniformly, and forks too much.
 
-@defmac AS_VAR_IF (@var{var}, @ovar{value}, @ovar{if-equal}, @
+@defmac AS_VAR_IF (@var{var}, @ovar{word}, @ovar{if-equal}, @
   @ovar{if-not-equal})
 @asindex{VAR_IF}
 Output a shell conditional statement.  If the contents of the
-polymorphic shell variable @var{var} match the string @var{value},
-execute @var{if-equal}; otherwise execute @var{if-not-equal}.  Avoids
+polymorphic shell variable @var{var} match the string @var{word},
+execute @var{if-equal}; otherwise execute @var{if-not-equal}.  @var{word}
+must be a single shell word (typically a quoted string).  Avoids
 shell bugs if an interrupt signal arrives while a command substitution
 in @var{var} is being expanded.
 @end defmac