autoconf
[Top][All Lists]
Advanced

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

value of a macro parameter and position of )


From: Vincent Torri
Subject: value of a macro parameter and position of )
Date: Sun, 15 Feb 2009 09:09:32 +0100 (CET)


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




reply via email to

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