diff options
author | Damien Miller <djm@mindrot.org> | 2019-09-05 12:54:39 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-09-05 12:54:39 +0200 |
commit | a97609e850c57bd2cc2fe7e175fc35cb865bc834 (patch) | |
tree | 068fb088af63c21697800f1f7ba9348882b5fafe /Makefile.in | |
parent | check that configure/config.h is up to date (diff) | |
download | openssh-a97609e850c57bd2cc2fe7e175fc35cb865bc834.tar.xz openssh-a97609e850c57bd2cc2fe7e175fc35cb865bc834.zip |
extend autoconf freshness test
make it cover config.h.in and config.h separately
Diffstat (limited to '')
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index 4c0c9e67e..de7757f93 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: |