apache-commons-daemon/0003-s390x-configure.patch

32 lines
913 B
Diff
Raw Normal View History

From 2c58c04e648f9c956c3c691ff456f9d1c7470ebe Mon Sep 17 00:00:00 2001
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
Date: Tue, 18 Jan 2011 14:56:18 +0100
Subject: [PATCH 3/3] s390x 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 62f35d9..deac6e3 100755
--- a/src/native/unix/configure
+++ b/src/native/unix/configure
@@ -3030,10 +3030,10 @@ $as_echo "failed" >&6; }
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:${as_lineno-$LINENO}: result: failed" >&5
$as_echo "failed" >&6; }
--
1.7.3.4