URI: 
       t-ldraw no longer implies -lX11 - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit a741551866c6a62b75fe48ef1f81e718b17fef21
   DIR parent 09cd35eb36124003f65a74b9011fac834a1e3c29
  HTML Author: rsc <devnull@localhost>
       Date:   Thu, 22 Feb 2007 14:27:45 +0000
       
       -ldraw no longer implies -lX11
       
       Diffstat:
         M bin/9l                              |       2 +-
         M src/cmd/devdraw/x11-alloc.c         |       2 ++
         M src/cmd/snarfer/snarfer.c           |       1 +
       
       3 files changed, 4 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/bin/9l b/bin/9l
       t@@ -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
   DIR diff --git a/src/cmd/devdraw/x11-alloc.c b/src/cmd/devdraw/x11-alloc.c
       t@@ -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.
         */
   DIR diff --git a/src/cmd/snarfer/snarfer.c b/src/cmd/snarfer/snarfer.c
       t@@ -34,6 +34,7 @@
        #undef Screen
        #undef Visual
        #undef Window
       +AUTOLIB(X11);
        #ifdef __APPLE__
        #define APPLESNARF
        #define Boolean AppleBoolean