Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl


Modified Files:
        configure.in 


Log Message:
- patch from Cedric Bail to add Evas Software SDL engine to Ewl. (Bug 228)
- Unfinished and Untested at the moment.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/configure.in,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -3 -r1.113 -r1.114
--- configure.in        26 Aug 2007 14:33:41 -0000      1.113
+++ configure.in        17 Oct 2007 02:00:55 -0000      1.114
@@ -89,6 +89,24 @@
 fi
 AM_CONDITIONAL(EWL_ENABLE_EVAS_SOFTWARE_X11, test "x$have_software_x11" = xyes)
 
+AC_ARG_ENABLE(software-sdl,
+       [AC_HELP_STRING([--enable-software-sdl],[enable software SDL support])],
+       [enable_software_sdl=$enableval], [enable_software_sdl="auto"])
+have_software_sdl=no
+if test "x$enable_software_sdl" != "xno" ; then
+       AC_CHECK_HEADER(Evas_Engine_SDL.h,
+               [AC_CHECK_HEADER(Ecore_Sdl.h,
+                       [have_software_sdl=yes],
+                       [], [#include <Ecore.h>])],
+               [], [#include <Evas.h>])
+       if test "x$have_software_sdl" = "xyes" ; then
+               AC_DEFINE(ENABLE_EWL_SOFTWARE_SDL, 1, [Enable SDL Software])
+       elif test "x$enable_software_sdl" = "xyes" ; then
+               AC_MSG_ERROR(software SDL requested but no evas/ecore support 
found)
+       fi
+fi
+AM_CONDITIONAL(EWL_ENABLE_EVAS_SOFTWARE_SDL, test "x$have_software_sdl" = xyes)
+
 AC_ARG_ENABLE(software-16-x11,
        [AC_HELP_STRING([--enable-software-16-x11],[enable software X11 
support])],
        [enable_software_16_x11=$enableval], [enable_software_16_x11="auto"])
@@ -322,6 +340,7 @@
 src/engines/x11/Makefile
 src/engines/evas/Makefile
 src/engines/evas_software_x11/Makefile
+src/engines/evas_software_sdl/Makefile
 src/engines/evas_software_16_x11/Makefile
 src/engines/evas_xrender_x11/Makefile
 src/engines/evas_gl_x11/Makefile
@@ -353,6 +372,7 @@
 echo "  OpenGL X11...............................: $have_opengl_x11" 
 echo "  XRender X11..............................: $have_xrender_x11"
 echo "  Framebuffer..............................: $have_fbcon"
+echo "  SDL......................................: $have_software_sdl"
 echo "  Buffer...................................: $have_buffer"
 echo
 echo "Optional Components:"



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to