From: Glenn Morris <rgm@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: configure{.in,} question
Date: Sun, 24 Oct 2010 16:07:36 -0400 [thread overview]
Message-ID: <09k4l72w3b.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m3pquzuzyt.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Sun\, 24 Oct 2010 21\:56\:26 +0200")
Lars Magne Ingebrigtsen wrote:
> Hm. This line didn't change when I ran autoconf:
>
> # Generated by GNU Autoconf 2.65 for emacs 24.0.50.
I don't know why you would get a "somewhat big" diff then, but don't
worry about it. Maybe nobody regenerated configure for a while. Or
sometimes eg Debian seems to have local patches to autoconf so that
their version behaves a bit differently to others with the same
version number.
> So... I should just commit this, even though this has nothing to do
> with the change I was making in configure.in?
Sure. Just describe it as "regenerate configure".
I have wondered whether configure even needs to be in the repository.
Here is something I wrote once but never bothered to send till now:
configure should be included in release tarfiles, but should it be
kept in the repository, or should just configure.in be there?
Problems causes by keeping configure in the repository:
1) Need for developers to regenerate it and check it in.
2) Often leads to large, meaningless diffs. For example, the merge of
the imagemagick branch had a diff of about 2500 lines. 1500 lines of
this were configure, and so totally meaningless.
Different developers using different versions of autoconf to generate
configure often leads to large diffs that bury the real change to
configure.in amongst noise. It's lead to the situation where AC_PREREQ
is artificially high, simply to try to stop this. I don't think this
is a good solution.
3) More problems with merges between branches, I imagine.
4) People in the habit of running autoconf are likely to end up with
conflicts when configure is updated.
5) ... ?
Advantages to keeping configure in the repository:
1) People don't need autoconf installed. I think this is a small
advantage, since autoconf is commonly present and easy to install.
2) The configure script gets more thorough testing (if is generated by
developers with a fixed version of autoconf and people don't
regenerate it).
3) ... ?
next prev parent reply other threads:[~2010-10-24 20:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-24 17:31 configure{.in,} question Lars Magne Ingebrigtsen
2010-10-24 19:38 ` Glenn Morris
2010-10-24 19:56 ` Lars Magne Ingebrigtsen
2010-10-24 20:07 ` Glenn Morris [this message]
2010-10-25 0:57 ` Stephen J. Turnbull
2010-10-25 8:38 ` Andreas Schwab
2010-10-25 14:43 ` Stephen J. Turnbull
2010-10-25 14:58 ` Andreas Schwab
2010-10-25 15:41 ` Stephen J. Turnbull
2010-10-25 8:47 ` Julien Danjou
2010-10-25 9:00 ` Andreas Schwab
2010-10-25 9:15 ` Eli Zaretskii
2010-10-25 16:06 ` Stefan Monnier
2010-10-25 18:04 ` Eli Zaretskii
2010-10-25 18:37 ` Glenn Morris
2010-10-25 19:59 ` Stefan Monnier
2010-10-25 19:34 ` Stefan Monnier
2010-10-25 16:43 ` Glenn Morris
2010-10-25 19:11 ` Ted Zlatanov
2010-10-25 19:13 ` Lars Magne Ingebrigtsen
2010-10-25 19:16 ` Ted Zlatanov
2010-10-25 20:08 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=09k4l72w3b.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).