Add configure option --enable-experimental-dyndisc.
authorLinus Nordberg <linus@nordu.net>
Thu, 26 Apr 2012 12:02:06 +0000 (14:02 +0200)
committerLinus Nordberg <linus@nordu.net>
Thu, 26 Apr 2012 12:09:06 +0000 (14:09 +0200)
ChangeLog
configure.ac

index 7cad89d..188512f 100644 (file)
--- 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
        - 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)
 
index 467e5ef..6aa7578 100644 (file)
@@ -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")