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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Apr 18 09:28:30 EDT 2011


Author: matju
Date: Mon Apr 18 09:28:29 2011
New Revision: 6765

Log:
fix sdl detection on WINDOWS®™

Modified:
    trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Mon Apr 18 09:28:29 2011
@@ -291,7 +291,7 @@
 		#include <sys/ipc.h>
 		int main () {return XShmPutImage==0 || XSetErrorHandler==0;}"}}
 Feature.add("sdl","Simple Directmedia Layer (experimental support)") {
-	uses_so {`sdl-config --libs`.split" "} # doesn't work if special chars in --libs
+	uses_so {`sh -c 'sdl-config --libs'`.split" "} # doesn't work if special chars in --libs; sh -c used because of WIN.
 	uses_h ["SDL/SDL.h"] # should use $(sdl-config --cflags) with this
 	produces_o ["src/sdl.o"]
 	test proc {c_test "



More information about the Gridflow-cvs mailing list