Enlightenment CVS committal Author : codewarrior Project : e17 Module : libs/etk
Dir : e17/libs/etk Modified Files: configure.in Log Message: Remainder of Adre's patch to allow engines to have init params. =================================================================== RCS file: /cvs/e/e17/libs/etk/configure.in,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- configure.in 23 Jun 2007 08:03:52 -0000 1.26 +++ configure.in 29 Jun 2007 12:00:13 -0000 1.27 @@ -128,7 +128,7 @@ AC_DEFINE(HAVE_ECORE_X, 0, [Define to 1 if you have the Ecore_X headers and libraries]) ]) -AM_CONDITIONAL(BUILD_ENGINE_EE_S_X11, test $have_ecore_x = yes) +AM_CONDITIONAL(BUILD_ENGINE_EE_S_X11, test "x$have_ecore_x" = "xyes") ##################################################################### ## Ecore_FB @@ -141,7 +141,27 @@ AC_DEFINE(HAVE_ECORE_FB, 0, [Define to 1 if you have the Ecore_FB headers and libraries]) ]) -AM_CONDITIONAL(BUILD_ENGINE_E_FB, test $have_ecore_fb = yes) +AC_ARG_ENABLE(ecore-fb-x11-support, + AC_HELP_STRING( + [--enable-ecore-fb-x11-support], + [enable the ecore_fb engine X11 support. [[default=enabled]]]), + [ want_ecore_fb_x11_support=$enableval ], + [ want_ecore_fb_x11_support="yes" ]) + +AC_MSG_CHECKING(whether engine ecore_fb with X11 support is to be built) +AC_MSG_RESULT($want_ecore_fb_x11_support) + +if test "x$want_ecore_fb_x11_support" = "xyes"; then + if test "x$have_ecore_fb" = "xyes" -a "x$have_ecore_x" = "xyes"; then + have_ecore_fb_x11_support=yes + AC_DEFINE(ENGINE_E_FB_X11_SUPPORT, [1], [Build support for X11 on ecore_fb engine]) + else + have_ecore_fb_x11_support=no + AC_MSG_WARN(Silly monkey: engine ecore_fb X11 support requires ecore_fb and ecore_x ... disabling ecore_fb X11 support) + fi +fi + +AM_CONDITIONAL(BUILD_ENGINE_E_FB, test "x$have_ecore_fb" = "xyes") ##################################################################### ## Gettext @@ -245,6 +265,7 @@ echo echo " Ecore Evas Software X11 Engine..............: $have_ecore_x" echo " Ecore FB Engine.............................: $have_ecore_fb" +echo " Ecore FB Engine X11 Support.................: $have_ecore_fb_x11_support" echo echo "Installation Path.........: $prefix" echo ------------------------------------------------------------------------- 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