projects
/
radsecproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a6ea0fa
)
Enable TLS by default, configure time.
author
Linus Nordberg
<linus@nordberg.se>
Tue, 1 Oct 2013 17:18:50 +0000
(17:18 +0000)
committer
Linus Nordberg
<linus@nordberg.se>
Tue, 1 Oct 2013 17:18:50 +0000
(17:18 +0000)
lib/configure.ac
patch
|
blob
|
history
diff --git
a/lib/configure.ac
b/lib/configure.ac
index
ab775e4
..
f8aabde
100644
(file)
--- 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.
## 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])
[AC_CHECK_LIB([event_openssl], [bufferevent_openssl_socket_new],,
AC_MSG_ERROR([required library event_openssl not found]))
AC_DEFINE([RS_ENABLE_TLS])