configure.in
changeset 1808 3e5029051a6d
parent 1807 f173f8fe1fc6
child 1813 a7cda692b681
--- 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
                 ;;