From 8b914dfa307ef2e0b84ff7dc1632cb6ae29e7c3e Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Fri, 23 Jul 2010 21:37:22 +0100 Subject: [PATCH] configure.ac: when checking for gl2ext.h include gl2.h This makes sure we include gl2.h when looking for gl2ext.h since gl2ext.h can't always be used standalone. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b805f86be..a84c268a8 100644 --- a/configure.ac +++ b/configure.ac @@ -433,7 +433,9 @@ AS_IF([test "x$COGL_DRIVER" = "xgles"], [ AC_CHECK_HEADERS([$cogl_gl_headers], [], - [AC_MSG_ERROR([Unable to locate required GLES headers])]) + [AC_MSG_ERROR([Unable to locate required GLES headers])], + [[#include + ]]) FLAVOUR_LIBS="$FLAVOUR_LIBS -lGLESv2" ])