[PATCH] build: dont use AC_CHECK_FILE when enabling DRI

Ross Burton ross.burton at intel.com
Mon Dec 3 13:32:12 PST 2012


Whoops, should have amended the subject. It's the MGA driver. Daniel Stone has already said that I should use AC_CHECK_HEADERS and replicate the existing logic so they'll be a v2 soon. 

Ross
-- 
Ross Burton
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Monday, 3 December 2012 at 21:11, Julien Cristau wrote:

> On Mon, Dec 3, 2012 at 20:51:21 +0000, Ross Burton wrote:
> 
> > Automatically enabling or disabling a feature based on installed files isn't
> > deterministic, and AC_CHECK_FILE returns an error when cross-compiling.
> > 
> > Fix this by enabling DRI by default, and removing the explicit file checks as
> > pkg-config is good enough.
> > 
> > (#57606)
> > 
> > Signed-off-by: Ross Burton <ross.burton at intel.com>
> > ---
> > configure.ac | 25 ++-----------------------
> > 1 file changed, 2 insertions(+), 23 deletions(-)
> > 
> 
> What module is this against? I assume some kind of video driver? What
> happens if your X server has dri disabled and your driver is built with
> it on anyway?
> 
> Cheers,
> Julien
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20121203/8e18e715/attachment.html>


More information about the xorg-devel mailing list