[Gridflow-cvs] [svn] commit: r4671 - /trunk/configure

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Nov 1 22:18:07 EST 2009


Author: matju
Date: Sun Nov  1 22:18:07 2009
New Revision: 4671

Log:
check for OpenGL instead of check for GEM

Modified:
    trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sun Nov  1 22:18:07 2009
@@ -232,7 +232,6 @@
 end
 
 LOG.puts "-"*64
-
 $CFLAGS += " -I/usr/X11R6/include"
 $C_INCLUDE_PATH.unshift "/usr/X11R6/include"
 
@@ -549,16 +548,6 @@
 			#include#
 			int main () {return !gobj_subscribe;}`}}
 Feature.add {
-	tag :gem09
-	name "PureData GEM (source code) with m_holdname"
-	uses_feature [:puredata]
-	uses_o ["src/gem.o"]
-	options ["HAVE_GEM"]
-	test proc {
-		c_test %`
-			#include "Base/GemBase.h"
-			int main () {CPPExtern::m_holdname; return 0;}`}}
-Feature.add {
 	tag :opencv
 	name "Intel OpenCV"
 	uses_o ["src/opencv.o"]
@@ -579,6 +568,21 @@
 		c_test %`
 			#include <fftw3.h>
 			int main () {return 0;}`}}
+Feature.add {
+	tag :opengl
+	name "OpenGL (for GEM support)"
+	uses_feature [:puredata]
+	uses_o ["src/gem.o"]
+        uses_so $LIBX11DIR+["-lGL"]
+        uses_h ["GL/gl.h"]
+	options ["HAVE_GEM"]
+	test proc {
+		c_test %`
+                #include#
+                int main () {return (GLint)0;}
+                `
+        }
+}
 #--------------------------------#
 
 $features_h = {}



More information about the Gridflow-cvs mailing list