This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix gcc/config.in
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: PATCH: Fix gcc/config.in
- From: Per Bothner <per at bothner dot com>
- Date: Sun, 30 Sep 2001 11:48:39 -0700
- CC: gcc-patches at gcc dot gnu dot org
- References: <20010930112607.A4330@lucon.org>
H . J . Lu wrote:
>At the top of config.in, there is
>
>/* config.in. Generated automatically from configure.in by autoheader. */
>
Oops. I didn't notice that.
In Kawa, a few Java files are generated from java.in files. To stop
myself from
editing a generated file I had it start with this header:
// DO NOT EDIT! -*- buffer-read-only: t -*-
// This file is automatically generated from Sequence.java.in.
Notice the 'buffer-read-only: t'. When Emacs sees it, it marks the
buffer read-only, so it will complain if I try to modify it.
>to rebuild config.in. I checked in the following patch as an obvious
>fix.
>
Thanks!