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
$(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: