configure: Fail if --enable-archs is used and any cross-compiler is missing.
commitcda2886fd3018c9e8c12791238db481b528f6a65
authorZebediah Figura <zfigura@codeweavers.com>
Sat, 12 Aug 2023 22:43:08 +0000 (12 17:43 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 14 Aug 2023 13:56:00 +0000 (14 15:56 +0200)
treea52fa3d2038e92aae537e9b85a4f3f8f82805699
parentd405a688ba6b5042775d733f57d00ba6318e1d0f
configure: Fail if --enable-archs is used and any cross-compiler is missing.

For example, currently, if --enable-archs=i386,x86_64 is used, and there is an
x86_64 cross compiler present but no i386 cross compiler, Wine will silently
remove i386 from the list of cross-compiled architechtures, and only compile
PE code for x86_64. This seems quite undesirable.

I am not aware of any practical reason for this to happen. Debian does ship
i686 and x86_64 MinGW compilers in separate packages, though, so it is possible
in theory.
configure
configure.ac