[PATCH 1/3] strace: Fix up uname matching on native SH machines.

Paul Mundt lethal at linux-sh.org
Wed Oct 31 09:39:00 UTC 2007


The current 'sh' uname matching works well for cross-compiling, but
blows up when doing native builds. Update to match all of the potential
uname variants.

Signed-off-by: Paul Mundt <lethal at linux-sh.org>

---

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: configure.ac
===================================================================
RCS file: /cvsroot/strace/strace/configure.ac,v
retrieving revision 1.52
diff -u -p -r1.52 configure.ac
--- configure.ac	3 Aug 2007 10:28:56 -0000	1.52
+++ configure.ac	31 Oct 2007 09:23:09 -0000
@@ -91,7 +91,7 @@ hppa*|parisc*)
 	arch=hppa
 	AC_DEFINE([HPPA], 1, [Define for the HPPA architecture.])
 	;;
-sh)
+sh|sh[[234]]*)
 	arch=sh
 	AC_DEFINE([SH], 1, [Define for the SH architecture.])
 	;;




More information about the Strace-devel mailing list