summaryrefslogtreecommitdiff
path: root/modules/tls/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tls/config.m4')
-rw-r--r--modules/tls/config.m443
1 files changed, 0 insertions, 43 deletions
diff --git a/modules/tls/config.m4 b/modules/tls/config.m4
deleted file mode 100644
index 2ecee966e0..0000000000
--- a/modules/tls/config.m4
+++ /dev/null
@@ -1,43 +0,0 @@
-AC_MSG_CHECKING(for SSL library)
-APACHE_MODPATH_INIT(tls)
-
-tls_objs="mod_tls.lo openssl_state_machine.lo"
-
-APACHE_MODULE(tls, TLS/SSL support, $tls_objs, , no, [
- AC_ARG_WITH(ssl, [ --with-ssl use a specific SSL library installation ],
- [
- searchfile="$withval/inc/ssl.h"
- if test -f $searchfile ; then
- APR_ADDTO(INCLUDES, [-I$withval/inc])
- APR_ADDTO(LIBS, [-L$withval -lsslc])
- ssl_lib="SSLC"
- else
- searchfile="$withval/ssl/ssl.h"
- if test -f $searchfile ; then
- APR_ADDTO(INCLUDES, [-I$withval/include])
- APR_ADDTO(LIBS, [-L$withval -lssl -lcrypto])
- ssl_lib="OpenSSL"
- else
- searchfile="$withval/openssl/ssl.h"
- if test -f $searchfile ; then
- APR_ADDTO(INCLUDES, [-I$withval/openssl])
- APR_ADDTO(LIBS, [-L$withval -lssl -lcrypto])
- ssl_lib="OpenSSL"
- else
- searchfile="$withval/include/openssl/ssl.h"
- if test -f $searchfile ; then
- APR_ADDTO(INCLUDES, [-I$withval/include])
- APR_ADDTO(LIBS, [-L$withval/lib -lssl -lcrypto])
- ssl_lib="OpenSSL"
- else
- AC_MSG_ERROR(no - Unable to locate $withval/inc/ssl.h)
- fi
- fi
- fi
- fi
- AC_MSG_RESULT(found $ssl_lib)
- ],[
- AC_MSG_ERROR(--with-ssl not given)
- ] ) ] )
-
-APACHE_MODPATH_FINISH