aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2010-06-13 12:28:21 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-06-13 12:28:21 +0200
commitd66ed0eae9c82b657bf7f3ea969490ad72155734 (patch)
tree90abe066bb09b228dffc9934b8890836f66e5f78
parentb0cb640ac177c94af9e43a820cbb4085ac984ca1 (diff)
tcg-s390: correctly detect s390 with a 64-bit kernel
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index ced4d2fa10..c0d8aa52b9 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