commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1199663 - /commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4
Date Wed, 09 Nov 2011 08:59:08 GMT
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"



Mime
View raw message