From: Damien Miller Date: Thu, 5 Sep 2019 10:34:54 +0000 (+1000) Subject: check that configure/config.h is up to date X-Git-Tag: V_8_1_P1~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=182297c10edb21c4856c6a38326fd04d81de41a5;p=thirdparty%2Fopenssh-portable.git check that configure/config.h is up to date Ensure they are newer than the configure.ac / aclocal.m4 source --- diff --git a/Makefile.in b/Makefile.in index 708778d47..4c0c9e67e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -151,11 +151,16 @@ FIXPATHSCMD = $(SED) $(PATHSUBS) FIXALGORITHMSCMD= $(SHELL) $(srcdir)/fixalgorithms $(SED) \ @UNSUPPORTED_ALGORITHMS@ -all: $(CONFIGFILES) $(MANPAGES) $(TARGETS) +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 config.h: configure.ac aclocal.m4 + @echo "ERROR: configure/config.h is out of date; please run ${AUTORECONF} and configure" 1>&2 + @exit 1 .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@