Enlightenment CVS committal Author : stffrdhrn Project : e17 Module : libs/evas
Dir : e17/libs/evas Modified Files: configure.in Log Message: Add fontconfig to evas for finding fonts * This can be disabled with --enable-fontconfig=no * Test in e17 with "enlightenment_remote -font-default-set title_bar Serif 12" * This is just the beginning: TODO: style searching, language reorder bypass =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/configure.in,v retrieving revision 1.148 retrieving revision 1.149 diff -u -3 -r1.148 -r1.149 --- configure.in 17 Mar 2006 09:18:15 -0000 1.148 +++ configure.in 19 Mar 2006 04:29:56 -0000 1.149 @@ -124,6 +124,40 @@ [ AC_MSG_ERROR(Freetype isn't installed) ] ) +####################################### +## FontConfig + +AC_MSG_CHECKING(whether fontconfig searching is to be built) +AC_ARG_ENABLE(fontconfig, [ --enable-fontconfig enable fontconfig for finding fonts], [ + if test x"$enableval" = x"yes" ; then + have_fontconfig="yes" + else + have_fontconfig="no" + fi + ], [ + have_fontconfig="yes" + ] +) +if test "x$have_fontconfig" = "xyes"; then + # Check if really available + PKG_CHECK_MODULES(FONTCONFIG, fontconfig, + [ + have_fontconfig="yes" + AC_DEFINE(HAVE_FONTCONFIG, 1, [have fontconfig searching capabilities]) + AC_MSG_RESULT(yes) + ], + [ + have_fontconfig="no" + AC_MSG_RESULT(no) + ] + ) +else + AC_MSG_RESULT(no) +fi + +############### +## dlopen + dlopen_libs="" AC_CHECK_FUNCS(dlopen, res=yes, res=no) if test "x$res" = "xyes"; then @@ -1748,6 +1782,9 @@ echo echo "Font Sourcing Systems:" echo " EET.....................: $have_eet_fonts" +echo +echo "Font Searching Systems:" +echo " FontConfig..............: $have_fontconfig" # FIXME: add non freetype2 font engine support # FIXME: make freetype2 optional echo ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs