From: Mukund Sivaraman Date: Tue, 25 Feb 2014 22:29:21 +0000 (+0530) Subject: [2367] Move experimental resolver config code to the top of configure.ac X-Git-Tag: bind10-1.2.0beta1-release~12^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44046950d03455f55eace1f3b35c0f9717792caa;p=thirdparty%2Fkea.git [2367] Move experimental resolver config code to the top of configure.ac --- diff --git a/configure.ac b/configure.ac index 3d7fd054a6..8b86b6ace4 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,19 @@ AC_CONFIG_MACRO_DIR([m4macros]) # Checks for programs. AC_PROG_CXX +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]) +AM_CONDITIONAL([BUILD_EXPERIMENTAL_RESOLVER], [test "$build_experimental_resolver" = "yes"]) +if test "$build_experimental_resolver" = "yes"; then + BUILD_EXPERIMENTAL_RESOLVER=yes +else + BUILD_EXPERIMENTAL_RESOLVER=no +fi +AC_SUBST(BUILD_EXPERIMENTAL_RESOLVER) + # Enable low-performing debugging facilities? This option optionally # enables some debugging aids that perform slowly and hence aren't built # by default. @@ -1001,19 +1014,6 @@ 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]) -AM_CONDITIONAL([BUILD_EXPERIMENTAL_RESOLVER], [test "$build_experimental_resolver" = "yes"]) -if test "$build_experimental_resolver" = "yes"; then - BUILD_EXPERIMENTAL_RESOLVER=yes -else - BUILD_EXPERIMENTAL_RESOLVER=no -fi -AC_SUBST(BUILD_EXPERIMENTAL_RESOLVER) - use_shared_memory=yes AC_ARG_WITH(shared-memory, AC_HELP_STRING([--with-shared-memory],