--- a/configure.in Mon Jul 12 22:41:38 2010 +1000 +++ b/configure.in Sat Jul 31 11:16:44 2010 +1000 @@ -244,6 +244,8 @@ dnl AC_MSG_FAILURE( ["The OpenGL library (libGL.so) could not be found, but is required."])]) dnl AC_CHECK_HEADER([GL/gl.h], [], [ dnl AC_MSG_FAILURE( ["The OpenGL header files (eg GL/gl.h) could not be found, but are required."])]) + LIBS="$LIBS $LIBGL_LIBS"; + CPPFLAGS="$CPPFLAGS $LIBGL_CFLAGS"; else AC_CHECK_FUNC(NSOpenGLGetVersion, [ HAVE_NSGL='yes'