Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : apps/expedite

Dir     : e17/apps/expedite


Modified Files:
        configure.in 


Log Message:
Glew OpenGL engine support added.

===================================================================
RCS file: /cvs/e/e17/apps/expedite/configure.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- configure.in        16 Jul 2007 07:27:43 -0000      1.5
+++ configure.in        5 Aug 2007 07:31:57 -0000       1.6
@@ -25,7 +25,7 @@
   PACKAGE_BIN_DIR="${bindir}"
 fi
 AC_SUBST(PACKAGE_BIN_DIR)
-               
+
 if test "x${libdir}" = 'xNONE'; then
   if test "x${prefix}" = "xNONE"; then
     PACKAGE_LIB_DIR="${ac_default_prefix}/lib"
@@ -49,6 +49,15 @@
 PCFLAGS=$CFLAGS
 CFLAGS="$EVAS_CFLAGS $CFLAGS"
 
+have_glew_opengl="no"
+AC_CHECK_HEADER(Evas_Engine_GL_Glew.h,
+  [ AC_DEFINE(HAVE_EVAS_GL_GLEW, 1, [Evas GL Glew Engine Support])
+    have_glew_opengl="yes"
+    glew_libs="-lglew32 -lgdi32" ],
+  [ dummy=no ],
+  [ #include <Evas.h> ]
+)
+
 have_xlib_opengl="no"
 AC_CHECK_HEADER(Evas_Engine_GL_X11.h,
   [ AC_DEFINE(HAVE_EVAS_GL, 1, [Evas GL Engine Support])
@@ -100,6 +109,7 @@
 AC_SUBST(x_cflags)
 AC_SUBST(x_libs)
 AC_SUBST(ddraw_libs)
+AC_SUBST(glew_libs)
 
 #######################################
 ## SDL
@@ -144,6 +154,7 @@
 echo "    Software Xlib...........: ${have_xlib}"
 echo "    Software Xlib 16 bits...: ${have_xlib_16}"
 echo "    X Render Xlib...........: ${have_xlib_render}"
+echo "    Open GL Glew............: ${have_glew_opengl}"
 echo "    Open GL Xlib............: ${have_xlib_opengl}"
 echo "    Software DirectDraw.....: ${have_ddraw}"
 echo "    Software SDL............: ${have_sdl}"



-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to