diff options
author | rsc <devnull@localhost> | 2006-10-13 13:43:36 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-10-13 13:43:36 +0000 |
commit | 7e0854dae3c21d20c8756a2689a2912dab3f12a3 (patch) | |
tree | e66d642812b9a040d2bb4801b7875e57f2d3b6d6 /src/cmd | |
parent | dc6f9f033a351714da8d1a7421eeb0d4848e5925 (diff) | |
download | plan9port-7e0854dae3c21d20c8756a2689a2912dab3f12a3.tar.gz plan9port-7e0854dae3c21d20c8756a2689a2912dab3f12a3.tar.bz2 plan9port-7e0854dae3c21d20c8756a2689a2912dab3f12a3.zip |
use X11 in /usr if it is there
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/devdraw/mkwsysrules.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/devdraw/mkwsysrules.sh b/src/cmd/devdraw/mkwsysrules.sh index 6b70f439..84fad024 100644 --- a/src/cmd/devdraw/mkwsysrules.sh +++ b/src/cmd/devdraw/mkwsysrules.sh @@ -11,6 +11,10 @@ if [ "x$X11" = "x" ]; then X11=/usr/X elif [ -d /usr/openwin ]; then # for Sun X11=/usr/openwin + elif [ -d /usr/include/X11 ]; then + X11=/usr + elif [ -d /usr/local/include/X11 ]; then + X11=/usr/local else X11=noX11dir fi |