mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:48:36 +00:00
configure: Restore warning for missing PE compiler.
It was dropped in cda2886fd3
.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56665
This commit is contained in:
parent
e6e1bbb410
commit
4f68f67cb5
11
configure
vendored
11
configure
vendored
|
@ -12027,6 +12027,17 @@ case $HOST_ARCH in
|
|||
arm|aarch64)
|
||||
test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for $HOST_ARCH, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
|
||||
DLLEXT="" ;;
|
||||
*)
|
||||
if test "x$PE_ARCHS" = "x"
|
||||
then :
|
||||
case "x$with_mingw" in
|
||||
x) as_fn_append wine_notices "|Suitable PE cross-compiler not found, PE files won't be built." ;;
|
||||
xno) ;;
|
||||
*) as_fn_error $? "Suitable PE cross-compiler not found, PE files won't be built.
|
||||
This is an error since --with-mingw was requested." "$LINENO" 5 ;;
|
||||
esac
|
||||
|
||||
fi ;;
|
||||
esac
|
||||
|
||||
|
||||
|
|
|
@ -1016,6 +1016,9 @@ case $HOST_ARCH in
|
|||
arm|aarch64)
|
||||
test "x$PE_ARCHS" != x || AC_MSG_ERROR([PE cross-compilation is required for $HOST_ARCH, please install clang/llvm-dlltool/lld, or llvm-mingw.])
|
||||
DLLEXT="" ;;
|
||||
*)
|
||||
WINE_NOTICE_WITH(mingw,[test "x$PE_ARCHS" = "x"],
|
||||
[Suitable PE cross-compiler not found, PE files won't be built.]) ;;
|
||||
esac
|
||||
|
||||
dnl **** External libraries ****
|
||||
|
|
Loading…
Reference in a new issue