From: Reid Spencer Date: Thu, 25 Nov 2004 07:28:19 +0000 (+0000) Subject: Gack. Actually use the correct variable name in setting the JIT support. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=efbe40ada6e76cc265b3feab7ab57db870ce0f22 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 --- 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