Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas
Modified Files:
README.in configure.in
Log Message:
cedric's sdl patch.
===================================================================
RCS file: /cvs/e/e17/libs/evas/README.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- README.in 18 Jun 2007 23:50:46 -0000 1.5
+++ README.in 16 Jul 2007 07:25:33 -0000 1.6
@@ -14,6 +14,7 @@
X11R6
XCB
DirectFB
+ SDL
OpenGL (underway at the moment)
Linux
Qtopia
@@ -126,6 +127,12 @@
really good. it may also be useful for embedded devices supported by
directfb that offer acceleration (otherwise the fb driver will likely be
faster).
+
+--enable-sdl
+
+this is the sdl engine that uses sdl library (http://www.libsdl.org). This
+library should work on many operating system.
+
CPU:
--enable-cpu-c
===================================================================
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -3 -r1.222 -r1.223
--- configure.in 10 Jul 2007 00:13:25 -0000 1.222
+++ configure.in 16 Jul 2007 07:25:33 -0000 1.223
@@ -71,6 +71,8 @@
qt_cflags=""
qt_libs=""
qt_moc="moc"
+sdl_cflags=""
+sdl_libs=""
#####################################################################
@@ -357,6 +359,58 @@
AM_CONDITIONAL(BUILD_ENGINE_DIRECTFB, test "x$have_evas_directfb" = "xyes")
#######################################
+## SDL
+AC_ARG_WITH(sdl-config, [ --with-sdl-config=SDL_CONFIG use sdl-config
specified],
+[ SDL_CONFIG=$withval;
+ echo "using "$SDL_CONFIG" for sdl-config"; ],
+[ if test -z "$SDL_CONFIG"; then
+ AC_PATH_PROG(SDL_CONFIG, "sdl-config", "", $PATH)
+ fi
+])
+if test -z "$SDL_CONFIG" ; then SDL_CONFIG="sdl-config"; fi
+
+#######################################
+## Check if we should build the sdl engine
+have_evas_sdl="no";
+ENGINE_SDL_PRG="";
+## Automatic check...
+AC_CHECK_HEADER(SDL/SDL.h,
+ [ have_evas_sdl="yes" ],
+ [ have_evas_sdl="no" ]
+)
+
+# Manual override
+AC_MSG_CHECKING(whether SDL backend is to be built)
+AC_ARG_ENABLE(sdl, AC_HELP_STRING([--enable-sdl],[enable the SDL rendering
backend]), [
+ if test x"$enableval" = x"yes" ; then
+ AC_MSG_RESULT(yes)
+ have_evas_sdl="yes"
+ else
+ AC_MSG_RESULT(no)
+ have_evas_sdl="no"
+ fi
+ ], [
+ AC_MSG_RESULT($have_evas_sdl)
+ ]
+)
+if test "x$have_evas_sdl" = "xyes"; then
+ if test "x$SDL_CONFIG" = "xno" ; then
+ have_evas_sdl= "no"
+ AM_CONDITIONAL(BUILD_ENGINE_SDL, false)
+ AC_MSG_RESULT(disabling sdl engine)
+ else
+ ENGINE_SDL_PRG="evas_sdl_test"
+ sdl_cflags=`$SDL_CONFIG --cflags`
+ sdl_libs=`$SDL_CONFIG --libs`
+ AM_CONDITIONAL(BUILD_ENGINE_SDL, true)
+ AC_DEFINE(BUILD_ENGINE_SDL, 1, [SDL Rendering Backend])
+ fi
+else
+ AM_CONDITIONAL(BUILD_ENGINE_SDL, false)
+ have_evas_sdl="no"
+fi
+
+#######################################
## Check if we should build the fb engine
have_evas_fb="no";
## Automatic check...
@@ -2017,6 +2071,9 @@
AC_SUBST(x_cflags)
AC_SUBST(x_libs)
+AC_SUBST(sdl_cflags)
+AC_SUBST(sdl_libs)
+
AC_SUBST(xcb_cflags)
AC_SUBST(xcb_libs)
AC_SUBST(xcbrender_cflags)
@@ -2068,6 +2125,7 @@
src/lib/data/Makefile
src/lib/file/Makefile
src/lib/imaging/Makefile
+src/lib/cache/Makefile
src/lib/engines/Makefile
src/lib/engines/common/Makefile
src/lib/engines/common/evas_op_add/Makefile
@@ -2093,6 +2151,7 @@
src/modules/engines/cairo_x11/Makefile
src/modules/engines/xrender_x11/Makefile
src/modules/engines/xrender_xcb/Makefile
+src/modules/engines/software_sdl/Makefile
src/modules/engines/glitz_x11/Makefile
src/modules/engines/software_16/Makefile
src/modules/engines/software_16_x11/Makefile
@@ -2137,6 +2196,7 @@
echo " Software Qtopia.........: $have_evas_qtopia"
echo " Software Memory Buffer..: $have_evas_buffer"
echo " DirectFB................: $have_evas_directfb"
+echo " SDL.....................: $have_evas_sdl"
echo " OpenGL X11..............: $have_evas_gl_x11"
echo " Cairo X11...............: $have_evas_cairo_x11"
echo " XRender X11.............: $have_evas_xrender_x11"
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs