summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-07-27 18:31:14 +1000
committerDarren Tucker <dtucker@dtucker.net>2022-07-27 18:31:14 +1000
commit722a56439aa5972c830e4a9a724cf52aff4a950a (patch)
tree47e4b50f770c0e0e549f129a699f1ade2783f5fe /Makefile.in
parent099d6b56288b421ba38531d26dc1bd6bb685e311 (diff)
Move stale-configure check as early as possible.
We added a check in Makefile to catch the case where configure needs to be rebuilt, however this did not happen until a build was attempted in which case all of the work done by configure was wasted. Move this check to the start of configure to catch it as early as possible. ok djm@
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index 668eeb89..778c66cf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -185,16 +185,11 @@ FIXPATHSCMD = $(SED) $(PATHSUBS)
FIXALGORITHMSCMD= $(SHELL) $(srcdir)/fixalgorithms $(SED) \
@UNSUPPORTED_ALGORITHMS@
-all: configure-check $(CONFIGFILES) $(MANPAGES) $(TARGETS)
+all: $(CONFIGFILES) $(MANPAGES) $(TARGETS)
$(LIBSSH_OBJS): Makefile.in config.h
$(SSHOBJS): Makefile.in config.h
$(SSHDOBJS): Makefile.in config.h
-configure-check: $(srcdir)/configure
-
-$(srcdir)/configure: configure.ac $(srcdir)/m4/*.m4
- @echo "ERROR: configure is out of date; please run ${AUTORECONF} (and configure)" 1>&2
- @exit 1
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@