Re: bug#8881: config.h double inclusion

2011-06-18 Thread Bruce Korb
On 06/16/11 14:31, Jack Kelly wrote: It might be better to have config.h do something like this: #ifdef CONFIG_H # error "config.h included twice" #endif #define CONFIG_H Warning: Quite a few misbehaving packages actually install their config.h. It might be better to have an autoconf macro,

Re: bug#8881: config.h double inclusion

2011-06-17 Thread Jack Kelly
On Fri, Jun 17, 2011 at 6:29 AM, Paul Eggert wrote: > On 06/16/11 10:36, Alfred M. Szmidt wrote: >> I'm thinking that maybe should be generated with a double >> inclusion guard > > But the general rule is that must always be included first, no? > So there shouldn't ever be a possibility of inclu

Re: bug#8881: config.h double inclusion

2011-06-16 Thread Alfred M. Szmidt
>> I'm thinking that maybe should be generated with a double >> inclusion guard > > But the general rule is that must always be included first, no? > So there shouldn't ever be a possibility of including it twice. > > It might be better to have config.h do something like this