3 41e0f84c 2005-02-02 devnull [ -f $PLAN9/config ] && . $PLAN9/config
5 41e0f84c 2005-02-02 devnull if [ "x$X11" = "x" ]; then
6 41e0f84c 2005-02-02 devnull if [ -d /usr/X11R6 ]; then
7 41e0f84c 2005-02-02 devnull X11=/usr/X11R6
8 41e0f84c 2005-02-02 devnull elif [ -d /usr/local/X11R6 ]; then
9 41e0f84c 2005-02-02 devnull X11=/usr/local/X11R6
11 41e0f84c 2005-02-02 devnull X11=noX11dir
15 41e0f84c 2005-02-02 devnull if [ "x$WSYSTYPE" = "x" ]; then
16 41e0f84c 2005-02-02 devnull if [ -d "$X11/include" ]; then
17 41e0f84c 2005-02-02 devnull WSYSTYPE=x11
19 41e0f84c 2005-02-02 devnull WSYSTYPE=nowsys
23 41e0f84c 2005-02-02 devnull echo 'WSYSTYPE='$WSYSTYPE
24 41e0f84c 2005-02-02 devnull echo 'X11='$X11
26 b90bacec 2005-02-11 devnull if [ $WSYSTYPE = x11 ]; then
27 031c9000 2005-02-11 devnull echo 'CFLAGS=$CFLAGS -I$X11/include'
28 41e0f84c 2005-02-02 devnull echo 'HFILES=$HFILES $XHFILES'