diff --git a/configure b/configure index ced4d2fa1067188ac8696cb3495f1e1a1ae0d4e5..c0d8aa52b9b545979d0d0d1731dcafa3a8327d9a 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