--- a/makefiledir/Makefile.libdetection Thu Nov 16 20:57:23 2006 +0000
+++ b/makefiledir/Makefile.libdetection Thu Nov 16 22:05:33 2006 +0000
@@ -66,6 +66,9 @@
# set libpng-config to the default value
LIBPNG_CONFIG :=libpng-config
+# set freetype-config to the default value
+FREETYPE_CONFIG:=freetype-config
+
# Networking, enabled by default
WITH_NETWORK:=1
@@ -75,6 +78,9 @@
# libpng detection
WITH_PNG:=$(shell $(LIBPNG_CONFIG) --version 2>/dev/null)
+# Freetype detection
+WITH_FREETYPE:=$(shell $(FREETYPE_CONFIG) --ftversion 2>/dev/null)
+
ifdef WITH_PNG
# LibPNG depends on Zlib
WITH_ZLIB:=1