[Mesa-dev] [PATCH] configure.ac: Do not check for LIBDRM_RADEON at startup

Alex Deucher alexdeucher at gmail.com
Thu Jul 14 13:11:34 PDT 2011


On Thu, Jul 14, 2011 at 4:03 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Is it still possible to build radeon,r300,r600 without LIBDRM_RADEON?

You can, but only for UMS/DRI1 and I don't know how well tested that
is any more.  KMS/DRI2 classic drivers require libdrm_radeon.

Alex

>
> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list