[Mesa-dev] [Mesa-stable] [PATCH] configure: don't try to build gallium DRI drivers if --disable-dri is set

Brian Paul brianp at vmware.com
Tue Feb 10 15:40:48 PST 2015

On 02/10/2015 04:24 PM, Emil Velikov wrote:
> On 10/02/15 16:32, Brian Paul wrote:
>> Before, if --disable-dri was set we were still testing the libdrm version
>> for r300, r600, vmware/svga.
> Fwiw there is no libdrm* check for vmware/svga.

Right, but if --disable-dri is given, we shouldn't build any drivers 
that use DRI.

> Your concern is that as you pass --disable-dri, you still get an error
> about missing libdrm_radeon dependency ?

The issue was reported on mesa-users and I reproduced it here.


> Afaics currently we disable all classic drivers with --disable-dri -
> would you really want to build gallium swrast ?

I think building gallium softpipe/llvmpipe is what you'd expect if 
--disable-dri is given.

>> Cc: "10.4, 10.5" <mesa-stable at lists.freedesktop.org>
>> ---
>> I'm not an autoconf expert, so there might be a better way of doing this.
> None of use is. I'm just st*pid/masochistic enough to occasionally look
> at it :-P

And I appreciate that!


More information about the mesa-dev mailing list