"David Byron" <dbyron@xxxxxxxxxx> writes: > 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 > > > How about something like: #ifndef MY_CONFIG_INCLUDED #include <../my/config.h> #define MY_CONFIG_INCLUDED #endif -- Ed Hartnett -- ed@xxxxxxxxxxxxxxxx _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf