test/configure
changeset 7703 982abfefd19d
parent 7495 c4ba5e5c2765
child 7704 3182291fc65f
--- a/test/configure	Mon Aug 26 14:23:18 2013 -0300
+++ b/test/configure	Wed Aug 28 10:41:25 2013 -0300
@@ -3451,7 +3451,7 @@
   rm -f conf.sdltest
 
 CFLAGS="$CFLAGS $SDL_CFLAGS"
-LIBS="$LIBS -lSDL2_test $SDL_LIBS"
+LIBS="$LIBS $SDL_LIBS -lSDL2_test"
 
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
@@ -3785,16 +3785,16 @@
 fi
 
 if test x$have_x = xyes; then
-    if test x$ac_x_includes = xno || test x$ac_x_includes = x; then
+    if test x$ac_x_includes = xno || test "x$ac_x_includes" = xNone; then
         :
     else
         CFLAGS="$CFLAGS -I$ac_x_includes"
     fi
-    if test x$ac_x_libraries = xno || test x$ac_x_libraries = x; then
+    if test x$ac_x_libraries = xno || test "x$ac_x_libraries" = xNone; then
         :
     else
         XPATH="-L$ac_x_libraries"
-        XLIB="-L$ac_x_libraries -lX11"
+        XLIB="-lX11"
     fi
 fi