ca084ff
From 18a2855ac81518c42988feb0a089e2949b246e40 Mon Sep 17 00:00:00 2001
ca084ff
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
ca084ff
Date: Wed, 12 May 2010 11:01:31 +0200
ca084ff
Subject: [PATCH 3/3] Add support for s390x to configure
ca084ff
ca084ff
---
ca084ff
 src/native/unix/configure |    8 ++++----
ca084ff
 1 files changed, 4 insertions(+), 4 deletions(-)
ca084ff
ca084ff
diff --git a/src/native/unix/configure b/src/native/unix/configure
ca084ff
index a9284c0..f7f9b9a 100755
ca084ff
--- a/src/native/unix/configure
ca084ff
+++ b/src/native/unix/configure
ca084ff
@@ -3025,10 +3025,10 @@ $as_echo "$as_me: error: Unsupported operating system \"$host_os\"" >&2;}
ca084ff
     CFLAGS="$CFLAGS -DCPU=\\\"ia64\\\""
ca084ff
     supported_os="ia64"
ca084ff
     HOST_CPU=ia64;;
ca084ff
-  s390)
ca084ff
-    CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
ca084ff
-    supported_os="s390"
ca084ff
-    HOST_CPU=s390;;
ca084ff
+  s390*)
ca084ff
+    CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
ca084ff
+    supported_os="$host_cpu"
ca084ff
+    HOST_CPU=$host_cpu;;
ca084ff
   *)
ca084ff
     { $as_echo "$as_me:$LINENO: result: failed" >&5
ca084ff
 $as_echo "failed" >&6; }
ca084ff
-- 
ca084ff
1.6.6.1
ca084ff