diff options
author | lordjaxom <lordjaxom> | 2004-12-09 14:27:06 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2004-12-09 14:27:06 +0000 |
commit | e4c359b5c303cecfc49fb82799805da9fee8dadb (patch) | |
tree | ca09dced5d5794edac92e64c54b04a07a4a4c4ea /Makefile | |
parent | 5382d18d05d358bb1c313c642395e835aa44a6a0 (diff) | |
download | vdr-plugin-text2skin-e4c359b5c303cecfc49fb82799805da9fee8dadb.tar.gz vdr-plugin-text2skin-e4c359b5c303cecfc49fb82799805da9fee8dadb.tar.bz2 |
1.0-pre2v1.0-pre2
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -13,7 +13,7 @@ HAVE_FREETYPE=1 # DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU'RE DOING # ------------------------------------------------------------- # -# $Id: Makefile,v 1.7 2004/12/08 18:47:37 lordjaxom Exp $ +# $Id: Makefile,v 1.8 2004/12/09 12:43:14 lordjaxom Exp $ # # The official name of this plugin. @@ -74,8 +74,13 @@ ifdef HAVE_IMAGEMAGICK endif ifdef HAVE_FREETYPE - INCLUDES += $(shell freetype-config --cflags) - LIBS += $(shell freetype-config --libs) + ifneq ($(shell which freetype-config),) + INCLUDES += $(shell freetype-config --cflags) + LIBS += $(shell freetype-config --libs) + else + INCLUDES += -I/usr/include/freetype -I/usr/local/include/freetype + LIBS += -lfreetype + endif DEFINES += -DHAVE_FREETYPE OBJS += graphtft/font.o endif |