configure: OSX: check for X11 header conflict with corevideo
commit3862d469ae7f22d10f1d51d7056c75782fec2283
authorStefano Pigozzi <stefano.pigozzi@gmail.com>
Mon, 16 Apr 2012 06:33:42 +0000 (16 08:33 +0200)
committerUoti Urpala <uau@mplayer2.org>
Thu, 26 Apr 2012 18:03:10 +0000 (26 21:03 +0300)
treea775b078c6f5748cbc953b336a569bde41f65e6a
parent9489e29c47e20284d97c38cd71392d490a25aa3e
configure: OSX: check for X11 header conflict with corevideo

Check that headers from ApplicationServices and X11 do not conflict
before enabling X11 support on OSX. Both headers would be included in
vo_corevideo.m (through QuartzCore/QuartzCore.h and gl_common.h). The
conflict exists on versions of Mac OSX prior to 10.7, where
ApplicationServices includes the deprecated QuickDraw framework,
resulting in a clash on the Cursor type definition.
configure