>>>>> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes:

Lars> On Thu, Jan 11, 2001 at 03:27:20PM +0100, Akim Demaille wrote:
Lars> : 
Lars> : | #ifdef HAVE_SIGNAL_H : | # include <signal.h> : | #endif
Lars> : 
Lars> : We promote #if over #ifdef.

Lars> Why?

Mostly elegance, and since the introduction of AC_CHECK_DECL, for good
reasons.

Lars> Isn't that only the case for "boolean" defines (either 0 or 1,
Lars> not defined or not defined)?  I think the Borland compiler has
Lars> problems with "#if <DEFINE>" if <DEFINE> isn't defined to
Lars> something...  I'll have to check again to be sure, though...

Many GNU packages use this and no problem has ever been reported.

Reply via email to