2006-06-14 Matthew Allum <mallum@openedhand.com>

* configure.ac:
        Add checks for GL/gl.h and GL/glx.h
This commit is contained in:
Matthew Allum 2006-06-14 13:04:26 +00:00
parent 7b1945eb84
commit 7639872f5f
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-06-14 Matthew Allum <mallum@openedhand.com>
* configure.ac:
Add checks for GL/gl.h and GL/glx.h
2006-06-14 Matthew Allum <mallum@openedhand.com>
* AUTHORS:

View File

@ -73,6 +73,9 @@ then
AC_DEFINE([XTHREADS], [], [1])
fi
AC_CHECK_HEADERS([GL/gl.h GL/glx.h],,
[AC_MSG_ERROR([Unable to locate required GL headers])])
AC_CHECK_LIB(GL, glXCreateContext, HAVE_LIBGL=yes, HAVE_LIBGL=no)
if test "x$HAVE_LIBGL" = "xno"; then