Enlightenment CVS committal
Author : barbieri
Project : e17
Module : apps/expedite
Dir : e17/apps/expedite
Modified Files:
configure.in
Log Message:
Add initial DirectFB support.
===================================================================
RCS file: /cvs/e/e17/apps/expedite/configure.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- configure.in 17 Dec 2007 01:41:09 -0000 1.13
+++ configure.in 25 Feb 2008 06:08:33 -0000 1.14
@@ -169,6 +169,30 @@
fi
AM_CONDITIONAL(BUILD_FB, test "x$have_fb" = "xyes")
+### DIRECTFB
+want_directfb="yes"
+AC_MSG_CHECKING(whether DirectFB)
+AC_ARG_ENABLE(directfb,
+ AC_HELP_STRING([--enable-directfb], [enable DirectFB engine]),
+ [ want_directfb=$enableval ]
+)
+AC_MSG_RESULT($want_directfb)
+if test "x$want_directfb" = "xyes"; then
+ PKG_CHECK_EXISTS(evas-directfb,
+ [
+ AC_DEFINE(HAVE_EVAS_DIRECTFB, 1, [Evas DirectFB Engine Support])
+ have_evas_directfb="yes"
+ ],
+ [ have_evas_directfb="no" ]
+ )
+fi
+if test "x$have_evas_directfb" = "xyes"; then
+ PKG_CHECK_MODULES([DIRECTFB], directfb,
+ [ have_directfb="yes" ],
+ [ have_directfb="no" ])
+fi
+AM_CONDITIONAL(BUILD_DIRECTFB, test "x$have_directfb" = "xyes")
+
# TODO: Check availability of libs
### DirectDraw
want_software_ddraw="yes"
@@ -301,6 +325,7 @@
echo " Direct3D.....................: ${have_direct3d}"
echo " Software SDL.................: ${have_software_sdl}"
echo " FB...........................: ${have_fb}"
+echo " DirectFB.....................: ${have_directfb}"
echo
echo " Installation:"
echo " prefix.......................: ${prefix}"
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs