value of a macro parameter and position of )

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

 




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"]
)

the value of the 2nd parameter in the macro is not yes, but yes followed by a new line

to remove that error, i just use

FOO([var1], ["yes"])

or

FOO([var1]
  ["yes"])

that is, the ) not at the next line

My question is : why the position of ) is important ? Is it a bug ?

thank you

Vincent Torri


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux