diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index 227aa62f6d85..c8732b5dfdc8 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/autoconf/configure.ac @@ -167,7 +167,7 @@ dnl the OS. AC_CACHE_CHECK([target architecture],[llvm_cv_target_arch], [case $target in i?86-*) llvm_cv_target_arch="x86" ;; - amd64-* | x86_64-*) llvm_cv_target_arch="X86_64" ;; + amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;; sparc*-*) llvm_cv_target_arch="Sparc" ;; powerpc*-*) llvm_cv_target_arch="PowerPC" ;; *) llvm_cv_target_arch="Unknown" ;; diff --git a/llvm/configure b/llvm/configure index 0a33a49cd40e..592e0d982f85 100755 --- a/llvm/configure +++ b/llvm/configure @@ -1779,7 +1779,7 @@ if test "${llvm_cv_target_arch+set}" = set; then else case $target in i?86-*) llvm_cv_target_arch="x86" ;; - amd64-* | x86_64-*) llvm_cv_target_arch="X86_64" ;; + amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;; sparc*-*) llvm_cv_target_arch="Sparc" ;; powerpc*-*) llvm_cv_target_arch="PowerPC" ;; *) llvm_cv_target_arch="Unknown" ;;