>>>>> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes:
Lars> SOME_TEST() => --with-something some test [default=yes]
Lars> SOME_TEST( , , nodefault ) => --with-something some test [default=no]
Lars> I've tried some stuff but without any luck... What seems to be one of
Lars> my problems is that I need the ATTRIBUTE-LIST argument ($3) scanned at
Lars> autoconf "compile-time", and also have variable-substitution done at
Lars> the same time. How would I go about doing something like that?
You have to drop down to the m4 level to do this.
This gets quite hairy, unfortunately. Autoconf is very nice, but m4
is very confusing (imho).
You'd probably want something like:
ifelse([$3],[nodefault],no,yes)
in your help string.
However, it is worse than that, due to quoting hell.
Good luck.
Tom