diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
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") |