blob: 9d7f4b9ac2917568c1ccbb6aecc5b5ce653885e7 [file] [log] [blame]
rsc41e0f842005-02-02 22:04:41 +00001#!/bin/sh
2
3[ -f $PLAN9/config ] && . $PLAN9/config
4
5if [ "x$X11" = "x" ]; then
6 if [ -d /usr/X11R6 ]; then
7 X11=/usr/X11R6
8 elif [ -d /usr/local/X11R6 ]; then
9 X11=/usr/local/X11R6
10 else
11 X11=noX11dir
12 fi
13fi
14
15if [ "x$WSYSTYPE" = "x" ]; then
16 if [ -d "$X11/include" ]; then
17 WSYSTYPE=x11
18 else
19 WSYSTYPE=nowsys
20 fi
21fi
22
23echo 'WSYSTYPE='$WSYSTYPE
24echo 'X11='$X11
25
26if [ WSYSTYPE = x11 ]; then
27 echo 'HFILES=$HFILES $XHFILES'
28fi
29
30