diff configure.in @ 1808:3e5029051a6d

Only set Mac OS X default if both parameters are left default
author Sam Lantinga <slouken@libsdl.org>
date Wed, 10 May 2006 15:21:14 +0000
parents f173f8fe1fc6
children a7cda692b681
line wrap: on
line diff
--- 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
                 ;;