bug-gnulib
[Top][All Lists]
Advanced

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

Re: config.h double inclusion


From: Bruno Haible
Subject: Re: config.h double inclusion
Date: Fri, 17 Jun 2011 23:52:55 +0200
User-agent: KMail/1.9.9

Alfred M. Szmidt wrote:
> >   > I think that autoconf should have the guard for double inclusion.
> >
> >   Autoconf does not need to provide a double-inclusion guard for
> >   config.h, because those packages that need it can get it through
> >   use of AH_TOP and AH_BOTTOM.
> 
> That is not a reason to not include such a guard.

Additionally,
  - Most often when a package has two config.h files, it needs to cumulate
    their definitions.
  - If Autoconf were to emit the double-inclusion guard, it would need an
    extra option to designate the C identifier. Too much complexity for
    something that is too much a special case.

Bruno
-- 
In memoriam The victims of the East German uprising 
<http://en.wikipedia.org/wiki/Uprising_of_1953_in_East_Germany>



reply via email to

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