summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2006-03-17 01:47:25 +0000
committerKristian Høgsberg <krh@redhat.com>2006-03-17 01:47:25 +0000
commit2d2d38d17cc2558f8a41166a4a1578bc4c663c37 (patch)
treec5b89944b381b0d004cc74dfc3ed656f3763eeb4 /configure.ac
parent2c11cde3367fcd22740b577a4364b1e41cf3e1d2 (diff)
Check for glproto when building GLX and make sure we have at least 1.4.6.
Drop glx_ansic.h wrapper and call xalloc, xrealloc, xfree and str-funcs directly.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index df341dbdf..91f22d714 100644
--- a/configure.ac
+++ b/configure.ac
@@ -554,6 +554,7 @@ fi
if test "x$GLX" = xyes && ! test "x$MESA_SOURCE" = x; then
PKG_CHECK_MODULES([XLIB], [x11])
+ PKG_CHECK_MODULES([GL], [glproto >= 1.4.6])
AC_SUBST(XLIB_CFLAGS)
AC_DEFINE(GLXEXT, 1, [Build GLX extension])
GLX_LIBS='$(top_builddir)/GL/glx/libglx.la $(top_builddir)/GL/mesa/libGLcore.la'