Bug 54942

Summary: xf86-video-intel configure.ac automagics on libudev , should be controllable
Product: xorg Reporter: Ian Stakenvicius <axs>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
patch to add a --disable-udev option to ./configure none

Description Ian Stakenvicius 2012-09-14 19:52:38 UTC
Created attachment 67185 [details] [review]
patch to add a --disable-udev option to ./configure

Building an xf86-video-intel binary using a system that has udev installed, but for a target where udev will not be used, is currently difficult and unsupported in configure.ac.

Addition of an AC_ARG_ENABLE to optionally turn off the configure check would make this much simpler.

Please see the provided patch.

Reference:  https://bugs.gentoo.org/show_bug.cgi?id=434794

Affected versions:  all since 2.14.0 , looks like.
Comment 1 Chris Wilson 2012-09-14 20:07:25 UTC
commit 3b9259f7cedc179617bc24b3912d2d8d75c5a824
Author: Ian Stakenvicius <axs@gentoo.org>
Date:   Fri Sep 14 21:04:42 2012 +0100

    configure: Make udev dependency optional
    
    In order to support buildbots where the udev headers may exist on the
    build system but not the target, we need explicit control over optional
    dependencies.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54942

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.