Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas


Modified Files:
        configure.in 


Log Message:
fix the case where gl-common is not built if gl_x11 is built and gl_glew is 
not. gl_common should be check apart those 2 engines, imho

===================================================================
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -3 -r1.225 -r1.226
--- configure.in        5 Aug 2007 07:22:44 -0000       1.225
+++ configure.in        6 Aug 2007 15:36:59 -0000       1.226
@@ -609,10 +609,7 @@
 ## Automatic check...
 AC_CHECK_HEADERS(GL/glew.h,
   [ have_evas_gl_glew="yes" ],
-  [ have_evas_gl_glew="no" ],
-  [
-#include <windows.h>
-  ]
+  [ have_evas_gl_glew="no" ]
 )
 ## manually disable gl engine by default - not auto detected.
 have_evas_gl_glew="no"
@@ -635,17 +632,13 @@
       AC_DEFINE(BUILD_ENGINE_GL_COMMON, 1, [Generic OpenGL Rendering Support])
       glew_libs="-lglew32 -lopengl32 -lgdi32"
       gl_libs="-lglu32"
-
     ], [
       have_evas_gl_glew="no"
-    ],
-    [
-#include <windows.h>
     ]
   )
 fi
 AM_CONDITIONAL(BUILD_ENGINE_GL_GLEW, test "x$have_evas_gl_glew" = "xyes")
-AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, test "x$have_evas_gl_glew" = "xyes")
+AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, test "x$have_evas_gl_glew" = "xyes" -o 
"x$have_evas_gl_x11" = "xyes")
 
 
 



-------------------------------------------------------------------------
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