Skip to contentSkip to conversation

New: build in a separate directory includes config.h from build directory

Bug 27739 [email protected] 1 participant 3 messages Apr 19, 2010 – Apr 23, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=27739

Summary: build in a separate directory includes config.h from
build directory
Product: DRI
Version: DRI CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: minor
Priority: medium
Component: libdrm
AssignedTo: [email protected]
ReportedBy: [email protected]

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 27739] build in a separate directory includes config.h from source directory

https://bugs.freedesktop.org/show_bug.cgi?id=27739

Michal Suchanek <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|build in a separate         |build in a separate
                   |directory includes config.h |directory includes config.h
                   |from build directory        |from source directory
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 27739] build in a separate directory includes config.h from source directory

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=27739

Kristian Høgsberg <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |NOTABUG

--- Comment #1 from Kristian Høgsberg <[email protected]> 2010-04-22 17:01:31 PDT --- 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.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel