aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libdraw/mkwsysrules.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libdraw/mkwsysrules.sh b/src/libdraw/mkwsysrules.sh
index 9d5ca3ba..f5cf9caa 100644
--- a/src/libdraw/mkwsysrules.sh
+++ b/src/libdraw/mkwsysrules.sh
@@ -7,6 +7,10 @@ if [ "x$X11" = "x" ]; then
X11=/usr/X11R6
elif [ -d /usr/local/X11R6 ]; then
X11=/usr/local/X11R6
+ elif [ -d /usr/X ]; then
+ X11=/usr/X
+ elif [ -d /usr/openwin ]; then # for Sun
+ X11=/usr/openwin
else
X11=noX11dir
fi