Blob Blame History Raw
diff -up commons-daemon-1.0.10-src/src/native/unix/configure.s390x commons-daemon-1.0.10-src/src/native/unix/configure
--- commons-daemon-1.0.10-src/src/native/unix/configure.s390x	2012-04-23 11:55:56.000000000 +0200
+++ commons-daemon-1.0.10-src/src/native/unix/configure	2012-04-23 11:57:18.000000000 +0200
@@ -2671,6 +2671,10 @@ echo "$as_me: error: Unsupported operati
     CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
     supported_os="s390"
     HOST_CPU=s390;;
+  s390x)
+    CFLAGS="$CFLAGS -DCPU=\\\"s390x\\\""
+    supported_os="s390x"
+    HOST_CPU=s390x;;
   arm*)
     CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
     supported_os="arm"
diff -up commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4.s390x commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4
--- commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4.s390x	2012-04-23 11:56:04.000000000 +0200
+++ commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4	2012-04-23 11:56:41.000000000 +0200
@@ -140,6 +140,10 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
     CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
     supported_os="s390"
     HOST_CPU=s390;;
+  s390x)
+    CFLAGS="$CFLAGS -DCPU=\\\"s390x\\\""
+    supported_os="s390x"
+    HOST_CPU=s390x;;
   arm*)
     CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
     supported_os="arm"