[Top][All Lists]

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

Re: %define boolean variables

From: Paolo Bonzini
Subject: Re: %define boolean variables
Date: Mon, 29 Jan 2007 10:01:45 +0100
User-agent: Thunderbird (Macintosh/20061207)

So again, my plan is to remove the value-less form of %define. I'll also rewrite b4_percent_define_flag_if to invoke b4_complain when the user specifies anything other than "true" or "false".

No, please. The reason for this is the parallel with the C preprocessor (where, except in Autoconf :-), you define symbols with `#define FOO'.

As a compromise, if you keep the current behavior of empty being true, and `%define FOO' aliasing `%define FOO ""', it's ok for me to complain on anything but empty/"true"/"false", including making "0" or "1" invalid.


reply via email to

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