commit 7e0854dae3c21d20c8756a2689a2912dab3f12a3 from: rsc date: Fri Oct 13 13:43:36 2006 UTC use X11 in /usr if it is there commit - dc6f9f033a351714da8d1a7421eeb0d4848e5925 commit + 7e0854dae3c21d20c8756a2689a2912dab3f12a3 blob - 6b70f4393109960a1e7383066330202105ed4679 blob + 84fad024c03dbd60307f30ab0d7a281abcbfd6da --- src/cmd/devdraw/mkwsysrules.sh +++ 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