diff -r 3c0c3da214ca -r d64bf0093ff4 makefiledir/Makefile.libdetection --- 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