message: Turn the bench compile off if tests are disabled
  Compiling bench requires that test_bitcoin be compiled also, therefore
  if test_bitcoin is not compiled then also do not compile bench regardless
  of whether the user has set the compile flag --enable-bench.
diff: @@ -1111,6 +1111,18 @@ else
  BUILD_TEST=""
  fi
  +AC_MSG_CHECKING([whether to build bench])
  +if test x$use_tests = xyes; then
  + if test x$use_bench = xyes; then
  + AC_MSG_RESULT([yes])
  + else
  + AC_MSG_RESULT([no])
  + fi
  +else
  + AC_MSG_RESULT([no])
  + use_bench=no
  +fi
  +
  AC_MSG_CHECKING([whether to reduce exports])
  if test x$use_reduce_exports = xyes; then
  AC_MSG_RESULT([yes])
  