summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2019-04-28 12:45:36 +0200
committerAndy Wingo <wingo@pobox.com>2019-04-28 13:54:34 +0200
commit61c6a0d3dd9930e8e060f844bf22f07f190329eb (patch)
treeed792077e2a6a4d3233fe3a7461017b5c944dd37
parent334d0ba860ae74fb7467cd87d7003190d710be53 (diff)
downloadguile-61c6a0d3dd9930e8e060f844bf22f07f190329eb.tar.gz
Enable JIT on 32-bit x86
* acinclude.m4 (GUILE_ENABLE_JIT): Turn on JIT for 32-bit x86.
-rw-r--r--acinclude.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 53ee4c3e1..6febd3345 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1,6 +1,6 @@
dnl -*- Autoconf -*-
-dnl Copyright (C) 1997,1999-2002,2004,2006-2011,2013,2018
+dnl Copyright (C) 1997,1999-2002,2004,2006-2011,2013,2018-2019
dnl Free Software Foundation, Inc.
dnl
dnl This file is part of GUILE
@@ -615,9 +615,10 @@ AC_DEFUN([GUILE_ENABLE_JIT], [
xy*) enable_jit=yes ;;
xn*) enable_jit=no ;;
xa* | x)
- # For the time being, only enable JIT on x86-64.
+ # For the time being, only enable JIT on x86-64 and i686.
case "$target_cpu" in
x86_64|amd64) enable_jit=yes ;;
+ i?86) enable_jit=yes ;;
*) enable_jit=no ;;
esac ;;
*) AC_MSG_ERROR(bad value $enable_jit for --enable-jit) ;;