svn commit: r179769 - in /jakarta/commons/proper/daemon/trunk/src/native/unix: native/location.c support/apsupport.m4

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r179769 - in /jakarta/commons/proper/daemon/trunk/src/native/unix: native/location.c support/apsupport.m4

Jean-Frederic Clere-4
Author: jfclere
Date: Fri Jun  3 04:05:12 2005
New Revision: 179769

URL: http://svn.apache.org/viewcvs?rev=179769&view=rev
Log:
Add support for HP-UX. Submitted by Max Zinal
(Zlat0 at mail dot ru).

Modified:
    jakarta/commons/proper/daemon/trunk/src/native/unix/native/location.c
    jakarta/commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4

Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/location.c
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/native/location.c?rev=179769&r1=179768&r2=179769&view=diff
==============================================================================
--- jakarta/commons/proper/daemon/trunk/src/native/unix/native/location.c (original)
+++ jakarta/commons/proper/daemon/trunk/src/native/unix/native/location.c Fri Jun  3 04:05:12 2005
@@ -40,6 +40,9 @@
 #elif defined(OS_TRU64)
     "/usr/opt/java142",
     "/usr/opt/java13",
+#elif defined(OS_HPUX)
+    "/opt/java1.4",
+    "/opt/java1.3",
 #endif
     NULL,
 };
@@ -99,6 +102,11 @@
     "$JAVA_HOME/jre/lib/" CPU "/fast32/libjvm.so",
     "$JAVA_HOME/lib/" CPU "/fast64/libjvm.so",
     "$JAVA_HOME/lib/" CPU "/fast32/libjvm.so",
+#elif defined(OS_HPUX)
+    "$JAVA_HOME/jre/lib/" CPU "/server/libjvm.sl",
+    "$JAVA_HOME/jre/lib/" CPU "/client/libjvm.sl",
+    "$JAVA_HOME/jre/lib/" CPU "/hotspot/libjvm.sl",
+    "$JAVA_HOME/jre/lib/" CPU "/classic/libjvm.sl",
 #endif
     NULL,
 };
@@ -114,6 +122,9 @@
 #elif defined(OS_LINUX) || defined(OS_SOLARIS) || defined(OS_BSD) || defined(OS_FREEBSD) || defined(OS_TRU64)
     "$JAVA_HOME/jre/lib/" CPU "/$VM_NAME/libjvm.so",/* Sun JDK 1.3 */
     "$JAVA_HOME/lib/" CPU "/$VM_NAME/libjvm.so",    /* Sun JRE 1.3 */
+#elif defined(OS_HPUX)
+    "$JAVA_HOME/jre/lib/" CPU "/$VM_NAME/libjvm.sl",
+    "$JAVA_HOME/lib/" CPU "/$VM_NAME/libjvm.sl",
 #elif defined(OS_SYSV)
     "$JAVA_HOME/jre/lib/" CPU "/$VM_NAME/dce_threads/libjvm.so",
     "$JAVA_HOME/jre/lib/" CPU "/$VM_NAME/green_threads/libjvm.so",

Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4?rev=179769&r1=179768&r2=179769&view=diff
==============================================================================
--- jakarta/commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 (original)
+++ jakarta/commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 Fri Jun  3 04:05:12 2005
@@ -58,6 +58,10 @@
     CFLAGS="$CFLAGS -pthread -DOS_TRU64 -DDSO_DLFCN -D_XOPEN_SOURCE_EXTENDED"
     LDFLAGS="$LDFLAGS -pthread"
     ;;
+  hpux11*)
+    CFLAGS="$CFLAGS -pthread -DOS_HPUX -DDSO_DLFCN"
+    LDFLAGS="$LDFLAGS -pthread -lpthread"
+    ;;
   *)
     AC_MSG_RESULT([failed])
     AC_MSG_ERROR([Unsupported operating system "$host_os"])
@@ -85,6 +89,14 @@
   alpha*)
     CFLAGS="$CFLAGS -DCPU=\\\"alpha\\\""
     supported_os="alpha"
+    ;;
+  hppa2.0w)
+    CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0W\\\""
+    supported_os="hp-ux"
+    ;;
+  hppa2.0)
+    CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0\\\""
+    supported_os="hp-ux"
     ;;
   *)
     AC_MSG_RESULT([failed])



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]