From e4c359b5c303cecfc49fb82799805da9fee8dadb Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Thu, 9 Dec 2004 14:27:06 +0000 Subject: 1.0-pre2 --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3