Ralf Wildenhues <[EMAIL PROTECTED]> writes: > * Bruno Haible wrote on Tue, Aug 22, 2006 at 02:07:05PM CEST: >> - #if HAVE_... instead of #ifdef HAVE_... > > Autoconf is currently moving away from this, see this thread: > http://lists.gnu.org/archive/html/autoconf/2006-08/msg00056.html > > While I am rather indifferent to the color of the bike shed, I am _very_ > much interested in people not moving in two different directions
Autoconf caters to a wider variety of projects than gnulib, so in some cases it has to be more conservative than gnulib does. It still supports pre-ANSI C, for example, but the current GNU standards don't require that and gnulib doesn't support it. I prefer "#if HAVE_FOO", as it's easier to read, and I'd rather not convert everything in sight to "#ifdef HAVE_FOO". I'm currently grudgingly willing to make an exception for Autoconf, to encourage its use among pickier projects. (But if this turns into too much work, I'll stop being willing ....)