From f557a45feb74f6172f123d86f8ca56c853bd48e7 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 10 May 2006 15:21:14 +0000 Subject: [PATCH] Only set Mac OS X default if both parameters are left default --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401768 --- configure.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.in b/configure.in index bc86faf2d..2157bc694 100644 --- a/configure.in +++ b/configure.in @@ -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 ;;