1 dnl Licensed to the Apache Software Foundation (ASF) under one or more
2 dnl contributor license agreements. See the NOTICE file distributed with
3 dnl this work for additional information regarding copyright ownership.
4 dnl The ASF licenses this file to You under the Apache License, Version 2.0
5 dnl (the "License"); you may not use this file except in compliance with
6 dnl the License. You may obtain a copy of the License at
8 dnl http://www.apache.org/licenses/LICENSE-2.0
10 dnl Unless required by applicable law or agreed to in writing, software
11 dnl distributed under the License is distributed on an "AS IS" BASIS,
12 dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 dnl See the License for the specific language governing permissions and
14 dnl limitations under the License.
16 dnl # start of module specific part
17 APACHE_MODPATH_INIT(ssl)
19 dnl # list of module object files
22 ssl_engine_config.lo dnl
23 ssl_engine_init.lo dnl
25 ssl_engine_kernel.lo dnl
27 ssl_engine_mutex.lo dnl
28 ssl_engine_pphrase.lo dnl
29 ssl_engine_rand.lo dnl
30 ssl_engine_vars.lo dnl
32 ssl_util_stapling.lo dnl
35 ssl_engine_ocsp.lo dnl
38 dnl # hook module into the Autoconf mechanism (--enable-ssl option)
39 APACHE_MODULE(ssl, [SSL/TLS support (mod_ssl)], $ssl_objs, , most, [
41 if test "$ac_cv_openssl" = "yes" ; then
42 if test "x$enable_ssl" = "xshared"; then
43 # The only symbol which needs to be exported is the module
44 # structure, so ask libtool to hide everything else:
45 APR_ADDTO(MOD_SSL_LDADD, [-export-symbols-regex ssl_module])
52 # Ensure that other modules can pick up mod_ssl.h
53 APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])
55 ssl_ct_objs="mod_ssl_ct.lo ssl_ct_log_config.lo ssl_ct_sct.lo ssl_ct_util.lo"
56 APACHE_MODULE(ssl_ct, [Support for Certificate Transparency (RFC 6962)], $ssl_ct_objs, , no, [
57 dnl TODO: Check for OpenSSL >= 1.0.2
58 if test "$enable_ssl" = "no"; then
59 AC_MSG_ERROR([mod_ssl_ct is dependent on mod_ssl, which is not enabled.])
63 dnl # end of module specific part