summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAndreas Boll <andreas.boll.dev@gmail.com>2012-09-13 12:28:01 +0200
committerAndreas Boll <andreas.boll.dev@gmail.com>2012-09-19 19:16:46 +0200
commitc2ae57e483c0ab596bbbb386eed8ed7213654e4d (patch)
treeff4951d8ac7ca3bb3917fa284b1fa960130562f0 /configure.ac
parente1da981c59ec9fa6dcc4d411276451f26ff02e43 (diff)
downloadmesa-demos-c2ae57e483c0ab596bbbb386eed8ed7213654e4d.zip
mesa-demos-c2ae57e483c0ab596bbbb386eed8ed7213654e4d.tar.xz
build: require glew 1.5.4
also remove the fallback path v2: also check for glew in cmake build system v3: fix windows build Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=29411 https://bugs.freedesktop.org/show_bug.cgi?id=33676 Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 2 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 264cb75..8b2c359 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,17 +83,8 @@ AC_CHECK_LIB([glut],
[],
[glut_enabled=no])
-dnl Include a fallback path for GLEW for the moment while not all distros
-dnl have picked up the .pc file.
-PKG_CHECK_MODULES(GLEW, [glew], [], [
- AC_CHECK_HEADER([GL/glew.h],
- [GLEW_CFLAGS=""],
- AC_MSG_ERROR([GLEW required]))
- AC_CHECK_LIB([GLEW],
- [glewInit],
- [GLEW_LIBS="-lGLEW"],
- AC_MSG_ERROR([GLEW required]))
- ])
+dnl Check for GLEW
+PKG_CHECK_MODULES(GLEW, [glew >= 1.5.4])
DEMO_CFLAGS="$DEMO_CFLAGS $GLEW_CFLAGS"
DEMO_LIBS="$DEMO_LIBS $GLEW_LIBS"