message: Add enable block explorer option in config
diff: @@ -111,6 +111,12 @@ AC_ARG_ENABLE([wallet],
  [enable_wallet=$enableval],
  [enable_wallet=yes])
  +AC_ARG_ENABLE([block-explorer],
  + [AS_HELP_STRING([--enable-block-explorer],
  + [enable block explorer (default is no)])],
  + [enable_block_explorer=$enableval],
  + [enable_block_explorer=no])
  +
  AC_ARG_WITH([miniupnpc],
  [AS_HELP_STRING([--with-miniupnpc],
  [enable UPNP (default is yes if libminiupnpc is found)])],
  @@ -1245,6 +1251,16 @@ else
  AC_MSG_RESULT(no)
  fi
  +dnl enable block explorer
  +AC_MSG_CHECKING([if block explorer should be enabled])
  +if test x$enable_block_explorer != xno; then
  + AC_MSG_RESULT(yes)
  + AC_DEFINE_UNQUOTED([ENABLE_BLOCK_EXPLORER],[1],[Define to 1 to enable block explorer functions])
  +
  +else
  + AC_MSG_RESULT(no)
  +fi
  +
  dnl enable upnp support
  AC_MSG_CHECKING([whether to build with support for UPnP])
  if test x$have_miniupnpc = xno; then
  @@ -1338,6 +1354,7 @@ AM_CONDITIONAL([TARGET_DARWIN], [test x$TARGET_OS = xdarwin])
  AM_CONDITIONAL([BUILD_DARWIN], [test x$BUILD_OS = xdarwin])
  AM_CONDITIONAL([TARGET_WINDOWS], [test x$TARGET_OS = xwindows])
  AM_CONDITIONAL([ENABLE_WALLET],[test x$enable_wallet = xyes])
  +AM_CONDITIONAL([ENABLE_BLOCK_EXPLORER],[test x$enable_block_explorer = xyes])
  AM_CONDITIONAL([ENABLE_TESTS],[test x$BUILD_TEST = xyes])
  AM_CONDITIONAL([ENABLE_QT],[test x$bitcoin_enable_qt = xyes])
  AM_CONDITIONAL([ENABLE_QT_TESTS],[test x$BUILD_TEST_QT = xyes])
  @@ -1474,6 +1491,7 @@ esac
  echo
  echo "Options used to compile and link:"
  echo " with wallet = $enable_wallet"
  +echo " with explorer = $enable_block_explorer"
  echo " with gui / qt = $bitcoin_enable_qt"
  if test x$bitcoin_enable_qt != xno; then
  echo " with qr = $use_qr"
  