commit a741551866c6a62b75fe48ef1f81e718b17fef21 from: rsc date: Thu Feb 22 14:27:45 2007 UTC -ldraw no longer implies -lX11 commit - 09cd35eb36124003f65a74b9011fac834a1e3c29 commit + a741551866c6a62b75fe48ef1f81e718b17fef21 blob - fc1474eea1659415a3c60e8e18cd4b16c8521ebc blob + 7cec21d50884feb52a974bda3c0f2dbf7d42a299 --- bin/9l +++ bin/9l @@ -168,7 +168,7 @@ then libsl="$libsl -lresolv" fi - if [ "x$needdraw" = xtrue -a "x$WSYSTYPE" != xnowsys ] + if [ "x$needX11" = xtrue -a "x$WSYSTYPE" != xnowsys ] then if [ "x$X11" = "x" ] then blob - 5792864ffd5abc741208cfcbe361b0f17e18df3a blob + a465f998b578c60d95ad5e48a15670e083fc3c79 --- src/cmd/devdraw/x11-alloc.c +++ src/cmd/devdraw/x11-alloc.c @@ -5,6 +5,8 @@ #include #include "x11-memdraw.h" +AUTOLIB(X11); + /* * Allocate a Memimage with an optional pixmap backing on the X server. */ blob - cdad7b885294ff007d07fd8f9b4a5528cc8df278 blob + 9477f0420951bb79e220344c7b46c48f8074f0de --- src/cmd/snarfer/snarfer.c +++ src/cmd/snarfer/snarfer.c @@ -34,6 +34,7 @@ #undef Screen #undef Visual #undef Window +AUTOLIB(X11); #ifdef __APPLE__ #define APPLESNARF #define Boolean AppleBoolean