summaryrefslogtreecommitdiff
path: root/configure.ac
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 /configure.ac
parent8c8d6467725823150483bf6e09f2d2caaee9a4d3 (diff)
Add configure option --enable-experimental-dyndisc.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 16 insertions, 0 deletions
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")