From d66ed0eae9c82b657bf7f3ea969490ad72155734 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sun, 13 Jun 2010 12:28:21 +0200 Subject: [PATCH] tcg-s390: correctly detect s390 with a 64-bit kernel Signed-off-by: Aurelien Jarno --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index ced4d2f..c0d8aa5 100755 --- a/configure +++ b/configure @@ -193,6 +193,12 @@ elif check_define __mips__ ; then cpu="mips" elif check_define __ia64__ ; then cpu="ia64" +elif check_define __s390__ ; then + if check_define __s390x__ ; then + cpu="s390x" + else + cpu="s390" + fi else cpu=`uname -m` fi -- 2.7.4