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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Jan 24 17:14:22 EST 2010


Author: matju
Date: Sun Jan 24 17:14:21 2010
New Revision: 4923

Log:
win32 sdl

Modified:
    trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sun Jan 24 17:14:21 2010
@@ -26,7 +26,7 @@
 include Config
 OSX = !!( CONFIG["arch"] =~ /darwin/ )
 
-require "win32/process" if CONFIG["arch"] =~ /mingw/
+# require "win32/process" if CONFIG["arch"] =~ /mingw/
 LOG = File.open "./config.log", "w"
 
 Red   = "\e[0;1;31m"
@@ -240,6 +240,7 @@
 	defines :GCC_VERSION => proc {
 		m = /GCC_VERSION\s+(.*)/.match(File.popen("tmp/#{$$}","r"){|f| f.read })
 		m[1]
+		#"3.666"
 	}
 	# how does this handle two test procs again?
 	test proc {
@@ -350,11 +351,12 @@
 	tag :sdl
 	name "Simple Directmedia Layer (experimental support)"
 	uses_so {
-		a=["-lSDL","-lpthread"]
-		a << "-lobjc" if OSX
+		#a=["-lSDL","-lpthread"]; a << "-lobjc" if OSX
+		a=["$$(sdl-config --libs)"]
 		a
 	}
-	uses_h ["SDL/SDL.h"]
+	#uses_h ["SDL/SDL.h"]
+	#uses_h ["$$(sdl-config --cflags)"]
 	uses_o ["src/sdl.o"]
 	test proc {
 		c_test "



More information about the Gridflow-cvs mailing list