autoconf
[Top][All Lists]
Advanced

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

Convensions for NO_<feature> instead of HAVE_<feature>?


From: Hallvard B Furuseth
Subject: Convensions for NO_<feature> instead of HAVE_<feature>?
Date: Tue, 08 Nov 2011 07:18:42 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

I want some code to be semi-independent of Autoconf, and to default
to using <feature> instead of not using it without Autoconf.
#ifdef HAVE_<feature> means that the code will not use <feature>
without autoconf, unless the user defines HAVE_FEATURE by hand.

Are there any conventions for what to call such feature macros and how
to write them in Autoconf?  NO_<feature>?  NEED_<feature>_REPLACEMENT?

-- 
Hallvard




reply via email to

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