[Mesa-dev] [PATCH demos] build: require glew 1.5.4
Andreas Boll
andreas.boll.dev at gmail.com
Thu Sep 13 03:55:08 PDT 2012
also remove the fallback path
Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=29411
https://bugs.freedesktop.org/show_bug.cgi?id=33676
---
configure.ac | 13 ++-----------
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"
--
1.7.4.1
More information about the mesa-dev
mailing list