From e70f0786ea46cf773b5f57247ccaaf80b498127a Mon Sep 17 00:00:00 2001 From: Per Hedbor <ph@opera.com> Date: Sun, 3 Nov 2013 10:56:10 +0100 Subject: [PATCH] OpenGL now compiles on MacOS --- src/post_modules/GL/configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/post_modules/GL/configure.in b/src/post_modules/GL/configure.in index a36ba84ff6..1bc1603f1d 100755 --- a/src/post_modules/GL/configure.in +++ b/src/post_modules/GL/configure.in @@ -33,7 +33,7 @@ else fi - if test "x$ac_cv_header_windef_h$ac_cv_header_GL_gl_h$ac_cv_header_GL_glx_h" = "xnonono"; then + if test "x$ac_cv_header_windef_h$ac_cv_header_OpenGL_gl_h$ac_cv_header_GL_gl_h$ac_cv_header_GL_glx_h" = "xnononono"; then # Solaris 7 comes with libGL, but without the headerfiles by default. : else @@ -91,6 +91,8 @@ else ], [glOrtho(0.0,0.0,0.0,0.0,0.0,0.0); ], [ pike_cv_framework_OpenGL=yes ], [ pike_cv_framework_OpenGL=no ]) ]) if test x"$pike_cv_framework_OpenGL" = xyes; then + AC_DEFINE(HAVE_GL) + PIKE_FEATURE_OK(GL) AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) -- GitLab