tcg-s390: correctly detect s390 with a 64-bit kernel

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Aurelien Jarno 2010-06-13 12:28:21 +02:00
parent b0cb640ac1
commit d66ed0eae9

6
configure vendored
View File

@ -193,6 +193,12 @@ elif check_define __mips__ ; then
cpu="mips" cpu="mips"
elif check_define __ia64__ ; then elif check_define __ia64__ ; then
cpu="ia64" cpu="ia64"
elif check_define __s390__ ; then
if check_define __s390x__ ; then
cpu="s390x"
else
cpu="s390"
fi
else else
cpu=`uname -m` cpu=`uname -m`
fi fi