]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
revert config.h/config.h.in freshness checks
authorDamien Miller <djm@mindrot.org>
Thu, 5 Sep 2019 11:38:40 +0000 (21:38 +1000)
committerDamien Miller <djm@mindrot.org>
Thu, 5 Sep 2019 11:38:40 +0000 (21:38 +1000)
turns out autoreconf and configure don't touch some files if their content
doesn't change, so the mtime can't be relied upon in a makefile rule

Makefile.in

index de7757f931ba15b3260474454ce2eec774014aec..8a450ce0477989d94c0693e3428c4f418396fdb4 100644 (file)
@@ -156,14 +156,10 @@ 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.in config.h
+configure-check: configure
 
-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
+configure: configure.ac aclocal.m4
+       @echo "ERROR: configure is out of date; please run ${AUTORECONF} (and configure)" 1>&2
        @exit 1
 
 .c.o: