plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit a741551866c6a62b75fe48ef1f81e718b17fef21
parent 09cd35eb36124003f65a74b9011fac834a1e3c29
Author: rsc <devnull@localhost>
Date:   Thu, 22 Feb 2007 14:27:45 +0000

-ldraw no longer implies -lX11

Diffstat:
Mbin/9l | 2+-
Msrc/cmd/devdraw/x11-alloc.c | 2++
Msrc/cmd/snarfer/snarfer.c | 1+
3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/bin/9l b/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 diff --git a/src/cmd/devdraw/x11-alloc.c b/src/cmd/devdraw/x11-alloc.c @@ -5,6 +5,8 @@ #include <memdraw.h> #include "x11-memdraw.h" +AUTOLIB(X11); + /* * Allocate a Memimage with an optional pixmap backing on the X server. */ diff --git a/src/cmd/snarfer/snarfer.c b/src/cmd/snarfer/snarfer.c @@ -34,6 +34,7 @@ #undef Screen #undef Visual #undef Window +AUTOLIB(X11); #ifdef __APPLE__ #define APPLESNARF #define Boolean AppleBoolean