[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiple inclusion guard for config.h
From: |
Russ Allbery |
Subject: |
Re: multiple inclusion guard for config.h |
Date: |
Sat, 20 Jan 2007 19:16:48 -0800 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux) |
David Byron <address@hidden> writes:
> Any suggestions how? I've seen people write scripts to modify/rename
> config.h but that seems overkill in this case.
Well, if you know that in your case you're only including one config.h,
you could just use:
AH_TOP([#ifndef CONFIG_H_INCLUDED
#define CONFIG_H_INCLUDED 1])
AH_BOTTOM([#endif])
in your configure.ac.
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>