aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoconf/configure.ac2
-rwxr-xr-xconfigure2
2 files changed, 2 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 8d4999aefb..4f300b75c7 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -179,7 +179,7 @@ if test ${enableval} = "no"
then
AC_SUBST(JIT,[[]])
else
- case "$llvm_cv_target_architecture" in
+ case "$llvm_cv_target_arch" in
x86) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
Sparc) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
PowerPC) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
diff --git a/configure b/configure
index 733154c7e6..ea7408b511 100755
--- a/configure
+++ b/configure
@@ -2945,7 +2945,7 @@ then
JIT=
else
- case "$llvm_cv_target_architecture" in
+ case "$llvm_cv_target_arch" in
x86) JIT=TARGET_HAS_JIT=1
;;
Sparc) JIT=TARGET_HAS_JIT=1