# 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.
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],