Don't build with X11 by default since it's not included with the latest versions of Mac OS X. Cocoa is the preferred path here.
authorSam Lantinga <slouken@libsdl.org>
Tue, 11 Dec 2012 12:03:00 -0800
changeset 67426da5ec031d6c
parent 6741 9a7a2d663e75
child 6743 1835c3299b2a
Don't build with X11 by default since it's not included with the latest versions of Mac OS X. Cocoa is the preferred path here.
include/SDL_config_macosx.h
     1.1 --- a/include/SDL_config_macosx.h	Tue Dec 11 12:01:30 2012 -0800
     1.2 +++ b/include/SDL_config_macosx.h	Tue Dec 11 12:03:00 2012 -0800
     1.3 @@ -130,7 +130,7 @@
     1.4  /* Enable various video drivers */
     1.5  #define SDL_VIDEO_DRIVER_COCOA	1
     1.6  #define SDL_VIDEO_DRIVER_DUMMY	1
     1.7 -#define SDL_VIDEO_DRIVER_X11 1
     1.8 +#define SDL_VIDEO_DRIVER_X11 0
     1.9  #define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib"
    1.10  #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib"
    1.11  #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "/usr/X11R6/lib/libXinerama.1.dylib"