aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-25 07:28:19 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-25 07:28:19 +0000
commitefbe40ada6e76cc265b3feab7ab57db870ce0f22 (patch)
treea159c591ff587ca33277fa408ae9b7a28d99b647
parentd4c8bea47fd3403ff1f3786b99ff11e6e1b5fc09 (diff)
Gack. Actually use the correct variable name in setting the JIT support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18240 91177308-0d34-0410-b5e6-96231b3b80d8
-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