]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3064] Add a switch to enable resolver
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Tue, 13 Aug 2013 10:20:10 +0000 (12:20 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Tue, 13 Aug 2013 10:20:10 +0000 (12:20 +0200)
The switch doesn't have an effect yet.

configure.ac

index 609fa8b5ea9a4181f08abd1a2f9d0da0f446dfeb..677a1e62430233061b29751df54983d08ad9017a 100644 (file)
@@ -898,6 +898,17 @@ if test "$BOOST_NUMERIC_CAST_WOULDFAIL" = "yes" -a X"$werror_ok" = X1 -a $CLANGP
     AC_MSG_ERROR([Failed to compile a required header file.  If you are using FreeBSD and Boost installed via ports, retry with specifying --without-werror.  See the ChangeLog entry for Trac no. 1991 for more details.])
 fi
 
+build_experimental_resolver=no
+AC_ARG_ENABLE(experimental_resolver,
+  [AC_HELP_STRING([--enable-experimental-resolver],
+  [enable building of the experimental resolver [default=no]])],
+  build_experimental_resolver=$enableval, build_experimental_resolver=no)
+AM_CONDITIONAL([BUILD_EXPERIMENTAL_RESOLVER], [test "$build_experimental_resolver" = "yes"])
+if test "$build_experimental_resolver" = "yes" ; then
+    AC_DEFINE(BUILD_EXPERIMENTAL_RESOLVER, 1, [Define to 1 to build the resolver])
+fi
+AC_SUBST(BUILD_EXPERIMENTAL_RESOLVER)
+
 use_shared_memory=yes
 AC_ARG_WITH(shared-memory,
     AC_HELP_STRING([--with-shared-memory],