Removed duplicate error message when running make without running configure first.

This commit is contained in:
lucash-dev 2019-01-01 19:13:39 -08:00 committed by Christian Decker
parent e6c68b606d
commit 3aecede214

View file

@ -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