On Wed, May 11, 2011 at 11:44:38AM +0100, Dr. David Alan Gilbert wrote:
Hi,
I had a build problem with latrace on ARM in that it didn't recognise that
I was on ARM and thus didn't compile in argument support.
I tracked it back to our uname being 'armv7l' rather than 'arm' which it
was
testing for, so I've got the tiny patch below.
(I'm curious actually which ARM system has a uname -m that is 'arm').
not sure about arm.. Akos?
(This was against a version from a couple of weeks ago - the latrace git repo
seems to be down).
hmm.. looks like
git clone git://...
is not working, while
git clone ssh://...
is.. I'll check up on that.. thanks
Dave
----------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 966f6bb..b3a2ec0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,7 +74,7 @@ AC_TYPE_UINT16_T
AC_TYPE_UINT8_T
date=`date "+%B %G"`
-unamem=`uname -m | sed 's/i.86/i686/'`
+unamem=`uname -m | sed -e 's/i.86/i686/' -e 's/^armv.*/arm/'`
looks ok to me, I'll put it in
thanks,
jirka
AC_SUBST(CONFIG_DATE, "$date")
AC_SUBST(CONFIG_SYSDEP_DIR, "$unamem")
_______________________________________________
latrace mailing list
latrace(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/latrace