You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2011/11/09 09:59:08 UTC
svn commit: r1199663 -
/commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4
Author: mturk
Date: Wed Nov 9 08:59:08 2011
New Revision: 1199663
URL: http://svn.apache.org/viewvc?rev=1199663&view=rev
Log:
DAEMON-227 make sure ia64 target works on non HP-UX systems
Modified:
commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4
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=1199663&r1=1199662&r2=1199663&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 (original)
+++ commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 Wed Nov 9 08:59:08 2011
@@ -126,9 +126,16 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
fi
HOST_CPU=ia64;;
ia64|ia64n)
- CFLAGS="$CFLAGS -milp32 -DCPU=\\\"IA64N\\\" -DSO_EXT=\\\"so\\\""
- LDFLAGS="$LDFLAGS -milp32"
- HOST_CPU=IA64N;;
+ if test "$supported_os" = "hp-ux"
+ then
+ CFLAGS="$CFLAGS -milp32 -DCPU=\\\"IA64N\\\" -DSO_EXT=\\\"so\\\""
+ LDFLAGS="$LDFLAGS -milp32"
+ HOST_CPU=IA64N
+ else
+ CFLAGS="$CFLAGS -DCPU=\\\"ia64\\\""
+ HOST_CPU=ia64
+ fi
+ ;;
s390)
CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
supported_os="s390"