Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 4.2.0-pre-2
- X-seq: zsh-users 7103
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Zsh users list <zsh-users@xxxxxxxxxx>
- Subject: Re: 4.2.0-pre-2
- Date: Wed, 3 Mar 2004 10:53:21 -0800
- In-reply-to: <17958.1078322407@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <17958.1078322407@xxxxxxx>
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..
--- 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author