]> granicus.if.org Git - apache/blob - modules/ssl/config.m4
mod_cache: Don't add cached/revalidated entity headers to a 304 response.
[apache] / modules / ssl / config.m4
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
7 dnl
8 dnl      http://www.apache.org/licenses/LICENSE-2.0
9 dnl
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.
15
16 dnl #  start of module specific part
17 APACHE_MODPATH_INIT(ssl)
18
19 dnl #  list of module object files
20 ssl_objs="dnl
21 mod_ssl.lo dnl
22 ssl_engine_config.lo dnl
23 ssl_engine_init.lo dnl
24 ssl_engine_io.lo dnl
25 ssl_engine_kernel.lo dnl
26 ssl_engine_log.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
31 ssl_scache.lo dnl
32 ssl_util_stapling.lo dnl
33 ssl_util.lo dnl
34 ssl_util_ssl.lo dnl
35 ssl_engine_ocsp.lo dnl
36 ssl_util_ocsp.lo dnl
37 "
38 dnl #  hook module into the Autoconf mechanism (--enable-ssl option)
39 APACHE_MODULE(ssl, [SSL/TLS support (mod_ssl)], $ssl_objs, , most, [
40     APACHE_CHECK_OPENSSL
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])
46         fi
47     else
48         enable_ssl=no
49     fi
50 ])
51
52 # Ensure that other modules can pick up mod_ssl.h
53 APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])
54
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.])
60     fi
61 ])
62
63 dnl #  end of module specific part
64 APACHE_MODPATH_FINISH
65