From 3aecede214bf03037925b747fdf1e0caab8f3ca7 Mon Sep 17 00:00:00 2001 From: lucash-dev Date: Tue, 1 Jan 2019 19:13:39 -0800 Subject: [PATCH] Removed duplicate error message when running make without running configure first. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 22064055d..0bf16b1f0 100644 --- a/Makefile +++ b/Makefile @@ -188,10 +188,13 @@ endif default: all-programs all-test-programs -config.vars ccan/config.h: configure ccan/tools/configurator/configurator.c - @if [ ! -f config.vars ]; then echo 'The 1990s are calling: use ./configure!' >&2; exit 1; fi +ccan/config.h: config.vars configure ccan/tools/configurator/configurator.c ./configure --reconfigure +config.vars: + @echo 'File config.vars not found: you must run ./configure before running make.' >&2 + @exit 1 + include external/Makefile include bitcoin/Makefile include common/Makefile