configure: Add cross prefix for widl tool
commit158bb2249ed9b1ed0a376f30a89ecedb2f448552
authorKonstantin Kostiuk <kkostiuk@redhat.com>
Thu, 28 Apr 2022 18:15:25 +0000 (28 21:15 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 7 May 2022 05:46:58 +0000 (7 07:46 +0200)
tree5d7fdd709ccce017a9b3bfb08049885cf9d05aae
parentb6b3da999844b710d8d8b97a93c8420e6d46cd44
configure: Add cross prefix for widl tool

The mingw-w64-tool package in Fedora provides widl tool with a
cross prefix, so adds it automatically for cross builds.

WIDL env can be used to redefine the path to tool.
The same behavior as with windres.

Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Message-Id: <20220428181525.300521-1-kkostiuk@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure