Re: value of a macro parameter and position of )

2009-02-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Vincent Torri on 2/15/2009 2:45 AM: >> See node Macro Arguments in the m4 documentation: only leading unquoted >> whitespace is skipped when collecting macro arguments. All other >> whitespace will become part of the argument. > > ok, th

Re: value of a macro parameter and position of )

2009-02-15 Thread Vincent Torri
On Sun, 15 Feb 2009, Andreas Schwab wrote: Vincent Torri writes: Hey, i've written a macro with 2 parameters. Suppose that the macro name is FOO, if I use it like that in the configure.ac file: FOO([var1] ["yes"] ) Did you mean to write comma after [var1]? Without it there is only on

Re: value of a macro parameter and position of )

2009-02-15 Thread Andreas Schwab
Vincent Torri writes: > Hey, > > i've written a macro with 2 parameters. Suppose that the macro name is > FOO, if I use it like that in the configure.ac file: > > FOO([var1] > ["yes"] > ) Did you mean to write comma after [var1]? Without it there is only one argument. > the value of the 2nd