Changing the way drivers find DRI headers

Tilman Sauerbeck tilman at code-monkey.de
Fri Jun 16 08:28:35 PDT 2006


Donnie Berkholz [2006-06-16 08:05]:
> Tilman Sauerbeck wrote:
> > Tilman Sauerbeck [2006-04-25 17:29]:
> >> Why are these checks even needed?
> >>
> >> I think it should be enough to call
> >> PKG_CHECK_MODULES(DRI, xf86driproto libdrm, have_dri=yes, have_dri=no)
> > 
> > Won't work of course if the server was configured with --disable-dri :)
> > 
> > Maybe it's best to add another variable to xorg-server.pc:
> > have_dri=yes/no
> 
> I like this idea. Right now we've got hacks in our build system to
> ensure the server's +dri if drivers are getting built +dri, etc.

On IRC, Michel pointed out that the server might have been build without
DRI support, but you still could want to build the drivers with the DRI
enabled.

Regards,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060616/cf56eeee/attachment.pgp>


More information about the xorg mailing list