diff options
author | phintuka <phintuka> | 2007-12-22 20:29:59 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-12-22 20:29:59 +0000 |
commit | 33b29faf481f815184b1c0bd260a8aa607f6739a (patch) | |
tree | 9dc7924594601883f47aad3f7e2a8a8df2e693b4 | |
parent | 970f5f2a914a977ec474c87b3e11132f45cbe604 (diff) | |
download | xineliboutput-33b29faf481f815184b1c0bd260a8aa607f6739a.tar.gz xineliboutput-33b29faf481f815184b1c0bd260a8aa607f6739a.tar.bz2 |
Do the test only once
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4,7 +4,7 @@ # See the main source file 'xineliboutput.c' for copyright information and # how to reach the author. # -# $Id: Makefile,v 1.25 2007-12-22 20:28:51 phintuka Exp $ +# $Id: Makefile,v 1.26 2007-12-22 20:29:59 phintuka Exp $ # # The official name of this plugin. @@ -217,7 +217,11 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' \ -DXINELIBOUTPUT_VERSION='"$(VERSION)"' # check for yaegp patch -DEFINES += $(shell grep -q 'vidWin' \$(VDRINCDIR)/vdr/osd.h && echo "-DYAEGP_PATCH") +YAEPG = $(shell grep -q 'vidWin' \$(VDRINCDIR)/vdr/osd.h && echo "1") +ifeq ($(YAEPG), 1) + DEFINES += -DYAEGP_PATCH +endif +#DEFINES += $(shell grep -q 'vidWin' \$(VDRINCDIR)/vdr/osd.h && echo "-DYAEGP_PATCH") ifeq ($(XINELIBOUTPUT_XINEPLUGIN), 1) CFLAGS += $(pkg-config libxine --cflags || shell xine-config --cflags) |