Blob
1 #!/bin/sh3 [ -f $PLAN9/config ] && . $PLAN9/config5 if [ "x$X11" = "x" ]; then6 if [ -d /usr/X11R6 ]; then7 X11=/usr/X11R68 elif [ -d /usr/local/X11R6 ]; then9 X11=/usr/local/X11R610 elif [ -d /usr/X ]; then11 X11=/usr/X12 elif [ -d /usr/openwin ]; then # for Sun13 X11=/usr/openwin14 else15 X11=noX11dir16 fi17 fi19 if [ "x$WSYSTYPE" = "x" ]; then20 if [ -d "$X11/include" ]; then21 WSYSTYPE=x1122 else23 WSYSTYPE=nowsys24 fi25 fi27 echo 'WSYSTYPE='$WSYSTYPE28 echo 'X11='$X1130 if [ $WSYSTYPE = x11 ]; then31 echo 'CFLAGS=$CFLAGS -I$X11/include'32 echo 'HFILES=$HFILES $XHFILES'33 fi