Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in 


Log Message:

 spanky's patch is in

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -3 -r1.64 -r1.65
--- configure.in        8 Dec 2004 20:29:45 -0000       1.64
+++ configure.in        27 Dec 2004 14:40:57 -0000      1.65
@@ -400,7 +400,10 @@
 ]
 )
 
-if test "x$have_ecore_evas_gl" = "xyes"; then
+dnl GL support requires X support, so we should
+dnl handle the case where our user is on crack
+dnl i.e. user disables X but enables GL
+if test "x$have_ecore_evas_gl" = "xyes" -a "x$have_ecore_x" = "xyes"; then
   AC_CHECK_HEADER(Evas_Engine_GL_X11.h,
     [
       AM_CONDITIONAL(BUILD_ECORE_EVAS_GL, true)
@@ -414,6 +417,10 @@
   )
 else
   AM_CONDITIONAL(BUILD_ECORE_EVAS_GL, false)
+  if test "x$have_ecore_evas_gl" = "xyes"; then
+    have_ecore_evas_gl="no"
+    AC_MSG_WARN(Silly monkey: ecore_evas_gl requires ecore_x ... disabling 
ecore_evas_gl)
+  fi
 fi
 
 if test "x$have_ecore_evas_gl" = "xyes"; then




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to