bug-gnulib
[Top][All Lists]
Advanced

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

Re: hello-2.1.91 modernization


From: Paul Eggert
Subject: Re: hello-2.1.91 modernization
Date: Tue, 22 Aug 2006 13:18:21 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Ralf Wildenhues <address@hidden> 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 ....)




reply via email to

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