Re: [Qemu-devel] [PATCH] configure: make source tree build more robust

2014-04-28 Thread Markus Armbruster
Eric Blake writes: > On 04/28/2014 06:21 AM, Michael S. Tsirkin wrote: >> When source directory can be arrived at by two paths, >> configure might misdetect an out of tree build. >> The simplest way to trigger the problem is running >> configure using a full path. E.g. ( refers to qemu source >>

Re: [Qemu-devel] [PATCH] configure: make source tree build more robust

2014-04-28 Thread Eric Blake
On 04/28/2014 06:21 AM, Michael S. Tsirkin wrote: > When source directory can be arrived at by two paths, > configure might misdetect an out of tree build. > The simplest way to trigger the problem is running > configure using a full path. E.g. ( refers to qemu source > tree): > ln -s > c

[Qemu-devel] [PATCH] configure: make source tree build more robust

2014-04-28 Thread Michael S. Tsirkin
When source directory can be arrived at by two paths, configure might misdetect an out of tree build. The simplest way to trigger the problem is running configure using a full path. E.g. ( refers to qemu source tree): ln -s cd /configure A more practical way is when make runs config

Re: [Qemu-devel] [PATCH] configure: make source tree build more robust

2014-04-28 Thread Paolo Bonzini
Il 28/04/2014 14:21, Michael S. Tsirkin ha scritto: A more practical way is when make runs configure automatically: 1. cd /; ./configure SRC_PATH=/ is written into config_host.mak 2. cd /; touch configure; make make now runs /configure, so configure assumes it's an out of tree build