-ldraw no longer implies -lX11

This commit is contained in:
rsc 2007-02-22 14:27:45 +00:00
parent 09cd35eb36
commit a741551866
3 changed files with 4 additions and 1 deletions

2
bin/9l
View file

@ -168,7 +168,7 @@ then
libsl="$libsl -lresolv" libsl="$libsl -lresolv"
fi fi
if [ "x$needdraw" = xtrue -a "x$WSYSTYPE" != xnowsys ] if [ "x$needX11" = xtrue -a "x$WSYSTYPE" != xnowsys ]
then then
if [ "x$X11" = "x" ] if [ "x$X11" = "x" ]
then then

View file

@ -5,6 +5,8 @@
#include <memdraw.h> #include <memdraw.h>
#include "x11-memdraw.h" #include "x11-memdraw.h"
AUTOLIB(X11);
/* /*
* Allocate a Memimage with an optional pixmap backing on the X server. * Allocate a Memimage with an optional pixmap backing on the X server.
*/ */

View file

@ -34,6 +34,7 @@
#undef Screen #undef Screen
#undef Visual #undef Visual
#undef Window #undef Window
AUTOLIB(X11);
#ifdef __APPLE__ #ifdef __APPLE__
#define APPLESNARF #define APPLESNARF
#define Boolean AppleBoolean #define Boolean AppleBoolean