Skip to content

Commit 3aecede

Browse files
lucash-devcdecker
authored andcommitted
Removed duplicate error message when running make without running configure first.
1 parent e6c68b6 commit 3aecede

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,13 @@ endif
188188

189189
default: all-programs all-test-programs
190190

191-
config.vars ccan/config.h: configure ccan/tools/configurator/configurator.c
192-
@if [ ! -f config.vars ]; then echo 'The 1990s are calling: use ./configure!' >&2; exit 1; fi
191+
ccan/config.h: config.vars configure ccan/tools/configurator/configurator.c
193192
./configure --reconfigure
194193

194+
config.vars:
195+
@echo 'File config.vars not found: you must run ./configure before running make.' >&2
196+
@exit 1
197+
195198
include external/Makefile
196199
include bitcoin/Makefile
197200
include common/Makefile

0 commit comments

Comments
 (0)