x11, used, etc.
This commit is contained in:
parent
21d0dda69c
commit
16c1defa3d
4 changed files with 31 additions and 18 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -17,8 +17,6 @@ drawtopwindow(void)
|
|||
|
||||
void
|
||||
drawresizewindow(Rectangle r)
|
||||
{
|
||||
USED(r);
|
||||
|
||||
{
|
||||
bad();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue