You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2003/02/18 18:53:57 UTC
cvs commit: jakarta-tomcat-connectors/jk/native build.xml
costin 2003/02/18 09:53:57
Modified: jk/native build.xml
Log:
Port back the os detection from jk2. This should solve the gump failure.
Revision Changes Path
1.37 +19 -0 jakarta-tomcat-connectors/jk/native/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/build.xml,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- build.xml 16 Jan 2003 21:00:57 -0000 1.36
+++ build.xml 18 Feb 2003 17:53:57 -0000 1.37
@@ -51,6 +51,25 @@
<available property="HAVE_APR"
file="${apr.include}/apr.h" />
<mkdir dir="${jk.build}/jk" />
+ <condition property="linux">
+ <equals arg1="${os.name}" arg2="Linux"/>
+ </condition>
+ <condition property="solaris">
+ <equals arg1="${os.name}" arg2="SunOS"/>
+ </condition>
+ <condition property="win32">
+ <os family="windows"/>
+ </condition>
+ <condition property="hpux">
+ <equals arg1="${os.name}" arg2="HP-UX"/>
+ </condition>
+ <!-- I believe they are using cross-compilation, so checking the os.name
+ doesn't help. We'll check if the NDK is installed instead -->
+ <condition property="netware">
+ <available file="novellndk.home" />
+ </condition>
+ <echo message="linux=${linux} solaris=${solaris} win32=${win32} hpux=${hpux} netware=${netware}"/>
+
</target>
<target name="jni" depends="init">
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org