# HG changeset patch # User Sam Lantinga # Date 1147274474 0 # Node ID 3e5029051a6df49b7b788687ad73a2b455cc27b2 # Parent f173f8fe1fc6e849d188c8f6a39836a00afa2407 Only set Mac OS X default if both parameters are left default diff -r f173f8fe1fc6 -r 3e5029051a6d configure.in --- a/configure.in Wed May 10 15:00:30 2006 +0000 +++ b/configure.in Wed May 10 15:21:14 2006 +0000 @@ -791,10 +791,8 @@ 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 ;;