|
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
[Prev in Thread] | Current Thread | [Next in Thread] |