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_HWarning: 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.