Skip to content

Commit

Permalink
Only set Mac OS X default if both parameters are left default
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 10, 2006
1 parent 0d37f76 commit 0d18f87
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions configure.in
Expand Up @@ -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
;;
Expand Down

0 comments on commit 0d18f87

Please sign in to comment.