configure.ac: Introduce LIBDRM_INTEL_REQUIRED variable and Really check for LIBDRM_RADEON_REQUIRED
V2 of my proposal.
--
Sedat
From 3449473404fc77dca4d228310a8aa3ada5a321b1 Mon Sep 17 00:00:00 2001
From: Sedat Dilek <[email protected]>
Date: Tue, 23 Mar 2010 14:57:55 +0100
Subject: [PATCH 1/2] configure.ac: Introduce LIBDRM_INTEL_REQUIRED variable
--- configure.ac | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
configure.ac +2 -1
@@ -19,6 +19,7 @@ AC_CANONICAL_HOST dnl Versions for external dependencies LIBDRM_REQUIRED=2.4.15 +LIBDRM_INTEL_REQUIRED=2.4.19 LIBDRM_RADEON_REQUIRED=2.4.17 DRI2PROTO_REQUIRED=2.1 GLPROTO_REQUIRED=1.4.11
@@ -830,7 +831,7 @@ AC_SUBST([DRI_LIB_DEPS]) case $DRI_DIRS in *i915*|*i965*) - PKG_CHECK_MODULES([INTEL], [libdrm_intel >= 2.4.19]) + PKG_CHECK_MODULES([INTEL], [libdrm_intel >= $LIBDRM_INTEL_REQUIRED]) ;; esac
Signature · 1 line
1.7.0.3
From a2ebebff004fb7c5069da1e8be14434e0e4cd920 Mon Sep 17 00:00:00 2001
From: Sedat Dilek <[email protected]>
Date: Tue, 23 Mar 2010 14:59:55 +0100
Subject: [PATCH 2/2] configure.ac: Really check for LIBDRM_RADEON_REQUIRED
--- configure.ac | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
configure.ac +3 -0
@@ -846,6 +846,9 @@ case $DRI_DIRS in RADEON_CFLAGS="-DHAVE_LIBDRM_RADEON=1 $LIBDRM_RADEON_CFLAGS" RADEON_LDFLAGS=$LIBDRM_RADEON_LIBS fi + if test "$HAVE_LIBDRM_RADEON" = no; then + AC_MSG_ERROR([You need libdrm_radeon >= $LIBDRM_RADEON_REQUIRED.]) + fi ;; esac AC_SUBST([RADEON_CFLAGS])
Signature · 1 line
1.7.0.3
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
Quoted 1 line · Sedat Dilek
V2 of my proposal.
0001: Reviewed-by: Dan Nicholson <[email protected]>
0002: Having a hard requirement on libdrm_radeon needs to be passed by the radeon developers. If it is deemed OK, then just drop the 3rd and 4th argument to the PKG_CHECK_MODULES and the HAVE_LIBDRM_RADEON variable.
--
Dan
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--