From: Chris Tallon Date: Sat, 2 Jun 2012 14:52:45 +0000 (+0100) Subject: VDR 1.6.0 compatibility X-Git-Tag: 0-4-0~5^2 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=95a20753095438be1a13c80599912107436c69f7;p=vompserver.git VDR 1.6.0 compatibility --- 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: