Bug 14663

Summary: fails to find src/{modes,parser} if objdir != srcdir
Product: xorg Reporter: Julien Cristau <jcristau>
Component: Driver/intelAssignee: Gordon Jin <gordon.jin>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: patch
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
proposed patch none

Description Julien Cristau 2008-02-25 05:57:32 UTC
Created attachment 14556 [details] [review]
proposed patch

Hi,

when configure is run from a directory other than the top source dir, it fails to find the files in src/modes and src/parser (if configured against an older xserver's headers).  The attached patch fixes that.

Cheers,
Julien
Comment 1 Wang Zhenyu 2008-02-25 21:20:35 UTC
Looks ok with me. Julien, you can check in yourself, do you?
Comment 2 Julien Cristau 2008-02-26 02:33:19 UTC
On Mon, Feb 25, 2008 at 21:20:36 -0800, bugzilla-daemon@freedesktop.org wrote:

> --- Comment #1 from Wang Zhenyu <zhenyu.z.wang@intel.com>  2008-02-25 21:20:35 PST ---
> Looks ok with me. Julien, you can check in yourself, do you?
> 
Thanks, pushed to master.

commit 6935c732c351585f31e2094c4201a00e3d5529b3
Author: Julien Cristau <jcristau@debian.org>
Date:   Mon Feb 25 14:47:02 2008 +0100

    Look for src/{modes,parser} in $srcdir, not in objdir
    
    This makes the detection work in case configure is run from another directory.

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.