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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401768
This commit is contained in:
Sam Lantinga 2006-05-10 15:21:14 +00:00
parent 5bb606e842
commit f557a45feb

View File

@ -791,10 +791,8 @@ AC_HELP_STRING([--enable-video-x11], [use X11 video driver [[default=yes]]]),
case "$host" in
*-*-darwin*)
# 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"
fi
if test "x$x_libraries" != xNONE; then
x_libraries="/usr/X11R6/lib"
fi
;;