From 95a20753095438be1a13c80599912107436c69f7 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sat, 2 Jun 2012 15:52:45 +0100 Subject: [PATCH] VDR 1.6.0 compatibility --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index aa81064..81e8825 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,10 @@ TMPDIR = /tmp ### Make sure that necessary options are included: +APIVERSNUM = $(shell grep 'define APIVERSNUM ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g') +ifeq ($(shell test $(APIVERSNUM) -ge 10713; echo $$?),0) # thanks streamdev include $(VDRDIR)/Make.global +endif ### Allow user defined options to overwrite defaults: -- 2.39.2