summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-12-09 14:27:06 +0000
committerlordjaxom <lordjaxom>2004-12-09 14:27:06 +0000
commite4c359b5c303cecfc49fb82799805da9fee8dadb (patch)
treeca09dced5d5794edac92e64c54b04a07a4a4c4ea /Makefile
parent5382d18d05d358bb1c313c642395e835aa44a6a0 (diff)
downloadvdr-plugin-text2skin-e4c359b5c303cecfc49fb82799805da9fee8dadb.tar.gz
vdr-plugin-text2skin-e4c359b5c303cecfc49fb82799805da9fee8dadb.tar.bz2
1.0-pre2v1.0-pre2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2439122..aba3e9c 100644
--- a/Makefile
+++ b/Makefile
@@ -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