bug-autoconf
[Top][All Lists]
Advanced

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

For Autoheader: Macro redefinition warnings


From: Reed Hedges
Subject: For Autoheader: Macro redefinition warnings
Date: Mon, 21 Apr 2003 17:22:15 -0400


In projects that end up using several "config.h" headers (created by several autoconf scripts, with different names), there are lots of annoying warnings about some of the default symbols being redefined, namely PACKAGE.

I tried this:

AH_TOP(
#ifdef PACKAGE
#undef PACKAGE
#endif
)

but of course autoheader turns the #undef into #define !!

Is there a correct way to get around this?

If not, then can autoheader be fixed to conditionally define PACKAGE and friends, or to really undefine it first?

reed





reply via email to

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