[Mesa-dev] [PATCH] configure.ac: Do not check for LIBDRM_RADEON at startup
Emil Velikov
emil.l.velikov at gmail.com
Thu Jul 14 13:03:21 PDT 2011
Is it still possible to build radeon,r300,r600 without LIBDRM_RADEON?
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
configure.ac | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/configure.ac b/configure.ac
index c186240..d156979 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1072,11 +1072,6 @@ AC_SUBST([MESA_MODULES])
AC_SUBST([HAVE_XF86VIDMODE])
-PKG_CHECK_MODULES([LIBDRM_RADEON],
- [libdrm_radeon >= $LIBDRM_RADEON_REQUIRED],
- HAVE_LIBDRM_RADEON=yes,
- HAVE_LIBDRM_RADEON=no)
-
dnl
dnl More GLX setup
dnl
@@ -1269,6 +1264,8 @@ esac
case $DRI_DIRS in
*radeon*|*r200*|*r300*|*r600*)
+ PKG_CHECK_MODULES([LIBDRM_RADEON], [libdrm_radeon >= $LIBDRM_RADEON_REQUIRED],
+ HAVE_LIBDRM_RADEON=yes, HAVE_LIBDRM_RADEON=no)
if test "x$HAVE_LIBDRM_RADEON" = xyes; then
RADEON_CFLAGS="-DHAVE_LIBDRM_RADEON=1 $LIBDRM_RADEON_CFLAGS"
RADEON_LDFLAGS=$LIBDRM_RADEON_LIBS
--
1.7.6
More information about the mesa-dev
mailing list