qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] configure: Avoid error messages about missing *-config-*.


From: Paolo Bonzini
Subject: Re: [PATCH v2] configure: Avoid error messages about missing *-config-*.h files
Date: Wed, 19 May 2021 16:45:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 19/05/21 14:35, Philippe Mathieu-Daudé wrote:
On 5/19/21 1:38 PM, Thomas Huth wrote:
When compiling with --disable-system there is a harmless yet still
annoying error message at the end of the "configure" step:

  sed: can't read *-config-devices.h: No such file or directory

When only building the tools or docs, without any emulator at all,
there is even an additional message about missing *-config-target.h
files.

Fix it by checking whether any of these files are available before
using them.

Fixes: e0447a834d ("configure: Poison all current target-specific #defines")
Reported-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
  v2: Use ":>" instead of "touch" as suggested by Philippe

  configure | 12 ++++++++----
  1 file changed, 8 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


Queued, thanks.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]