[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8881: config.h double inclusion
From: |
Bruno Haible |
Subject: |
bug#8881: 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>