Bug 14663 - fails to find src/{modes,parser} if objdir != srcdir
Summary: fails to find src/{modes,parser} if objdir != srcdir
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Gordon Jin
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2008-02-25 05:57 UTC by Julien Cristau
Modified: 2008-02-26 02:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
proposed patch (1.54 KB, patch)
2008-02-25 05:57 UTC, Julien Cristau
no flags Details | Splinter Review

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.