From 7639872f5f53ee795a424ac76c9dd0dfa37e2a1d Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Wed, 14 Jun 2006 13:04:26 +0000 Subject: [PATCH] 2006-06-14 Matthew Allum * configure.ac: Add checks for GL/gl.h and GL/glx.h --- ChangeLog | 5 +++++ configure.ac | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6c6b6734a..34a8e17c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-14 Matthew Allum + + * configure.ac: + Add checks for GL/gl.h and GL/glx.h + 2006-06-14 Matthew Allum * AUTHORS: diff --git a/configure.ac b/configure.ac index a07a6b29b..08f324b0d 100644 --- a/configure.ac +++ b/configure.ac @@ -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