+if test $with_fontconfig != "no" ; then {
+ PKG_CHECK_MODULES(FONTCONFIG, fontconfig,[
+ with_fontconfig="yes"
+ ],[
+ with_fontconfig="no"
+ ])
+} ; fi
+
+if test $with_fontconfig = "yes" ; then {
+ AC_DEFINE(WITH_FONTCONFIG,[],[enable fontconfig support])
+ AM_CONDITIONAL(WITH_FONTCONFIG,true)
+} else {
+ AM_CONDITIONAL(WITH_FONTCONFIG,false)
+} ; fi