[PATCH v2] configure: warn if not using a separate build directory

2020-03-31 Thread Daniel P . Berrangé
Running configure directly from the source directory is a build configuration that will go away in future. It is also not currently covered by any automated testing. Display a deprecation warning if the user attempts to use an in-srcdir build setup, so that they are aware that they're building QEMU

Re: [PATCH v2] configure: warn if not using a separate build directory

2020-03-31 Thread Eric Blake
On 3/31/20 10:51 AM, Daniel P. Berrangé wrote: Running configure directly from the source directory is a build configuration that will go away in future. It is also not currently covered by any automated testing. Display a deprecation warning if the user attempts to use an in-srcdir build setup,

Re: [PATCH v2] configure: warn if not using a separate build directory

2020-03-31 Thread Peter Maydell
On Tue, 31 Mar 2020 at 17:05, Eric Blake wrote: > > On 3/31/20 10:51 AM, Daniel P. Berrangé wrote: > > +if test "$in_srcdir" = "yes"; then > > +echo > > +echo "WARNING: SUPPORT FOR IN SOURCE DIR BUILDS IS DEPRECATED" > > +echo > > +echo "Support for running the 'configure' script d

Re: [PATCH v2] configure: warn if not using a separate build directory

2020-03-31 Thread Markus Armbruster
Daniel P. Berrangé writes: > Running configure directly from the source directory is a build > configuration that will go away in future. It is also not currently > covered by any automated testing. Display a deprecation warning if > the user attempts to use an in-srcdir build setup, so that they

Re: [PATCH v2] configure: warn if not using a separate build directory

2020-03-31 Thread Daniel P . Berrangé
On Tue, Mar 31, 2020 at 05:12:35PM +0100, Peter Maydell wrote: > On Tue, 31 Mar 2020 at 17:05, Eric Blake wrote: > > > > On 3/31/20 10:51 AM, Daniel P. Berrangé wrote: > > > +if test "$in_srcdir" = "yes"; then > > > +echo > > > +echo "WARNING: SUPPORT FOR IN SOURCE DIR BUILDS IS DEPRECATED

Re: [PATCH v2] configure: warn if not using a separate build directory

2020-03-31 Thread Eric Blake
On 3/31/20 11:16 AM, Markus Armbruster wrote: Daniel P. Berrangé writes: Running configure directly from the source directory is a build configuration that will go away in future. It is also not currently covered by any automated testing. Display a deprecation warning if the user attempts to u