[llvm-commits] CVS: llvm/autoconf/configure.ac
Reid Spencer
reid at x10sys.com
Wed Dec 22 22:22:44 PST 2004
Changes in directory llvm/autoconf:
configure.ac updated: 1.147 -> 1.148
---
Log message:
Added support for detection of amd64 targets.
---
Diffs of the changes: (+3 -1)
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.147 llvm/autoconf/configure.ac:1.148
--- llvm/autoconf/configure.ac:1.147 Tue Dec 21 23:56:56 2004
+++ llvm/autoconf/configure.ac Thu Dec 23 00:22:33 2004
@@ -139,7 +139,8 @@
dnl the OS.
AC_CACHE_CHECK([target architecture],[llvm_cv_target_arch],
[case $target in
- i*86-*) llvm_cv_target_arch="x86" ;;
+ 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" ;;
@@ -183,6 +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,[[]]) ;;
*) AC_SUBST(JIT,[[]]) ;;
esac
fi
More information about the llvm-commits
mailing list