summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-01-10 13:30:44 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-01-10 13:30:44 -0500
commitdae5c9fc45eda303a624c63946cc187ca820532d (patch)
tree64b2d26a66d0b00ce1312e26c80f8bcddc13c5c3 /configure.ac
parent5ed40f47466aad8fd21889cb905ab429d111b086 (diff)
downloadmesa-demos-dae5c9fc45eda303a624c63946cc187ca820532d.zip
mesa-demos-dae5c9fc45eda303a624c63946cc187ca820532d.tar.xz
Commit forgotten build system parts of eglkms patch
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d6753a9..f186659 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,6 +117,7 @@ PKG_CHECK_MODULES(GLESV1, [glesv1_cm], [glesv1_enabled=yes], [glesv1_enabled=no]
PKG_CHECK_MODULES(GLESV2, [glesv2], [glesv2_enabled=yes], [glesv2_enabled=no])
PKG_CHECK_MODULES(VG, [vg], [vg_enabled=yes], [vg_enabled=no])
PKG_CHECK_MODULES(OSMESA, [osmesa], [osmesa_enabled=yes], [osmesa_enabled=no])
+PKG_CHECK_MODULES(DRM, [libdrm], [drm_enabled=yes], [drm_enabled=no])
dnl The OSMesa .pc uses OSMesa32, while we want to build with other versions
dnl too.
OSMESA32_LIBS=$OSMESA_LIBS
@@ -210,6 +211,7 @@ AM_CONDITIONAL(HAVE_GLUT, test "x$glut_enabled" = "xyes")
AM_CONDITIONAL(HAVE_X11, test "x$x11_enabled" = "xyes")
AM_CONDITIONAL(HAVE_FREETYPE2, test "x$freetype2_enabled" = "xyes")
AM_CONDITIONAL(HAVE_OSMESA, test "x$osmesa_enabled" = "xyes")
+AM_CONDITIONAL(HAVE_DRM, test "x$drm_enabled" = "xyes")
AM_CONDITIONAL(BUILD_GLTRACE, false)
AM_CONDITIONAL(HAVE_MESA_SOURCE, test "x$mesa_source_enabled" = "xyes")