[openssh-commits] [openssh] 01/01: extend autoconf freshness test
git+noreply at mindrot.org
git+noreply at mindrot.org
Thu Sep 5 20:55:10 AEST 2019
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit a97609e850c57bd2cc2fe7e175fc35cb865bc834
Author: Damien Miller <djm at mindrot.org>
Date: Thu Sep 5 20:54:39 2019 +1000
extend autoconf freshness test
make it cover config.h.in and config.h separately
---
Makefile.in | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 4c0c9e67..de7757f9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -156,10 +156,14 @@ all: configure-check $(CONFIGFILES) $(MANPAGES) $(TARGETS)
$(LIBSSH_OBJS): Makefile.in config.h
$(SSHOBJS): Makefile.in config.h
$(SSHDOBJS): Makefile.in config.h
-configure-check: configure config.h
+configure-check: configure config.h.in config.h
-configure config.h: configure.ac aclocal.m4
- @echo "ERROR: configure/config.h is out of date; please run ${AUTORECONF} and configure" 1>&2
+configure config.h.in: configure.ac aclocal.m4
+ @echo "ERROR: configure or config.h.in are out of date; please run ${AUTORECONF} (and configure)" 1>&2
+ @exit 1
+
+config.h: config.h.in configure
+ @echo "ERROR: config.h is out of date; please run configure" 1>&2
@exit 1
.c.o:
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list