test/configure
changeset 7704 3182291fc65f
parent 7703 982abfefd19d
child 7794 7995e0920bf9
--- a/test/configure	Wed Aug 28 10:41:25 2013 -0300
+++ b/test/configure	Wed Aug 28 12:43:29 2013 -0300
@@ -3794,7 +3794,11 @@
         :
     else
         XPATH="-L$ac_x_libraries"
-        XLIB="-lX11"
+        if test "x$ac_x_libraries" = x; then
+            XLIB="-lX11"
+        else
+            XLIB="-L$ac_x_libraries -lX11"
+        fi
     fi
 fi