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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed Apr 20 21:55:55 EDT 2011


Author: matju
Date: Wed Apr 20 21:55:54 2011
New Revision: 6769

Log:
detect libfreenect

Modified:
    trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Wed Apr 20 21:55:54 2011
@@ -413,6 +413,14 @@
 	test proc {|f| f.c_test %`
 		#include <fftw3.h>
 		int main () {return 0;}`}}
+Feature.add("kinect","libfreenect") {
+	produces_o ["src/kinect.o"]
+	uses_so ["-lfreenect"]
+	test proc {c_test %`
+		#include <libfreenect/libfreenect.h>
+		int main () {return !freenect_set_led;}
+	`}
+}
 Feature.add("opengl","OpenGL/GLEW (for GEM support and [gf/gl])") {
 	produces_o ["src/opengl.o"]
         uses_so LIBX11DIR+["-lGLEW"] if not WIN



More information about the Gridflow-cvs mailing list