Add enough gunk to configure.in to get through ./configure on
armv4l-unknown-linux-gnu.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3079 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/configure.in b/configure.in
index 1401ea1..015acc1 100644
--- a/configure.in
+++ b/configure.in
@@ -7,7 +7,7 @@
AM_MAINTAINER_MODE
# Where is VEX ? ToDo: --with-vex=
-VEX_DIR=/home/sewardj/Vex/vex/trunk
+VEX_DIR=/home/sewardj/VEX/vex/trunk
AC_SUBST(VEX_DIR)
# Checks for programs.
@@ -87,6 +87,15 @@
ARCH_CORE_AM_CCASFLAGS=""
;;
+ arm*)
+ AC_MSG_RESULT([ok (${host_cpu})])
+ VG_ARCH="arm"
+ KICKSTART_BASE="0xb0000000"
+ ARCH_CORE_AM_CFLAGS="-fomit-frame-pointer @PREFERRED_STACK_BOUNDARY@ -DELFSZ=32"
+ ARCH_TOOL_AM_CFLAGS="-fomit-frame-pointer @PREFERRED_STACK_BOUNDARY@"
+ ARCH_CORE_AM_CCASFLAGS=""
+ ;;
+
powerpc*)
AC_MSG_RESULT([no (${host_cpu})])
VG_ARCH="ppc"
@@ -156,10 +165,13 @@
AC_MSG_RESULT([ok (${host_cpu}-${host_os})])
;;
+ arm-linux)
+ AC_MSG_RESULT([ok (${host_cpu}-${host_os})])
+ ;;
+
*)
AC_MSG_RESULT([no (${host_cpu}-${host_os})])
- AC_MSG_ERROR([Valgrind is platform specific. Sorry. Please consider doin
-g a port.])
+ AC_MSG_ERROR([Valgrind is platform specific. Sorry. Please consider doing a port.])
;;
esac