[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3] configure: warn if not using a separate build directory
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v3] configure: warn if not using a separate build directory |
Date: |
Tue, 31 Mar 2020 20:28:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Eric Blake <address@hidden> writes:
> On 3/31/20 12:16 PM, 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, so that they are
>> aware that they're building QEMU in an undesirable manner.
>>
>> Signed-off-by: Daniel P. Berrangé <address@hidden>
>> ---
>>
>
>> +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 directly from the"
>> + echo "source directory is deprecated. In source dir builds are not"
>> + echo "covered by automated testing and thus may not correctly build"
>> + echo "QEMU. Users are recommended to use a separate build directory:"
>
> Our mails crossed. I still think this reads a bit awkwardly; maybe:
>
> s/IN SOURCE DIR BUILDS/BUILDING IN THE SOURCE DIR/
> s/In source dir builds/In-tree builds/
>
> Reviewed-by: Eric Blake <address@hidden>
Preferably with Eric's tweaks:
Reviewed-by: Markus Armbruster <address@hidden>