[PATCH xserver] config: remove --with-dri-driver-path option, use dri.pc #29740

Rémi Cardona remi at gentoo.org
Sun Sep 26 14:30:41 PDT 2010


Le 26/09/2010 22:34, Dan Nicholson a écrit :
> Hmm, I don't really get it. If you can't build a DRI-enabled Mesa, you
> won't have dri.pc and your server won't have DRI support. What part is
> painful?

Well that's what bit us: you need a DRI-enabled mesa even if you're only
building swrast.

So we've had to turn on DRI (even though it doesn't have any DRM
drivers) just to get swrast, whereas older versions of mesa/xorg-server
would build just fine without it.

The real painful part is the #include <drm.h> in
/usr/include/GL/internal/dri_interface.h. Back then, I had no idea if
those kernel headers were even working on hppa/alpha.

According to this file, mesa/swrast *can* be built without DRM, the
option just isn't available through a ./configure switch somewhere.

Cheers,

Rémi

PS, Dan: sorry for the double posting


More information about the xorg-devel mailing list