Re: bug#8881: config.h double inclusion

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

 



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, e.g.:
  AC_GUARD_CONFIG_H([MYPFX])

that adds multi-inclusion guards and prefixes the generated #define names.
I'm redirecting to that list.

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux