From efbe40ada6e76cc265b3feab7ab57db870ce0f22 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 25 Nov 2004 07:28:19 +0000 Subject: [PATCH] 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 --- autoconf/configure.ac | 2 +- configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1