Author: markt
Date: Mon Nov 28 15:01:37 2016
New Revision: 1771757
URL: http://svn.apache.org/viewvc?rev=1771757&view=rev
Log:
Fix DAEMON-358
Update apsupport.m4 add support for 64-bit PowerPC architectures.
Modified:
commons/proper/daemon/trunk/src/changes/changes.xml
commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4
Modified: commons/proper/daemon/trunk/src/changes/changes.xml
URL:
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/changes/changes.xml?rev=1771757&r1=1771756&r2=1771757&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/changes/changes.xml (original)
+++ commons/proper/daemon/trunk/src/changes/changes.xml Mon Nov 28 15:01:37 2016
@@ -55,7 +55,7 @@
</action>
<action issue="DAEMON-343" type="fix" dev="markt">
Update config.guess and config.sub to add support, amongst others, for
- 64-bit PowerPC Little-Endian architecture.
+ the 64-bit PowerPC Little-Endian architecture.
</action>
<action issue="DAEMON-332" type="fix" dev="markt">
Ensure that the PID file on Windows, if used, is readable by other
@@ -64,6 +64,9 @@
<action type="update" dev="markt">
Update Commons-Parent to version 41.
</action>
+ <action issue="DAEMON-358" type="fix" dev="markt" due-to="Gustavo
Romero">
+ Update apsupport.m4 add support for 64-bit PowerPC architectures.
+ </action>
</release>
</body>
</document>
Modified: commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4
URL:
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4?rev=1771757&r1=1771756&r2=1771757&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 (original)
+++ commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 Mon Nov 28
15:01:37 2016
@@ -86,6 +86,12 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
;;
esac
case $host_cpu in
+ powerpc64)
+ CFLAGS="$CFLAGS -DCPU=\\\"ppc64\\\""
+ HOST_CPU=ppc64;;
+ powerpc64le)
+ CFLAGS="$CFLAGS -DCPU=\\\"ppc64le\\\""
+ HOST_CPU=ppc64le;;
powerpc*)
CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
HOST_CPU=$host_cpu;;