use X11 in /usr if it is there

This commit is contained in:
rsc 2006-10-13 13:43:36 +00:00
parent dc6f9f033a
commit 7e0854dae3

View file

@ -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