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/08 12:44:56 UTC
svn commit: r1199200 -
/commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4
Author: mturk
Date: Tue Nov 8 11:44:56 2011
New Revision: 1199200
URL: http://svn.apache.org/viewvc?rev=1199200&view=rev
Log:
Add more hp-ux targets from newest config.sub
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=1199200&r1=1199199&r2=1199200&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 (original)
+++ commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 Tue Nov 8 11:44:56 2011
@@ -82,15 +82,17 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
sparc*)
CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
HOST_CPU=$host_cpu;;
- i?86)
+ i*86|x86)
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=\\\"i386\\\""
+ HOST_CPU=i386
fi
- HOST_CPU=i386;;
+ ;;
x86_64 | amd64)
CFLAGS="$CFLAGS -DCPU=\\\"amd64\\\""
HOST_CPU=amd64;;
@@ -109,9 +111,12 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
CFLAGS="$CFLAGS -DCPU=\\\"alpha\\\""
supported_os="alpha"
HOST_CPU=alpha;;
- hppa2.0w)
+ hppa2.0w|hppa64)
CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0W\\\" -DSO_EXT=\\\"sl\\\""
HOST_CPU=PA_RISC2.0W;;
+ hppa2.0n)
+ CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0N\\\" -DSO_EXT=\\\"sl\\\""
+ HOST_CPU=PA_RISC2.0N;;
hppa2.0)
CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0\\\" -DSO_EXT=\\\"sl\\\""
HOST_CPU=PA_RISC2.0;;