Don't do the BUILD_X64 checks if building a 64-bit LibreOffice

This commit is contained in:
Tor Lillqvist 2011-05-11 13:00:43 +03:00
parent 3f444f9f29
commit 0fbc4f3307

View file

@ -2236,12 +2236,14 @@ if test "$_os" = "WINNT"; then
# building LibreOffice itself as 64-bit code, which is
# unfished work and highly experimental.
AC_MSG_CHECKING([for a x64 compiler])
BUILD_X64=
CC_X64_BINARY=
LINK_X64_BINARY=
LIBMGR_X64_BINARY=
if test "$CL_X64" = ""; then
AC_MSG_CHECKING([for a x64 compiler])
# Prefer native x64 compiler to cross-compiler, in case we are running
# the build on a 64-bit OS.
if "$with_cl_home/bin/amd64/cl.exe" -? </dev/null >/dev/null 2>&1; then
@ -2263,6 +2265,7 @@ if test "$_os" = "WINNT"; then
AC_MSG_RESULT([not found])
AC_MSG_WARN([Installation set will not contain the 64-bit Explorer extension])
fi
fi
AC_SUBST(BUILD_X64)
# These are passed to the environment through set_soenv.in as usual, and then