autoconf
[Top][All Lists]
Advanced

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

RE: multiple inclusion guard for config.h


From: David Byron
Subject: RE: multiple inclusion guard for config.h
Date: Sat, 20 Jan 2007 17:00:39 -0800

On Saturday, January 20, 2007 @ 4:02p, Bob Friesenhahn wrote:

> > Anyway, I could use an education about why there isn't a
> > guard against multiple inclusion built in to autoheader, as
> > well as a way to add one myself.  AH_TOP puts the first part
> > where I want, but I've got multiple AH_BOTTOM calls and I
> > can't see a way to force the final #endif to really go last
> > in the file.
>
> "config.h" may be provided from multiple packages at once
> and all included instances may be required.  The user that
> includes it needs to manage proper use.

Any suggestions how?  I've seen people write scripts to modify/rename
config.h but that seems overkill in this case.

Thanks much.

-DB






reply via email to

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