Author: jim
Date: Fri Feb  2 07:53:41 2007
New Revision: 502639

URL: http://svn.apache.org/viewvc?view=rev&rev=502639
Log:
Allow for people to build for netscape/iPlanet/SunOne without requiring
any Apache at all. Basically, we need to ensure that
the ./configure script creates common/jk_types.h and
common/portable.h.

Add in --enable-netscape ./configure option.

Modified:
    tomcat/connectors/trunk/jk/native/configure.in

Modified: tomcat/connectors/trunk/jk/native/configure.in
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/configure.in?view=diff&rev=502639&r1=502638&r2=502639
==============================================================================
--- tomcat/connectors/trunk/jk/native/configure.in (original)
+++ tomcat/connectors/trunk/jk/native/configure.in Fri Feb  2 07:53:41 2007
@@ -328,9 +328,25 @@
 [
        AC_MSG_RESULT(no apache given)
 ])
+
 AC_SUBST(apache_include)
 APACHE_DIR=${apache_dir}
 AC_SUBST(APACHE_DIR)
+
+AC_ARG_ENABLE(netscape,
+[  --enable-netscape=DIR  Build Netscape/iPlanet/SunONE nsapi redirector 
plugin.],
+[
+    if ${TEST} ! -z "$WEBSERVER" ; then
+        AC_MSG_ERROR([Sorry cannot use --with-apxs=${APXS} or 
--with-apache=${withval} with --with-netscape, please choose one or the other.])
+    fi
+
+    WEBSERVER="netscape"
+
+    AC_MSG_RESULT([building connector for \"$WEBSERVER\"])
+],
+[
+       AC_MSG_RESULT(no netscape given)
+])
 
 dnl Check for enable-jni
 JK_JNI_WORKER=""



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to