From 840c98d190d1b79573987a137ae3372574efcb63 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 24 Mar 2013 20:00:22 +0100 Subject: configure: fix OpenGL autodetection on OS X Was broken from 746b5e6 since the OpenGL headers are under OpenGL/ and not GL/ on OS X. Thanks to @Kovensky for the initial patch. --- configure | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure') diff --git a/configure b/configure index a32fb4893f..875c1b91f0 100755 --- a/configure +++ b/configure @@ -2177,14 +2177,23 @@ EOF fi cat > $TMPC << EOF +#ifdef __APPLE__ +#include +#include +#else #include #include +#endif int main(int argc, char *argv[]) { return !GL_INVALID_FRAMEBUFFER_OPERATION; } EOF if ! cc_check; then _gl=no + _gl_x11=no + _gl_wayland=no + _gl_win32=no + _gl_cocoa=no res_comment="missing glext.h, get from http://www.opengl.org/registry/api/glext.h" fi else -- cgit v1.2.3