[llvm-commits] CVS: llvm/autoconf/configure.ac
Reid Spencer
reid at x10sys.com
Thu Dec 23 13:09:03 PST 2004
Changes in directory llvm/autoconf:
configure.ac updated: 1.148 -> 1.149
---
Log message:
Update the amd64 target detection checks.
Patch contributed by Markus F.X.J. Oberhumer.
---
Diffs of the changes: (+6 -6)
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.148 llvm/autoconf/configure.ac:1.149
--- llvm/autoconf/configure.ac:1.148 Thu Dec 23 00:22:33 2004
+++ llvm/autoconf/configure.ac Thu Dec 23 15:08:52 2004
@@ -139,11 +139,11 @@
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 @@
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
More information about the llvm-commits
mailing list