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: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Subject: Re: [Fortran] Patch to have libf2c/libI77/inquire.c include"config.h"
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Wed, 13 Jun 2001 00:04:06 -0700
- cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
> 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.
If you're confident about that, the patch is OK.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com