This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Fix gcc/config.in


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!



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]