3 [ -f $PLAN9/config ] && . $PLAN9/config
5 if [ "x$X11" = "x" ]; then
6 if [ -d /usr/X11R6 ]; then
8 elif [ -d /usr/local/X11R6 ]; then
10 elif [ -d /usr/X ]; then
12 elif [ -d /usr/openwin ]; then # for Sun
19 if [ "x$WSYSTYPE" = "x" ]; then
20 if [ -d "$X11" ]; then
27 if [ "x$WSYSTYPE" = "xx11" -a "x$X11H" = "x" ]; then
28 if [ -d "$X11/include" ]; then
36 echo 'WSYSTYPE='$WSYSTYPE
39 if [ $WSYSTYPE = x11 ]; then
40 echo 'CFLAGS=$CFLAGS '$X11H
41 echo 'HFILES=$HFILES $XHFILES'
42 XO=`ls x11-*.c | sed 's/\.c$/.o/'`
43 echo 'WSYSOFILES=$WSYSOFILES '$XO
45 if [ $WSYSTYPE = nowsys ]; then
46 echo 'WSYSOFILES=nowsys.o'