3331571
diff -up commons-daemon-1.0.15-src/src/native/unix/configure.secondary commons-daemon-1.0.15-src/src/native/unix/configure
3331571
--- commons-daemon-1.0.15-src/src/native/unix/configure.secondary	2013-09-26 14:58:41.000000000 +0200
3331571
+++ commons-daemon-1.0.15-src/src/native/unix/configure	2013-09-26 14:58:59.000000000 +0200
3331571
@@ -2610,7 +2610,7 @@ echo "$as_me: error: Unsupported operati
3331571
     ;;
3331571
   esac
3331571
   case $host_cpu in
3331571
-  powerpc)
3331571
+  powerpc*)
3331571
     CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
3331571
     HOST_CPU=$host_cpu
3331571
     ;;
3331571
@@ -2687,7 +2687,7 @@ echo "$as_me: error: Unsupported operati
3331571
         HOST_CPU=ia64
3331571
     fi
3331571
     ;;
3331571
-  s390)
3331571
+  s390 | s390x)
3331571
     CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
3331571
     supported_os="s390"
3331571
     HOST_CPU=s390
3331571
diff -up commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4.secondary commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4
3331571
--- commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4.secondary	2013-03-27 09:09:02.000000000 +0100
3331571
+++ commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4	2013-09-26 14:57:54.000000000 +0200
3331571
@@ -79,7 +79,7 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
3331571
     ;;
3331571
   esac
3331571
   case $host_cpu in
3331571
-  powerpc)
3331571
+  powerpc*)
3331571
     CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
3331571
     HOST_CPU=$host_cpu
3331571
     ;;
3331571
@@ -156,7 +156,7 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
3331571
         HOST_CPU=ia64
3331571
     fi
3331571
     ;;
3331571
-  s390)
3331571
+  s390 | s390x)
3331571
     CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
3331571
     supported_os="s390"
3331571
     HOST_CPU=s390