diff options
author | Fabio Pedretti <fabio.ped@libero.it> | 2009-12-22 10:43:35 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-22 10:44:53 +1000 |
commit | bf064ce0c31abb036fc035c59fdc1134705a5e3f (patch) | |
tree | ee7b973b4304dc8225ec00ce850abf6ac06dc5ff | |
parent | bd9e0ebaffeffac09307d5e807b00fef4f551d79 (diff) | |
download | mesa-bf064ce0c31abb036fc035c59fdc1134705a5e3f.tar.gz |
configure.ac: fix for libdrm_radeon API changes.
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e15e1f60c44..a15ca111e27 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,7 @@ AC_CANONICAL_HOST dnl Versions for external dependencies LIBDRM_REQUIRED=2.4.15 +LIBDRM_RADEON_REQUIRED=2.4.17 DRI2PROTO_REQUIRED=1.99.3 dnl Check for progs @@ -577,7 +578,7 @@ dri) GL_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED dri2proto >= $DRI2PROTO_REQUIRED" DRI_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED" - PKG_CHECK_MODULES([LIBDRM_RADEON], [libdrm_radeon], HAVE_LIBDRM_RADEON=yes, HAVE_LIBDRM_RADEON=no) + PKG_CHECK_MODULES([LIBDRM_RADEON], [libdrm_radeon libdrm >= $LIBDRM_RADEON_REQUIRED], HAVE_LIBDRM_RADEON=yes, HAVE_LIBDRM_RADEON=no) if test "$HAVE_LIBDRM_RADEON" = yes; then RADEON_CFLAGS="-DHAVE_LIBDRM_RADEON=1 $LIBDRM_RADEON_CFLAGS" |