[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: portable.h contents in back-monitor (Was: [Fwd: commit: ldap/servers/slapd/back-monitor...)

On Thu, 2006-01-12 at 10:52 -0800, Kurt D. Zeilenga wrote:

> Which is also why the OL_DEFINE approach won't work well.
> Some folks use environment flags (or other hacks) to
> override what configure produces.
> So, maybe we just do a simple capabilities list.

I suggested to hack OL_DEFINE because it would allow to produce trsings
with the same macro name and value that's used in the code, plus an
informative message that could be used for the "description" attribute.

Of course we don't need to replace __all__ occurrences of AC_DEFINE, but
only the ones we intend to publish.  This would avoid the need to
explicitly write all the

#ifdef FOO
  { "FOO", "1", "define if foo is set" }
#endif /* FOO */

stuff.  OL_DEFINEs would definitely be used in OL_ARG_WITH and
OL_ARG_ENABLE, and this would drastically reduce the number of explicit


Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it