From: Wayne Davison <wayned@users.sourceforge.net>
To: Zsh users list <zsh-users@sunsite.dk>
Subject: Re: 4.2.0-pre-2
Date: Wed, 3 Mar 2004 10:53:21 -0800 [thread overview]
Message-ID: <20040303185321.GE9561@blorf.net> (raw)
In-Reply-To: <17958.1078322407@csr.com>
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
I noticed that someone removed the stamp-h idiom from the Makefile
recently. This means that we no longer handle the case where configure
gets rerun (generating a new config.status) but the config.h file didn't
change (so it's timestamp doesn't update). When this happens the
config.h rules will get rerun every time you type "make". The attached
patch fixes this.
..wayne..
[-- Attachment #2: stamp.patch --]
[-- Type: text/plain, Size: 879 bytes --]
--- Makefile.in 14 Feb 2004 18:50:16 -0000 1.12
+++ Makefile.in 3 Mar 2004 17:23:53 -0000
@@ -134,8 +134,9 @@
$(sdir)/configure: $(sdir)/aclocal.m4 $(sdir)/aczsh.m4 $(sdir)/configure.ac
cd $(sdir) && autoconf
-config.h config.modules: $(sdir)/config.h.in config.status
- cd $(dir_top) && $(SHELL) ./config.status $@
+config.h: stamp-h
+stamp-h config.modules: $(sdir)/config.h.in config.status
+ cd $(dir_top) && $(SHELL) ./config.status config.h $@
$(sdir)/config.h.in: $(sdir)/stamp-h.in
$(sdir)/stamp-h.in: $(sdir)/configure.ac \
--- configure.ac 1 Mar 2004 17:58:55 -0000 1.11
+++ configure.ac 3 Mar 2004 17:23:53 -0000
@@ -2379,6 +2379,7 @@
AC_CONFIG_FILES(Config/defs.mk Makefile Doc/Makefile Etc/Makefile \
Src/Makefile Test/Makefile)
AC_CONFIG_COMMANDS([config.modules], [. ./config.modules.sh])
+AC_CONFIG_COMMANDS([stamp-h], [echo >stamp-h])
AC_OUTPUT
next prev parent reply other threads:[~2004-03-03 18:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-03 14:00 4.2.0-pre-2 Peter Stephenson
2004-03-03 18:53 ` Wayne Davison [this message]
2004-03-03 19:39 ` 4.2.0-pre-2 Wayne Davison
2004-03-03 19:15 ` 4.2.0-pre-2 Ibraheem Umaru-Mohammed
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=20040303185321.GE9561@blorf.net \
--to=wayned@users.sourceforge.net \
--cc=zsh-users@sunsite.dk \
/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).