This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Fortran] Patch to have libf2c/libI77/inquire.c include"config.h"
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: [Fortran] Patch to have libf2c/libI77/inquire.c include"config.h"
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Wed, 13 Jun 2001 23:06:35 +0200
- CC: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <145260000.992415846@gandalf.codesourcery.com>
Mark Mitchell wrote:
> > Is this OK for branch and trunk (after bootstrap and check, of course) ?
> > 2001-06-13 Toon Moene <toon@moene.indiv.nluug.nl>
> >
> > * libI77/inquire.c: Include "config.h".
> >
> > *** inquire.c.orig Sat Sep 4 17:09:18 1999
> > --- inquire.c Tue Jun 12 23:44:53 2001
> > ***************
> > *** 1,2 ****
> > --- 1,3 ----
> > + #include "config.h"
> > #include "f2c.h"
> > #include "fio.h"
>
> Please make absolutely sure that the Makefile will always put
> the directory containing `config.h' early enough in the -I list
> that we are sure to get the right config.h, and not some other one
> elsewhere in the build tree. Think about/try in-srcdir
> and srcdir != objdir. Think about multilibs if appropriate.
Checked and committed.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)