From: Eric Blake Date: Fri, 8 Jan 2010 13:52:58 +0000 (-0700) Subject: Clarify language on handling of opening parenthesis. X-Git-Tag: v2.66~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed2446ed307d7882c67accf5f528a65787b26a07;p=thirdparty%2Fautoconf.git Clarify language on handling of opening parenthesis. * doc/autoconf.texi (Autoconf Language): Give an example of improper argument passing. * THANKS: Update. Reported by Juan Carlos Hurtado. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index c69b906b..d15dc944 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-01-08 Eric Blake + + Clarify language on handling of opening parenthesis. + * doc/autoconf.texi (Autoconf Language): Give an example of + improper argument passing. + * THANKS: Update. + Reported by Juan Carlos Hurtado. + 2010-01-06 Ralf Wildenhues Don't fail autom4te preselection test due to different Automake. diff --git a/THANKS b/THANKS index 8d91a642..ddb1db49 100644 --- a/THANKS +++ b/THANKS @@ -196,6 +196,7 @@ Jonathan Kamens jik@kamens.brookline.ma.us Josef Tran josef@timetrackertechnology.com Josef Vukovic josefvukovic@googlemail.com Joseph S. Myers jsm28@cam.ac.uk +Juan Carlos Hurtado adso.lists@gmail.com Jules Colding colding@42tools.com Julian Onions j.onions@nexor.co.uk Julien Danjou acid@debian.org diff --git a/doc/autoconf.texi b/doc/autoconf.texi index cc192841..41d0443a 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -1132,7 +1132,14 @@ need a means to distinguish literal strings from text to be expanded: quotation. When calling macros that take arguments, there must not be any white -space between the macro name and the open parenthesis. Arguments should +space between the macro name and the open parenthesis. + +@example +AC_INIT ([oops], [1.0]) # incorrect +AC_INIT([hello], [1,0]) # good +@end example + +Arguments should be enclosed within the quote characters @samp{[} and @samp{]}, and be separated by commas. Any leading blanks or newlines in arguments are ignored, unless they are quoted. You should always quote an argument that