diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 8d4999aefbc..4f300b75c73 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 733154c7e68..ea7408b511c 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