autoconf
[Top][All Lists]
Advanced

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

Re: HOWTO get content of config.h into a userdefined header (for distrib


From: Akim Demaille
Subject: Re: HOWTO get content of config.h into a userdefined header (for distribution)
Date: 11 Jan 2001 16:24:54 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

>>>>> "Lars" == Lars J Aas <address@hidden> 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

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