comparison configure.in @ 1806:8baf6641cd57

Added hardcoded /usr/X11R6 path so GLX detection works on Mac OS X.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 10 May 2006 14:59:08 +0000
parents 50e9cca3fe7b
children f173f8fe1fc6
comparison
equal deleted inserted replaced
1805:259e03cbcb5f 1806:8baf6641cd57
786 { 786 {
787 AC_ARG_ENABLE(video-x11, 787 AC_ARG_ENABLE(video-x11,
788 AC_HELP_STRING([--enable-video-x11], [use X11 video driver [[default=yes]]]), 788 AC_HELP_STRING([--enable-video-x11], [use X11 video driver [[default=yes]]]),
789 , enable_video_x11=yes) 789 , enable_video_x11=yes)
790 if test x$enable_video = xyes -a x$enable_video_x11 = xyes; then 790 if test x$enable_video = xyes -a x$enable_video_x11 = xyes; then
791 case "$host" in
792 *-*-darwin*) # Latest Mac OS X actually ships with Xrandr/Xrender libs...
793 # This isn't strictly necessary for X11, but for GLX detection
794 if test "x$x_includes" = xNONE; then
795 x_includes="/usr/X11R6/include"
796 fi
797 if test "x$x_libraries" != xNONE; then
798 x_libraries="/usr/X11R6/lib"
799 fi
800 ;;
801 esac
791 AC_PATH_X 802 AC_PATH_X
792 AC_PATH_XTRA 803 AC_PATH_XTRA
793 if test x$have_x = xyes; then 804 if test x$have_x = xyes; then
794 AC_ARG_ENABLE(x11-shared, 805 AC_ARG_ENABLE(x11-shared,
795 AC_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [[default=yes]]]), 806 AC_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [[default=yes]]]),