This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-2.95.2: configure option --with-local-prefix
- To: Reinhard Nissl <rnissl at gmx dot de>
- Subject: Re: gcc-2.95.2: configure option --with-local-prefix
- From: Andreas Schwab <schwab at suse dot de>
- Date: 20 Dec 1999 17:19:40 +0100
- Cc: gcc at gcc dot gnu dot org
- References: <385D23AC.C0186DB1@gmx.de>
Reinhard Nissl <rnissl@gmx.de> writes:
|> Hi,
|>
|> this option does not work, as gcc/Makefile defines includedir as
|> $(local_prefix)/include, but includedir has been defined as $(prefix)/include
|> in the toplevel Makefile.
|>
|> I fixed the problem by overriding the orignal definition of includedir via
|> adding the keyword "override" at the start of the includedir definition in
|> gcc/Makefile.
The right fix is to rename includedir to local_includedir in
gcc/Makefile.in. This is a long standing bug for which I have already
send patches to gcc-patches (see
http://gcc.gnu.org/ml/gcc-patches/1999-07/msg00488.html and
http://gcc.gnu.org/ml/gcc-patches/1999-05/msg00477.html).
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg