]> git.vomp.tv Git - vompserver.git/commitdiff
VDR 1.6.0 compatibility
authorChris Tallon <chris@dhcp17.loggytronic.net>
Sat, 2 Jun 2012 14:52:45 +0000 (15:52 +0100)
committerChris Tallon <chris@dhcp17.loggytronic.net>
Sat, 2 Jun 2012 14:52:45 +0000 (15:52 +0100)
Makefile

index aa810645a37cda4746bbcca0e206c877bbb956cf..81e882507da69d646bb992ca60f08fef9593ca6e 100644 (file)
--- 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: