diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-23 21:08:52 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-23 21:08:52 +0000 |
commit | ee93c874aa6018e0189df0a8d5b10197c6085d93 (patch) | |
tree | b19e3a504503add48d45c6c5ee3427350d32dbf8 /autoconf/configure.ac | |
parent | 72a59007d4d637fa21c330bb5ec051a53dd6a4a1 (diff) | |
download | external_llvm-ee93c874aa6018e0189df0a8d5b10197c6085d93.zip external_llvm-ee93c874aa6018e0189df0a8d5b10197c6085d93.tar.gz external_llvm-ee93c874aa6018e0189df0a8d5b10197c6085d93.tar.bz2 |
Update the amd64 target detection checks.
Patch contributed by Markus F.X.J. Oberhumer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19118 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r-- | autoconf/configure.ac | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 6129bb4..a9df9a7 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -139,11 +139,11 @@ dnl This will allow Makefiles to make a distinction between the hardware and dnl the OS. AC_CACHE_CHECK([target architecture],[llvm_cv_target_arch], [case $target in - i?86-*) llvm_cv_target_arch="x86" ;; - amd64-*) llvm_cv_target_arch="amd64" ;; - sparc*-*) llvm_cv_target_arch="Sparc" ;; - powerpc*-*) llvm_cv_target_arch="PowerPC" ;; - *) llvm_cv_target_arch="Unknown" ;; + i?86-*) llvm_cv_target_arch="x86" ;; + amd64-* | x86_64-*) llvm_cv_target_arch="AMD64" ;; + sparc*-*) llvm_cv_target_arch="Sparc" ;; + powerpc*-*) llvm_cv_target_arch="PowerPC" ;; + *) llvm_cv_target_arch="Unknown" ;; esac]) if test "$llvm_cv_target_arch" = "Unknown" ; then @@ -184,7 +184,7 @@ else x86) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;; Sparc) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;; PowerPC) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;; - amd64) AC_SUBST(JIT,[[]]) ;; + AMD64) AC_SUBST(JIT,[[]]) ;; *) AC_SUBST(JIT,[[]]) ;; esac fi |