summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-05-21 11:03:38 -0700
committerEric Anholt <eric@anholt.net>2010-05-21 11:03:38 -0700
commitb0e5d2cd8e89b5df2a72ff263a348642a13fc10f (patch)
treea4f17cee8b405f113adf51c9f6ecd659461b36b5 /configure.ac
parent137ae617f68533281d4308909bcc87e463d23aa2 (diff)
downloadmesa-demos-b0e5d2cd8e89b5df2a72ff263a348642a13fc10f.zip
mesa-demos-b0e5d2cd8e89b5df2a72ff263a348642a13fc10f.tar.xz
Depend on GLU, which is used by libutil.
This is part of fixing the cygwin build.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 21a3c39..1f355b8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -88,6 +88,10 @@ AC_CHECK_LIB([GLEW],
DEMO_CFLAGS="$DEMO_CFLAGS $GLEW_CFLAGS"
DEMO_LIBS="$DEMO_LIBS $GLEW_LIBS"
+PKG_CHECK_MODULES(GLU, [glu])
+DEMO_CFLAGS="$DEMO_CFLAGS $GLU_CFLAGS"
+DEMO_LIBS="$DEMO_LIBS $GLU_LIBS"
+
PKG_CHECK_MODULES(EGL, [egl], [egl_enabled=yes], [egl_enabled=no])
PKG_CHECK_MODULES(GLESV1, [glesv1_cm], [glesv1_enabled=yes], [glesv1_enabled=no])
PKG_CHECK_MODULES(GLESV2, [glesv2], [glesv2_enabled=yes], [glesv2_enabled=no])