This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Gratuitous reconfigures and rebuilds
Alexandre Oliva <aoliva@redhat.com> writes:
> On Dec 20, 2002, Zack Weinberg <zack@codesourcery.com> wrote:
>
>> My idea of the right fix for this would be to take that piece of the
>> version number out of version.c and put it in configure.in
>
> And then, instead of a single small file, you have to modify and check
> in at least two files (configure.in and the generated configure), with
> the risk that the script that does it automatically will modify
> something else in there. And then, since you're modifying configure,
> you'll have to reconfigure anyway...
version_string is of the form "3.A.B YYYYMMDD (foobar)". I was
suggesting that we move _only_ the "3.A.B" bit to configure.in. That
bit is not updated daily by a script, and when it does change you _do_
have to reconfigure everything.
zw