diff -Nru ./Makefile /root/jakarta-tomcat-connectors.new/jk/native/common/Makefile
--- ./Makefile	Thu Jan  1 01:00:00 1970
+++ /root/jakarta-tomcat-connectors.new/jk/native/common/Makefile	Thu Jun 14 07:17:32 2001
@@ -0,0 +1,17 @@
+# Generated automatically from Makefile.in by configure.
+OEXT=.lo
+include ../apache-1.3/list.mk
+
+JAVA_INCL=-I /opt/IBMJava2-13/include -I /opt/IBMJava2-13/include/
+CFLAGS=-I/usr/include/apache -g -O2 ${JAVA_INCL}
+
+include ../scripts/build/rules.mk
+
+JK=.
+
+all: ${APACHE_OBJECTS}
+
+install:
+
+clean:
+	-rm *.o *.slo *.lo
diff -Nru ./jk_jni_worker.c /root/jakarta-tomcat-connectors.new/jk/native/common/jk_jni_worker.c
--- ./jk_jni_worker.c	Tue Jun 12 08:26:25 2001
+++ /root/jakarta-tomcat-connectors.new/jk/native/common/jk_jni_worker.c	Thu Jun 14 07:14:05 2001
@@ -60,6 +60,8 @@
  * Version:     $Revision: 1.2 $                                           *
  ***************************************************************************/
 
+#ifndef USE_NO_JNI
+
 #if !defined(WIN32) && !defined(NETWARE)
 #include <dlfcn.h>
 #endif
@@ -1134,3 +1136,5 @@
                "In detach_from_jvm, cannot detach from JVM.\n");
     }
 }
+
+#endif /* USE_NO_JNI */
diff -Nru ./jk_worker_list.h /root/jakarta-tomcat-connectors.new/jk/native/common/jk_worker_list.h
--- ./jk_worker_list.h	Fri May 18 18:46:19 2001
+++ /root/jakarta-tomcat-connectors.new/jk/native/common/jk_worker_list.h	Thu Jun 14 07:13:19 2001
@@ -80,9 +80,9 @@
         #include "jk_ajp12_worker.h"
         #include "jk_ajp13_worker.h"
         #include "jk_ajp14_worker.h"
-        #ifndef HPUX11GCC
-            #include "jk_jni_worker.h"
-        #endif
+        #ifndef USE_NO_JNI
+        #include "jk_jni_worker.h"
+        #endif /* USE_NO_JNI */
         #include "jk_lb_worker.h"
 
         struct worker_factory_record {
@@ -110,9 +110,9 @@
              * In process JNI based worker. Requires the server to be 
              * multithreaded and to use native threads.
              */
-            #ifndef HPUX11GCC
-                { JK_JNI_WORKER_NAME, jni_worker_factory},
-            #endif
+            #ifndef USE_NO_JNI
+            { JK_JNI_WORKER_NAME, jni_worker_factory},
+            #endif /* USE_NO_JNI */
             /*
              * Load balancing worker. Performs round robin with sticky 
              * session load balancing.
