mirror of
https://github.com/joel16/SDL2.git
synced 2025-02-09 13:12:13 +00:00
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:
parent
5bb606e842
commit
f557a45feb
@ -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
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user