summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-10-03 21:16:53 +0200
committerLinus Nordberg <linus@nordberg.se>2013-10-03 21:16:53 +0200
commit90f9a7e8fcc3ded9d307d85357a0d68328062cd4 (patch)
tree661433d72e3ae653ee697557b2c71225d99ba53c
parent787ccb8ea4a0c384749338fb4665c790c42af665 (diff)
parent38e6ce85d52fca2374826c490f4ecfae84a0751a (diff)
Merge branch 'libradsec' of git.nordu.net:radsecproxy into libradsec
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
-rw-r--r--lib/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/configure.ac b/lib/configure.ac
index ab775e4..f8aabde 100644
--- a/lib/configure.ac
+++ b/lib/configure.ac
@@ -22,7 +22,8 @@ AC_CHECK_LIB([event_core], [event_get_version],,
## Enable TLS (RadSec).
AH_TEMPLATE([RS_ENABLE_TLS], [TLS (RadSec) enabled])
AH_TEMPLATE([RADPROT_TLS], []) dnl Legacy.
-AC_ARG_ENABLE([tls], AS_HELP_STRING([--enable-tls], [enable TLS (RadSec)]),
+AC_ARG_ENABLE([tls], AS_HELP_STRING([--disable-tls], [disable TLS (RadSec)]),
+ [],
[AC_CHECK_LIB([event_openssl], [bufferevent_openssl_socket_new],,
AC_MSG_ERROR([required library event_openssl not found]))
AC_DEFINE([RS_ENABLE_TLS])