Bug 27739 - build in a separate directory includes config.h from source directory
Summary: build in a separate directory includes config.h from source directory
Status: RESOLVED NOTABUG
Alias: None
Product: DRI
Classification: Unclassified
Component: libdrm (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 07:40 UTC by Michal Suchanek
Modified: 2010-04-22 17:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Michal Suchanek 2010-04-19 07:40:09 UTC
to reproduce

1) checkout the 2.4.19 version of drm from git
2) run ./configure
3) update to 2.4.20
4) mkdir build ; cd build ; ../configure ; make

the build in the build directory includes the old config.h from the source directory and fails.
Comment 1 Kristian Høgsberg 2010-04-22 17:01:31 UTC
What you're doing is not supported.  I get

  configure: error: source directory already configured; run "make distclean" there first

when I try to configure in a build-dir with an already configured source dir.  Doing make distclean removes the config.h in the source dir.


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.