summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2012-04-26 14:02:06 +0200
committerLinus Nordberg <linus@nordu.net>2012-04-26 14:09:06 +0200
commitc6d33673d1ae5b21acd3a30b60a276781e102e44 (patch)
tree4c9e629f7524ae34145278c7711d90aa921ec4f8
parent8c8d6467725823150483bf6e09f2d2caaee9a4d3 (diff)
Add configure option --enable-experimental-dyndisc.
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac16
2 files changed, 21 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7cad89d..188512f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,4 @@
-2011-04-17 1.6-rc0
+2011-04-26 1.6-rc0
Incompatible changes:
- The default shared secret for TLS and DTLS connections change
from "mysecret" to "radsec" as per draft-ietf-radext-radsec-12
@@ -19,7 +19,10 @@
- New config option PidFile. (RADSECPROXY-32)
- Preliminary support for DynamicLookupCommand added. It's for
TLS servers only at this point. Also, beware of risks for memory
- leaks.
+ leaks. In addition to this, for extra adventurous users, there's
+ a new configure option --enable-experimental-dyndisc which enables
+ even more new code for handling of dynamic discovery of TLS
+ servers.
- Address family (IPv4 or IPv6) can now be specified for clients
and servers. (RADSECPROXY-37)
diff --git a/configure.ac b/configure.ac
index 467e5ef..6aa7578 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,6 +100,22 @@ if test "x$dtls" = "xyes" ; then
TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_DTLS"
fi
+AC_ARG_ENABLE(
+ experimental_dyndisc,
+ AC_HELP_STRING([--enable-experimental-dyndisc],
+ [enable experimental code for dynamic discovery [default=no]]),
+ [case $enableval in
+ yes|no) ;;
+ *) AC_MSG_ERROR([bad value $enableval for --enable-experimental-dyndisc, need yes or no]) ;;
+ esac],
+ [enable_experimental_dyndisc=no])
+if test "$enable_experimental_dyndisc" = "yes"; then
+ AC_DEFINE([ENABLE_EXPERIMENTAL_DYNDISC], [1])
+fi
+AM_CONDITIONAL(ENABLE_EXPERIMENTAL_DYNDISC,
+ test "$enable_experimental_dyndisc" = "yes")
+
+
AC_ARG_VAR([DOCBOOK2X_MAN], [docbook2x-man])
AC_CHECK_PROG([DOCBOOK2X_MAN], [docbook2x-man], [yes])
AM_CONDITIONAL(HAVE_DOCBOOK2X_MAN, test "$DOCBOOK2X_MAN" = "yes")