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" ])