From 36835a46ae5dff4f0c45993659d3d83972d379fe Mon Sep 17 00:00:00 2001 From: phintuka Date: Tue, 20 Aug 2013 10:25:58 +0000 Subject: Removed deprecated VDRVERSION check --- Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 9d926018..5cb8520d 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # See the main source file 'xineliboutput.c' for copyright information and # how to reach the author. # -# $Id: Makefile,v 1.110 2012-07-29 08:55:00 phintuka Exp $ +# $Id: Makefile,v 1.111 2013-08-20 10:25:58 phintuka Exp $ # # The official name of this plugin. @@ -85,24 +85,18 @@ VDRINCDIR ?= $(VDRDIR)/include ### ifeq ($(ARCH_APPLE_DARWIN), yes) - VDRVERSION = $(shell sed -ne '/define VDRVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) else - VDRVERSION = $(shell sed -ne '/define VDRVERSION/ { s/^.*"\(.*\)".*$$/\1/; p }' $(VDRDIR)/config.h) APIVERSION = $(shell sed -ne '/define APIVERSION/ { s/^.*"\(.*\)".*$$/\1/; p }' $(VDRDIR)/config.h) endif VDR_TREE = no -ifeq ($(strip $(VDRVERSION)),) +ifeq ($(strip $(APIVERSION)),) $(warning ********************************************************) $(warning VDR not detected ! VDR plugins will not be compiled. ) $(warning ********************************************************) CONFIGURE_OPTS += --disable-vdr else - ifeq ($(strip $(APIVERSION)),) - $(warning VDR APIVERSION missing, using VDRVERSION $(VDRVERSION) ) - APIVERSION = $(VDRVERSION) - endif CONFIGURE_OPTS += --add-cflags=-I$(VDRDIR) ifeq ($(VDRDIR), ../../..) -- cgit v1.2.3