Fix Linux build. Enable 64-bit recompiler in Linux.

This commit is contained in:
TomW 2015-07-18 16:03:39 +01:00
commit 634c235dc2
7 changed files with 267 additions and 109 deletions

19
configure vendored
View file

@ -567,6 +567,8 @@ OS_LINUX_FALSE
OS_LINUX_TRUE
OS_WIN_FALSE
OS_WIN_TRUE
CPU_X86_64_FALSE
CPU_X86_64_TRUE
CPU_I386_FALSE
CPU_I386_TRUE
DYNAREC_FALSE
@ -4027,6 +4029,11 @@ $as_echo_n "checking for cpu... " >&6; }
i?86)
CPU=i386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${host_cpu}" >&5
$as_echo "${host_cpu}" >&6; }
;;
x86_64)
CPU=x86_64
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${host_cpu}" >&5
$as_echo "${host_cpu}" >&6; }
;;
*)
@ -4043,6 +4050,14 @@ else
CPU_I386_FALSE=
fi
if test "$CPU" = "x86_64"; then
CPU_X86_64_TRUE=
CPU_X86_64_FALSE='#'
else
CPU_X86_64_TRUE='#'
CPU_X86_64_FALSE=
fi
#AC_MSG_CHECKING([for libz])
#AX_CHECK_ZLIB
@ -4643,6 +4658,10 @@ if test -z "${CPU_I386_TRUE}" && test -z "${CPU_I386_FALSE}"; then
as_fn_error "conditional \"CPU_I386\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${CPU_X86_64_TRUE}" && test -z "${CPU_X86_64_FALSE}"; then
as_fn_error "conditional \"CPU_X86_64\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${OS_WIN_TRUE}" && test -z "${OS_WIN_FALSE}"; then
as_fn_error "conditional \"OS_WIN\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5