break x11 for sure
This commit is contained in:
parent
568e208e37
commit
41e0f84ca6
17 changed files with 142 additions and 16 deletions
30
src/libdraw/mkwsysrules.sh
Normal file
30
src/libdraw/mkwsysrules.sh
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -f $PLAN9/config ] && . $PLAN9/config
|
||||
|
||||
if [ "x$X11" = "x" ]; then
|
||||
if [ -d /usr/X11R6 ]; then
|
||||
X11=/usr/X11R6
|
||||
elif [ -d /usr/local/X11R6 ]; then
|
||||
X11=/usr/local/X11R6
|
||||
else
|
||||
X11=noX11dir
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "x$WSYSTYPE" = "x" ]; then
|
||||
if [ -d "$X11/include" ]; then
|
||||
WSYSTYPE=x11
|
||||
else
|
||||
WSYSTYPE=nowsys
|
||||
fi
|
||||
fi
|
||||
|
||||
echo 'WSYSTYPE='$WSYSTYPE
|
||||
echo 'X11='$X11
|
||||
|
||||
if [ WSYSTYPE = x11 ]; then
|
||||
echo 'HFILES=$HFILES $XHFILES'
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue