On Sat, Jul 2, 2011 at 4:10 AM, Jon TURNEY <jon.tur...@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
>

-- 
o...@lunarg.com
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to