Enlightenment CVS committal Author : tilman Project : e17 Module : libs/evas
Dir : e17/libs/evas Modified Files: configure.in Log Message: tweaked fontconfig check =================================================================== RCS file: /cvs/e/e17/libs/evas/configure.in,v retrieving revision 1.209 retrieving revision 1.210 diff -u -3 -r1.209 -r1.210 --- configure.in 22 Mar 2007 16:16:30 -0000 1.209 +++ configure.in 23 Mar 2007 22:25:12 -0000 1.210 @@ -90,30 +90,25 @@ ####################################### ## FontConfig -AC_MSG_CHECKING(whether fontconfig searching is to be built) -AC_ARG_ENABLE(fontconfig, AC_HELP_STRING([--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" - ] +AC_ARG_ENABLE(fontconfig, + AC_HELP_STRING( + [--enable-fontconfig], + [enable fontconfig for finding fonts. [[default=enabled]]] + ), [ + have_fontconfig=$enableval + ], [ + 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]) - ], - [ - have_fontconfig="no" - ] - ) -else - AC_MSG_RESULT(no) + # Check if really available + PKG_CHECK_MODULES(FONTCONFIG, fontconfig, [ + have_fontconfig="yes" + AC_DEFINE(HAVE_FONTCONFIG, 1, [have fontconfig searching capabilities]) + ], [ + have_fontconfig="no" + ]) fi ############### ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs