[RFC] USE_ and HAVE_ definitions

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 29 Mar 2009 19:04:27 +1300

At present we have a little bit of a mess with the configure.in defined
  macros.

1) defined or undefined.
  For coding: #ifdef or #ifndef
  Combined form: #if defined(X) && defined(Y) ...

2) always defined.
  For coding: #if X
  Combined form: #if X && Y ...

I'm thinking the HAVE_ should be method (1) and the USE_ should be
method (2).

Do we already have a formal policy somewhere I've missed?

If we don't, Opinions on what to adopt?

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
   Current Beta Squid 3.1.0.6
Received on Sun Mar 29 2009 - 06:04:31 MDT

This archive was generated by hypermail 2.2.0 : Sun Mar 29 2009 - 12:00:04 MDT