revert config.h/config.h.in freshness checks

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
This commit is contained in:
Damien Miller 2019-09-05 21:38:40 +10:00
parent a97609e850
commit afdf27f5ac
1 changed files with 3 additions and 7 deletions

View 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: