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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Jan 5 23:33:16 EST 2013


Author: matju
Date: Sat Jan  5 23:33:15 2013
New Revision: 6876

Log:
fixed sdl-config error printed on stderr if absent

Modified:
    trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sat Jan  5 23:33:15 2013
@@ -295,7 +295,7 @@
 		#include <sys/ipc.h>
 		int main () {return XShmPutImage==0 || XSetErrorHandler==0;}"}}
 Feature.add("sdl","Simple Directmedia Layer (experimental support)") {
-	uses_so {`sh -c 'sdl-config --libs'`.split" "} # doesn't work if special chars in --libs; sh -c used because of WIN.
+	uses_so {`sh -c 'sdl-config --libs' 2>&1`.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