From: Mukund Sivaraman Date: Tue, 25 Feb 2014 22:30:29 +0000 (+0530) Subject: [2367] Rename AM conditional variable X-Git-Tag: bind10-1.2.0beta1-release~12^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cef692f035b21bd58cc22346f44a9f0d1fd56628;p=thirdparty%2Fkea.git [2367] Rename AM conditional variable --- diff --git a/configure.ac b/configure.ac index 8b86b6ace4..ed51ce3938 100644 --- a/configure.ac +++ b/configure.ac @@ -24,18 +24,18 @@ AC_CONFIG_MACRO_DIR([m4macros]) # Checks for programs. AC_PROG_CXX -build_experimental_resolver=no +want_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 + [want_experimental_resolver=$enableval]) +AM_CONDITIONAL([WANT_EXPERIMENTAL_RESOLVER], [test "$want_experimental_resolver" = "yes"]) +if test "$want_experimental_resolver" = "yes"; then + WANT_EXPERIMENTAL_RESOLVER=yes else - BUILD_EXPERIMENTAL_RESOLVER=no + WANT_EXPERIMENTAL_RESOLVER=no fi -AC_SUBST(BUILD_EXPERIMENTAL_RESOLVER) +AC_SUBST(WANT_EXPERIMENTAL_RESOLVER) # Enable low-performing debugging facilities? This option optionally # enables some debugging aids that perform slowly and hence aren't built diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index ea2f1b293f..2e0e32f03a 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -1,4 +1,4 @@ -if BUILD_EXPERIMENTAL_RESOLVER +if WANT_EXPERIMENTAL_RESOLVER # Build resolver only with --enable-experimental-resolver experimental_resolver = resolver endif diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 59cb8e1879..df0c57ca5f 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -1,4 +1,4 @@ -if BUILD_EXPERIMENTAL_RESOLVER +if WANT_EXPERIMENTAL_RESOLVER # Build resolver only with --enable-experimental-resolver experimental_resolver = resolve endif diff --git a/tests/lettuce/setup_intree_bind10.sh.in b/tests/lettuce/setup_intree_bind10.sh.in index 600f5c4c56..d23c13ae55 100755 --- a/tests/lettuce/setup_intree_bind10.sh.in +++ b/tests/lettuce/setup_intree_bind10.sh.in @@ -34,8 +34,8 @@ if test $SET_ENV_LIBRARY_PATH = yes; then export @ENV_LIBRARY_PATH@ fi -BUILD_EXPERIMENTAL_RESOLVER=@BUILD_EXPERIMENTAL_RESOLVER@ -if test $BUILD_EXPERIMENTAL_RESOLVER = yes; then +WANT_EXPERIMENTAL_RESOLVER=@WANT_EXPERIMENTAL_RESOLVER@ +if test $WANT_EXPERIMENTAL_RESOLVER = yes; then cp -f @srcdir@/features/resolver_basic.feature.disabled @srcdir@/features/resolver_basic.feature fi