diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-06-11 20:21:55 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-06-11 20:21:55 +0200 |
commit | c870c7dec6c2f54fb27240762b2a96ded5a5cffe (patch) | |
tree | 4780ab4ee30e1972c11795b2c6d52fde42dabfd2 | |
parent | ae0bb23a94f1063cc95bf25ca6c6c66cd2e00c59 (diff) | |
download | vdr-plugin-graphlcd-c870c7dec6c2f54fb27240762b2a96ded5a5cffe.tar.gz vdr-plugin-graphlcd-c870c7dec6c2f54fb27240762b2a96ded5a5cffe.tar.bz2 |
add more ways to tell the plugin that femon-plugin is ok
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -12,6 +12,10 @@ PLUGIN = graphlcd # define this if you built graphlcd-base with freetype: HAVE_FREETYPE2 = 1 +# define this if femon-plugin <= 1.7.7 is used AND which has already been patched (see README) +# either define this setting here or in $VDRDIR/Make.config or in $VDRDIR/Make.global +# HAVE_VALID_FEMON = 1 + ### The version number of this plugin (taken from the main source file): VERSION = $(shell grep 'static const char \*VERSION *=' plugin.c | awk '{ print $$6 }' | sed -e 's/[";]//g') @@ -65,8 +69,11 @@ ifdef HAVE_FREETYPE2 DEFINES += -DHAVE_FREETYPE2 endif -### If femon-plugin <= 1.7.7 is used and has already been patched (see README) -# DEFINES += -DGRAPHLCD_SERVICE_FEMON_VALID +# if a valid and/or fixed femon-plugin is available +ifdef HAVE_VALID_FEMON + DEFINES += -DGRAPHLCD_SERVICE_FEMON_VALID +endif + ### The object files (add further files here): |