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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Mon Jan 25 21:06:41 EST 2010


Author: pboivin
Date: Mon Jan 25 21:06:40 2010
New Revision: 4942

Log:
temporary fix for SDL headers ?


Modified:
    trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Mon Jan 25 21:06:40 2010
@@ -133,7 +133,8 @@
 		link=link.flatten
 		ldlpath = ENV["LD_LIBRARY_PATH"]
 		uses_h.each {|h|
-			find_h h or
+			h[0..0] == "$" or
+                find_h h or
 				/framework/ =~ (uses_so||[]).join(" ") or
 				raise "where is #{h} ?"
 		} if uses_h
@@ -351,11 +352,11 @@
 	tag :sdl
 	name "Simple Directmedia Layer (experimental support)"
 	uses_so {
-		#a=["-lSDL","-lpthread"]; a << "-lobjc" if OSX
-		a=["$$(sdl-config --libs)"]
+		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 {



More information about the Gridflow-cvs mailing list