Only set Mac OS X default if both parameters are left default
authorSam Lantinga
Wed, 10 May 2006 15:21:14 +0000
changeset 18083e5029051a6d
parent 1807 f173f8fe1fc6
child 1809 41ab83bec62f
Only set Mac OS X default if both parameters are left default
configure.in
     1.1 --- a/configure.in	Wed May 10 15:00:30 2006 +0000
     1.2 +++ b/configure.in	Wed May 10 15:21:14 2006 +0000
     1.3 @@ -791,10 +791,8 @@
     1.4          case "$host" in
     1.5              *-*-darwin*)
     1.6                  # This isn't necessary for X11, but fixes GLX detection
     1.7 -                if test "x$x_includes" = xNONE; then
     1.8 +                if test "x$x_includes" = xNONE && test "x$x_libraries" = xNONE; then
     1.9                      x_includes="/usr/X11R6/include"
    1.10 -                fi
    1.11 -                if test "x$x_libraries" != xNONE; then
    1.12                      x_libraries="/usr/X11R6/lib"
    1.13                  fi
    1.14                  ;;