makefiledir/Makefile.libdetection
changeset 5117 a4a7fd847b77
parent 5108 dc67d70b5a45
child 5426 114316885a2e
--- a/makefiledir/Makefile.libdetection	Fri Nov 17 19:31:44 2006 +0000
+++ b/makefiledir/Makefile.libdetection	Fri Nov 17 22:15:55 2006 +0000
@@ -69,6 +69,9 @@
 # set freetype-config to the default value
 FREETYPE_CONFIG:=freetype-config
 
+# set pkg-config to the default value
+FONTCONFIG_CONFIG:=pkg-config fontconfig
+
 # Networking, enabled by default
 WITH_NETWORK:=1
 
@@ -81,6 +84,9 @@
 # Freetype detection
 WITH_FREETYPE:=$(shell $(FREETYPE_CONFIG) --ftversion 2>/dev/null)
 
+# fontconfig detection
+WITH_FONTCONFIG:=$(shell $(FONTCONFIG_CONFIG) --modversion 2>/dev/null)
+
 ifdef WITH_PNG
 	# LibPNG depends on Zlib
 	WITH_ZLIB:=1