Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 66893 invoked from network); 3 Feb 2005 17:28:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Feb 2005 17:28:22 -0000 Received: (qmail 18182 invoked by uid 500); 3 Feb 2005 17:28:03 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 18091 invoked by uid 500); 3 Feb 2005 17:28:03 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 18058 invoked by uid 99); 3 Feb 2005 17:28:03 -0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=FORGED_YAHOO_RCVD,RCVD_BY_IP,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jak-tomcat-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 03 Feb 2005 09:28:00 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Cwkhr-0007WZ-Ub for tomcat-dev@jakarta.apache.org; Thu, 03 Feb 2005 18:23:51 +0100 Received: from 67.126.28.126 ([67.126.28.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Feb 2005 18:23:51 +0100 Received: from cmanolache by 67.126.28.126 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Feb 2005 18:23:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: tomcat-dev@jakarta.apache.org From: Costin Manolache Subject: Re: cvs commit: jakarta-tomcat-connectors/jni/native/src ssl.c Date: Thu, 03 Feb 2005 09:21:32 -0800 Lines: 122 Message-ID: References: <20050203074749.43417.qmail@minotaur.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 67.126.28.126 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041201 Thunderbird/1.0RC1 Mnenhy/0.7 X-Accept-Language: en-us, en In-Reply-To: <20050203074749.43417.qmail@minotaur.apache.org> Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-MailScanner-From: jak-tomcat-dev@m.gmane.org X-MailScanner-To: tomcat-dev@jakarta.apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I assume this is going to be a compile/configure time option ? What about using a different approach - generate multiple .so files, one with common/base/non-optional functionality, and one for each optional library. Compile time options makes it hard to distribute compiled binaries and add more requirements. Costin mturk@apache.org wrote: > mturk 2005/02/02 23:47:49 > > Added: jni/native/src ssl.c > Log: > Add OpenSSL support. > > Revision Changes Path > 1.1 jakarta-tomcat-connectors/jni/native/src/ssl.c > > Index: ssl.c > =================================================================== > /* Copyright 2000-2004 The Apache Software Foundation > > * > > * Licensed under the Apache License, Version 2.0 (the "License"); > > * you may not use this file except in compliance with the License. > > * You may obtain a copy of the License at > > * > > * http://www.apache.org/licenses/LICENSE-2.0 > > * > > * Unless required by applicable law or agreed to in writing, software > > * distributed under the License is distributed on an "AS IS" BASIS, > > * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. > > * See the License for the specific language governing permissions and > > * limitations under the License. > > */ > > > > #include "apr.h" > > #include "apr_pools.h" > > #include "apr_file_io.h" > > > > #include "tcn.h" > > > > #ifdef HAVE_OPENSSL > > > > /* OpenSSL headers */ > > #include > > #include > > #include > > #include > > #include > > #include > > #include > > #include > > /* Avoid tripping over an engine build installed globally and detected > > * when the user points at an explicit non-engine flavor of OpenSSL > > */ > > #if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_ENGINE_INIT) > > #include > > #endif > > > > > > > > > > > > > > > > > > #else > > > > > > #endif --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org