Commit 807cfa0b authored by Vladimír Čunát's avatar Vladimír Čunát

Makefile refactoring: abstract knot version

parent 8d37a266
......@@ -16,9 +16,10 @@ BUILD_CFLAGS += --coverage
# Dependencies
$(eval $(call find_lib,libknot,2.3.1,yes))
$(eval $(call find_lib,libdnssec,2.3.1,yes))
$(eval $(call find_lib,libzscanner,2.3.1,yes))
KNOT_MINVER := 2.3.1
$(eval $(call find_lib,libknot,$(KNOT_MINVER),yes))
$(eval $(call find_lib,libdnssec,$(KNOT_MINVER),yes))
$(eval $(call find_lib,libzscanner,$(KNOT_MINVER),yes))
$(eval $(call find_lib,lmdb))
$(eval $(call find_lib,libuv,1.0,yes))
$(eval $(call find_lib,nettle,,yes))
......@@ -127,13 +128,13 @@ info:
# Verify required dependencies are met, as listed above
ifeq ($(HAS_libknot),no)
$(error libknot >= 2.3.1 required)
$(error libknot >= $(KNOT_MINVER) required)
ifeq ($(HAS_libzscanner),no)
$(error libzscanner >= 2.3.1 required)
$(error libzscanner >= $(KNOT_MINVER) required)
ifeq ($(HAS_libdnssec),no)
$(error libdnssec >= 2.3.1 required)
$(error libdnssec >= $(KNOT_MINVER) required)
ifeq ($(HAS_lua),no)
$(error luajit required)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment