Enlightenment CVS committal Author : raster Project : e17 Module : apps/expedite
Dir : e17/apps/expedite Modified Files: configure.in Log Message: sdl engine support in expedite =================================================================== RCS file: /cvs/e/e17/apps/expedite/configure.in,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- configure.in 27 May 2007 13:02:22 -0000 1.4 +++ configure.in 16 Jul 2007 07:27:43 -0000 1.5 @@ -89,7 +89,6 @@ [ dummy=no ], [ #include <Evas.h> ] ) -CFLAGS=$PCFLAGS if test "x$have_xlib" = "xyes" -o "x$have_xlib_16" = "xyes" -o "x$have_xlib_render" = "xyes" -o "x$have_xlib_opengl" = "xyes" ; then AC_PATH_XTRA @@ -102,6 +101,35 @@ AC_SUBST(x_libs) AC_SUBST(ddraw_libs) +####################################### +## 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 + +sdl_cflags="" +sdl_libs="" + +have_sdl="no" +AC_CHECK_HEADER(Evas_Engine_SDL.h, + [ AC_DEFINE(HAVE_SOFTWARE_SDL, 1, [Evas Software SDL Support]) + have_sdl="yes" + sdl_cflags=`$SDL_CONFIG --cflags` + sdl_libs=`$SDL_CONFIG --libs` ], + [ dummy=no ], + [ #include <Evas.h> ] +) + +AC_SUBST(sdl_cflags) +AC_SUBST(sdl_libs) + +CFLAGS=$PCFLAGS + AC_OUTPUT([ Makefile src/Makefile @@ -118,6 +146,7 @@ echo " X Render Xlib...........: ${have_xlib_render}" echo " Open GL Xlib............: ${have_xlib_opengl}" echo " Software DirectDraw.....: ${have_ddraw}" +echo " Software SDL............: ${have_sdl}" echo echo " Installation:" echo " prefix..................: ${prefix}" ------------------------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs