Blob Blame History Raw
From 18a2855ac81518c42988feb0a089e2949b246e40 Mon Sep 17 00:00:00 2001
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
Date: Wed, 12 May 2010 11:01:31 +0200
Subject: [PATCH 3/3] Add support for s390x to configure

---
 src/native/unix/configure |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/native/unix/configure b/src/native/unix/configure
index a9284c0..f7f9b9a 100755
--- a/src/native/unix/configure
+++ b/src/native/unix/configure
@@ -3025,10 +3025,10 @@ $as_echo "$as_me: error: Unsupported operating system \"$host_os\"" >&2;}
     CFLAGS="$CFLAGS -DCPU=\\\"ia64\\\""
     supported_os="ia64"
     HOST_CPU=ia64;;
-  s390)
-    CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
-    supported_os="s390"
-    HOST_CPU=s390;;
+  s390*)
+    CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
+    supported_os="$host_cpu"
+    HOST_CPU=$host_cpu;;
   *)
     { $as_echo "$as_me:$LINENO: result: failed" >&5
 $as_echo "failed" >&6; }
-- 
1.6.6.1