-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"
fi
if [ "x$needdraw" = xtrue -a "x$WSYSTYPE" != xnowsys ]
if [ "x$needX11" = xtrue -a "x$WSYSTYPE" != xnowsys ]
then
if [ "x$X11" = "x" ]
then

View file

@ -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.
*/

View file

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