x11, used, etc.

This commit is contained in:
rsc 2005-11-12 16:36:48 +00:00
parent 21d0dda69c
commit 16c1defa3d
4 changed files with 31 additions and 18 deletions

View file

@ -17,19 +17,27 @@ if [ "x$X11" = "x" ]; then
fi
if [ "x$WSYSTYPE" = "x" ]; then
if [ -d "$X11/include" ]; then
if [ -d "$X11" ]; then
WSYSTYPE=x11
else
WSYSTYPE=nowsys
fi
fi
if [ "x$WSYSTYPE" = "xX11" -a "x$X11H" = "x" ]; then
if [ -d "$X11/include" ]; then
X11H="-I$X11/include"
else
X11H=""
fi
fi
echo 'WSYSTYPE='$WSYSTYPE
echo 'X11='$X11
if [ $WSYSTYPE = x11 ]; then
echo 'CFLAGS=$CFLAGS -I$X11/include'
echo 'CFLAGS=$CFLAGS $X11H'
echo 'HFILES=$HFILES $XHFILES'
fi

View file

@ -17,8 +17,6 @@ drawtopwindow(void)
void
drawresizewindow(Rectangle r)
{
USED(r);
{
bad();
}