Commit f557a45f authored by Sam Lantinga's avatar Sam Lantinga

Only set Mac OS X default if both parameters are left default

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401768
parent 5bb606e8
...@@ -791,10 +791,8 @@ AC_HELP_STRING([--enable-video-x11], [use X11 video driver [[default=yes]]]), ...@@ -791,10 +791,8 @@ AC_HELP_STRING([--enable-video-x11], [use X11 video driver [[default=yes]]]),
case "$host" in case "$host" in
*-*-darwin*) *-*-darwin*)
# This isn't necessary for X11, but fixes GLX detection # This isn't necessary for X11, but fixes GLX detection
if test "x$x_includes" = xNONE; then if test "x$x_includes" = xNONE && test "x$x_libraries" = xNONE; then
x_includes="/usr/X11R6/include" x_includes="/usr/X11R6/include"
fi
if test "x$x_libraries" != xNONE; then
x_libraries="/usr/X11R6/lib" x_libraries="/usr/X11R6/lib"
fi fi
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment