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

31 lines
899 B
Diff

From a4541056cfa275aabb9c57f0fab1ea93bb94c1f2 Mon Sep 17 00:00:00 2001
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
Date: Wed, 20 Jul 2011 11:08:48 +0200
Subject: [PATCH 3/3] s390x configure
---
src/native/unix/configure | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/native/unix/configure b/src/native/unix/configure
index 1fc9007..15a74c6 100755
--- a/src/native/unix/configure
+++ b/src/native/unix/configure
@@ -2609,10 +2609,9 @@ 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\\\""
+ HOST_CPU=$host_cpu;;
arm*)
CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
supported_os="arm"
--
1.7.6