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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Sep 18 06:53:41 EDT 2010


Author: mescalinum
Date: Sat Sep 18 06:53:40 2010
New Revision: 6277

Log:
fix WIN arch and lib GLEW detection for mingw64

Modified:
    trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sat Sep 18 06:53:40 2010
@@ -24,7 +24,7 @@
 $CFLAGS  = ""
 include Config
 OSX = !!( CONFIG["arch"] =~ /darwin/ )
-WIN = !!( CONFIG["arch"] =~ /mingw/ )
+WIN = !!( CONFIG["arch"] =~ /(mingw|mswin)/ )
 # require "win32/process" if WIN
 LOG = File.open "./config.log", "w"
 
@@ -547,7 +547,7 @@
 	name "FFTW (Fastest Fourier Transform in the West)"
 	produces_o ["src/fftw.o"]
 	uses_so ["-lfftw3f"  ,"-lfftw3"  ]
-	uses_so ["-lfftw3f-3","-lfftw3-3"] if WIN
+	#uses_so ["-lfftw3f-3","-lfftw3-3"] if WIN
 	options ["HAVE_FFTW"]
 	test proc {
 		c_test %`
@@ -558,6 +558,7 @@
 	name "OpenGL/GLEW (for GEM support, etc)"
 	produces_o ["src/opengl.o"]
         uses_so $LIBX11DIR+["-lGLEW"] if not WIN
+	uses_so ["-lglew32"] if WIN
         uses_h ["GL/glew.h"]
 	options ["HAVE_OPENGL"]
 	test proc {



More information about the Gridflow-cvs mailing list