costin 02/05/16 15:39:35
Modified: jk/native2 build.xml
Log:
Add the "HAVE_MMAP" setting for apache 1.3.
Use HAS_APR consistently ( I don't know why we don't use HAVE_APR )
Revision Changes Path
1.26 +2 -2 jakarta-tomcat-connectors/jk/native2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/build.xml,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- build.xml 7 May 2002 19:41:40 -0000 1.25
+++ build.xml 16 May 2002 22:39:34 -0000 1.26
@@ -59,7 +59,7 @@
<echo message="build.properties.${os.arch}.${os.name}" />
<taskdef resource="META-INF/ant.tasks"
classpathref="jkant" />
- <available property="HAVE_APR" file="${apr.include}/apr.h" />
+ <available property="HAS_APR" file="${apr.include}/apr.h" />
<available property="apache13.detect"
file="${apache13.home}/bin/htpasswd" />
<available property="apache2.detect"
@@ -314,6 +314,7 @@
<def name="USE_SPRINTF" if="netware"
info="Use the sprintf function to build strings" />
+ <def name="HAVE_MMAP" unless="win32" />
<def name="WIN32" if="win32" />
<def name="_WINDOWS" if="win32" />
<def name="_MBCS" if="win32" />
@@ -366,7 +367,6 @@
<include name="jni/*.c" />
<exclude name="jk_apr.c"
unless="netware" />
- <include name="common/apr/*.c" unless="HAVE_APR" />
</src>
<includes>
<include name="${java.home}/../include" />
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>