diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-03 23:17:07 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-03 23:17:07 +0000 |
commit | 6fe5dfe614e44ea8f8ad3e4b296efc0a945eb4dc (patch) | |
tree | 7cb0e7addb38d39acff603d20fe5a3ffb587473e | |
parent | 648eb8dfccf457fc2fbd01286718629b006524fa (diff) | |
download | s6-dns-6fe5dfe614e44ea8f8ad3e4b296efc0a945eb4dc.tar.xz |
Add make version guard
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -7,6 +7,11 @@ it: all +make_need := 4.0 +ifeq "" "$(strip $(filter $(make_need), $(firstword $(sort $(make_need) $(MAKE_VERSION)))))" +fail := $(error Your make ($(MAKE_VERSION)) is too old. You need $(make_need) or newer) +endif + CC = $(error Please use ./configure first) STATIC_LIBS := |