summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-14 10:08:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-14 10:10:45 +0100
commit9c2790ccc48392bfe039626ebb383070aa18fe56 (patch)
tree391731edbb126aa84197b5b563aeb404c0d7950c /configure.ac
parent6d4f3c40eff7d070b1c9759038444928c6754efe (diff)
[build] Add a default message for when GLEW isn't built
And it appears I touched the build system again and autoregenerated the feature headers.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ba4a49d3..b4b1cc37 100644
--- a/configure.ac
+++ b/configure.ac
@@ -240,6 +240,7 @@ CAIRO_ENABLE_FUNCTIONS(png, PNG, yes, [
])
dnl ===========================================================================
+use_glew="no (not required by any backend)"
CAIRO_ENABLE_SURFACE_BACKEND(gl, OpenGL, no, [
gl_REQUIRES="gl"
PKG_CHECK_MODULES(gl, $gl_REQUIRES,, [
@@ -255,10 +256,10 @@ CAIRO_ENABLE_SURFACE_BACKEND(gl, OpenGL, no, [
[AC_CHECK_HEADER(GL/glew.h, [have_glew="yes"], [])])
if test "x$have_glew" = "xyes"; then
gl_NONPKGCONFIG_LIBS="-lGLEW $gl_NONPKGCONFIG_LIBS"
- use_glew="system library"
+ use_glew="yes (system library)"
else
CAIRO_ENABLE_FUNCTIONS(glew, GLEW, always)
- use_glew="private copy"
+ use_glew="yes (private copy)"
CAIRO_CFLAGS="$CAIRO_CFLAGS -I\$(top_srcdir)/src/glew"
fi
need_glx_functions=yes