devdraw: default to native gui on OS X

This commit is contained in:
Russ Cox 2008-07-09 11:47:44 -04:00
parent 8315a8045c
commit 0a40aeedbf

View file

@ -21,7 +21,9 @@ if [ "x$X11" = "x" ]; then
fi
if [ "x$WSYSTYPE" = "x" ]; then
if [ -d "$X11" ]; then
if [ "x`uname`" = "xDarwin" ]; then
WSYSTYPE=osx
elif [ -d "$X11" ]; then
WSYSTYPE=x11
else
WSYSTYPE=nowsys