tuse X11 in /usr if it is there - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 7e0854dae3c21d20c8756a2689a2912dab3f12a3
DIR parent dc6f9f033a351714da8d1a7421eeb0d4848e5925
HTML Author: rsc <devnull@localhost>
Date: Fri, 13 Oct 2006 13:43:36 +0000
use X11 in /usr if it is there
Diffstat:
M src/cmd/devdraw/mkwsysrules.sh | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
DIR diff --git a/src/cmd/devdraw/mkwsysrules.sh b/src/cmd/devdraw/mkwsysrules.sh
t@@ -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