aboutsummaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-21 06:31:55 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-21 06:31:55 +0000
commit5b53fd1cfccc6018880101de9ffe4a9514d21fd4 (patch)
tree3b1b8f86fe5d2eac91175c7f7d358cefb35eb959 /autoconf
parent2c7123c5583040019493882b1491db381cbf4843 (diff)
Add support for the ARM target in the target configuration processing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index ccbbffe2f8..77e9f2e612 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -213,6 +213,7 @@ AC_CACHE_CHECK([target architecture],[llvm_cv_target_arch],
powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
alpha*-*) llvm_cv_target_arch="Alpha" ;;
ia64-*) llvm_cv_target_arch="IA64" ;;
+ arm-*) llvm_cv_target_arch="ARM" ;;
*) llvm_cv_target_arch="Unknown" ;;
esac])
@@ -298,6 +299,7 @@ else
x86_64) AC_SUBST(TARGET_HAS_JIT,0) ;;
Alpha) AC_SUBST(TARGET_HAS_JIT,1) ;;
IA64) AC_SUBST(TARGET_HAS_JIT,0) ;;
+ ARM) AC_SUBST(TARGET_HAS_JIT,1) ;;
*) AC_SUBST(TARGET_HAS_JIT,0) ;;
esac
fi
@@ -356,6 +358,7 @@ case "$enableval" in
PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
Alpha) TARGETS_TO_BUILD="Alpha" ;;
IA64) TARGETS_TO_BUILD="IA64" ;;
+ ARM) TARGETS_TO_BUILD="ARM" ;;
*) AC_MSG_ERROR([Can not set target to build]) ;;
esac
;;
@@ -367,6 +370,7 @@ case "$enableval" in
powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
ia64) TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;
+ arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
*) AC_MSG_ERROR([Unrecognized target $a_target]) ;;
esac
done