zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: 5.3.1
Date: Thu, 22 Dec 2016 13:40:52 -0800	[thread overview]
Message-ID: <161222134052.ZM3838@torch.brasslantern.com> (raw)
In-Reply-To: <d7f7a470-c132-7508-2fb6-ac3dec6a5cbf@eastlink.ca>

On Dec 22,  8:03am, Ray Andrews wrote:
} Subject: Re: 5.3.1
}
} Marvellous.  Five years kicking around in Linux and I only learn this 
} now.

apt-get build-dep is a Debian thing, not a Linux thing in general.

} BTW, why is it that an edit of 'config.modules' is always quietly 
} overwritten by the installer?

It's not overwritten by "the installer".  It has a dependency on the
files generated by the "configure" script, so it will only be remade
if configure has been re-run.  Normally this happens during the
execution of configure itself, so any edits to config.modules that
you do will cause config.modules to be newer than its dependencies,
and it will not be rebuilt.

If configure is running, the assumption is that preconditions for the
build have changed, so config.modules is regenerated from the defaults
in Src/**/*.mdd files.  This is also how new modules are picked up.

You aren't supposed to need to run "configure" more than once on the
same build tree unless something about the preconditions is changing.
If you are routinely re-running configure when none of the templates
from which it is built (e.g. configure.ac) has changed, you're doing
more work than necessary.

Anyway, if you actually read either the INSTALL file or the comments
in config.modules itself:

# Values of `auto' are `yes' or `no'. configure sets the value to
# `yes'.  If you set it by hand to `no', the line will be retained
# when the file is regenerated in future.

I should have remembered that.  I've forgotten why I stopped using it
and went with a local copy ... probably because for quite a while I
was switching back and forth between static and dynamic linking on
a regular basis and needed two copies of the file to do so.


  reply	other threads:[~2016-12-22 21:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-21 20:07 5.3.1 Peter Stephenson
2016-12-21 21:57 ` 5.3.1 Ray Andrews
2016-12-21 22:54   ` 5.3.1 Ray Andrews
2016-12-21 23:07     ` 5.3.1 Bart Schaefer
2016-12-21 23:53       ` 5.3.1 Ray Andrews
2016-12-22  0:12         ` 5.3.1 Bart Schaefer
2016-12-22  0:40           ` 5.3.1 Ray Andrews
2016-12-22  1:27             ` 5.3.1 Ray Andrews
2016-12-22  3:03             ` 5.3.1 Bart Schaefer
2016-12-22  3:42               ` 5.3.1 Ray Andrews
2016-12-22  4:08                 ` 5.3.1 Jérémie Roquet
2016-12-22  4:59                   ` 5.3.1 Ray Andrews
     [not found]                   ` <1e43afe0-d53c-af6b-f28f-bc1c0c7a229b__8484.77827753431$1482382855$gmane$org@eastlink.ca>
2016-12-22 11:57                     ` 5.3.1 Daniel Shahaf
2016-12-22 16:03                       ` 5.3.1 Ray Andrews
2016-12-22 21:40                         ` Bart Schaefer [this message]
2016-12-22 22:33                           ` 5.3.1 Ray Andrews
2017-01-03 12:48 ` 5.3.1 Simon Ruderich
2017-01-03 13:38   ` 5.3.1 Peter Stephenson

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=161222134052.ZM3838@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.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.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).