configure: Don't allow doing a 32-bit Wow64 build from inside the source tree.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2015-11-20 19:27:30 +09:00
parent ecd814cca5
commit dfe65ce13e
2 changed files with 4 additions and 0 deletions

2
configure vendored
View File

@ -5069,6 +5069,8 @@ then
as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
--enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
fi
test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
You should create a separate build directory and run configure from there." "$LINENO" 5
enable_fonts=${enable_fonts:-no}
enable_server=${enable_server:-no}
elif test "x$enable_win64" = "xyes"

View File

@ -203,6 +203,8 @@ then
AC_MSG_ERROR([--enable-win64 and --with-wine64 are mutually exclusive.
--enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree.])
fi
test "$srcdir" != . || AC_MSG_ERROR([--with-wine64 cannot be used when building inside the source tree.
You should create a separate build directory and run configure from there.])
enable_fonts=${enable_fonts:-no}
enable_server=${enable_server:-no}
elif test "x$enable_win64" = "xyes"