Author: mturk
Date: Sat Nov 25 04:58:45 2006
New Revision: 479123

URL: http://svn.apache.org/viewvc?view=rev&rev=479123
Log:
Add --disable-openssl cmdline param to the configure.

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

Modified: tomcat/connectors/trunk/jni/native/configure.in
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/configure.in?view=diff&rev=479123&r1=479122&r2=479123
==============================================================================
--- tomcat/connectors/trunk/jni/native/configure.in (original)
+++ tomcat/connectors/trunk/jni/native/configure.in Sat Nov 25 04:58:45 2006
@@ -101,8 +101,7 @@
 APR_ADDTO(TCNATIVE_PRIV_INCLUDES,[-I$JAVA_HOME/$JAVA_INC])
 
 dnl sableVM does not have/need $JAVA_OS/jni_md.h
-if test "$SABLEVM" = "NONE"
-then
+if test "$SABLEVM" = "NONE"; then
   TCN_FIND_JDK_OS
   if test -z "${JAVA_OS}"; then
     AC_MSG_RESULT([jni_md.h found in $JAVA_HOME/$JAVA_INC])
@@ -119,7 +118,18 @@
 dnl
 dnl Detect openssl toolkit installation
 dnl
-TCN_CHECK_SSL_TOOLKIT
+
+use_openssl=yes
+AC_ARG_ENABLE(openssl, 
+[ --disable-openssl   avoid using OpenSSL toolkit],
+[
+  use_openssl=no
+  AC_MSG_RESULT([...Disabling SSL support])
+])
+
+if test "x$use_openssl" = "xyes"; then
+  TCN_CHECK_SSL_TOOLKIT
+fi
 
 so_ext=$APR_SO_EXT
 lib_target=$APR_LIB_TARGET



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

Reply via email to