This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fixinc w/ SYSTEM_INCLUDE_DIR set?
- To: robertl at dgii dot com
- Subject: Re: fixinc w/ SYSTEM_INCLUDE_DIR set?
- From: Manfred Hollstein <manfred at s-direktnet dot de>
- Date: Mon, 3 Aug 1998 14:04:43 +0200 (MET DST)
- Cc: egcs at cygnus dot com
- References: <19980803011040.A12433@dgii.com>
- Reply-To: manfred at s-direktnet dot de, Manfred dot Hollstein at ks dot sel dot alcatel dot de
On Mon, 3 August 1998, 01:10:40, robertl@dgii.com wrote:
>
> I'm working on a target that will need to set SYSTEM_INCLUDE_DIR. There
> is a /usr/include, but they are toxic to this target and must never be
> touched. Unfortunately, the target of SYSTEM_INCLUDE_DIR is also toxic
> enough that it needs to have fixincludes run on it.
>
> I think what I need to be able to do is to set SYSTEM_HEADER_DIR in
> Makefile.in from within configure. I don't see any mechanism in there
> to do this. Is the right thing to do just to add the plumbing in
> configure.in to AC_SUBST() it into the generated Makefile?
>
> Since I can't believe I'm the first target to need this, I have to
> believe that I'm missing the way to do this. :-)
>
> Any ideas?
How about putting it into config/<target>/t-<your-particular-system>:
SYSTEM_HEADER_DIR = /where/ever/your/include/files/are
manfred