[Mesa-dev] [PATCH-RFC] autoconf: add --enable-{dri,glx,osmesa}

Chia-I Wu olvaffe at gmail.com
Fri Jul 1 18:31:13 PDT 2011


On Sat, Jul 2, 2011 at 4:10 AM, Jon TURNEY <jon.turney at dronecode.org.uk> wrote:
> This seems like a useful rationalization of the configuration arguments, but
> one of your follow up patches to this ("autoconf: fix --disable-glx") has
> changed the condition for checking for libdrm from mesadriver=dri &&
> driglx_direct=yes to just enable_dri=yes.
>
> This change causes ./configure --with-driver=dri --disable-driglx-direct to
> fail when libdrm isn't present, see [1].
It should be fixed now.  Please try again.

You should be able to replace "--with-driver=dri" by "--disable-dri"
now if all you need is libGL with indirect rendering.

> (I'll just note that I'd also like to be able to ./configure --with-driver=dri
> --with-dri-drivers=swrast without requiring libdrm, as there is no functional
> dependency, but it's not possible to build that at the moment without some
> patching to untangle a build dependency)
That probably could be done by defining HAVE_LIBDRM when libdrm is
available and let glx checks the macro.
> [1]
> http://tinderbox.freedesktop.org/builds/2011-07-01-0004/logs/libGL-indirect-only/#configure
>

-- 
olv at LunarG.com


More information about the mesa-dev mailing list