dash/build-aux/m4
fanquake 3233445aa7 Merge bitcoin/bitcoin#23168: build: no-longer fail default configure if BDB isn't available
747cd17404832604c50d03d58e11ba816bb229f7 build: no-longer fail default configure if BDB isn't available (fanquake)

Pull request description:

  Inline with moving to descriptor (sqlite) wallets by default for 0.23,
  this adapts the build system so that a default `./configure` invocation
  no-longer fails if BDB isn't present. Currently, if configure is run
  with no options, and no BDB is present, we'll fail with:
  ```bash
  checking for Berkeley DB C++ headers... no
  configure: error: libdb_cxx headers missing, Bitcoin Core requires this library for BDB wallet support (--without-bdb to disable BDB wallet support)
  ```

  If descriptor wallets are to be the default, this behaviour no longer
  makes sense, as a builder should be able to configure and build, to use
  a wallet, without BDB installed, and without passing additional
  arguments, i.e `--without-bdb` or `--with-incompatible-bdb`, to
  configure.

  With this change, running configure will no-longer fail, but will
  instead print:
  ```bash
  checking for Berkeley DB C++ headers... no
  configure: WARNING: libdb_cxx headers missing
  configure: WARNING: Bitcoin Core requires this library for BDB (legacy) wallet support
  configure: WARNING: Passing --without-bdb will suppress this warning
  checking for sqlite3 >= 3.7.17... yes
  checking whether to build wallet with support for sqlite... yes
  ```

ACKs for top commit:
  hebasto:
    ACK 747cd17404832604c50d03d58e11ba816bb229f7, tested on Linux Mint 20.2 (x86_64) with the (un)installed system packages `libdb-dev` and `libdb++-dev`.

Tree-SHA512: ae316d71ad0803c9d4b02a5fedcade08242650d987cc047840493ba4a881e71ff48b099075bb7c325307d44744fcdeccb57f7fa8db4135c81a5835841f562afa
2023-04-17 11:17:34 -05:00
..
ax_boost_base.m4 Merge pull request #4262 from PastaPastaPasta/backport-triv-pr17 2021-07-16 20:30:46 +03:00
ax_boost_filesystem.m4 Merge #16870: build: update boost macros to latest upstream for improved error reporting 2021-07-12 20:54:22 -05:00
ax_boost_thread.m4 Merge #17396: build: modest Android improvements 2021-07-15 19:30:07 -05:00
ax_boost_unit_test_framework.m4 Merge #16870: build: update boost macros to latest upstream for improved error reporting 2021-07-12 20:54:22 -05:00
ax_check_compile_flag.m4 Merge #7711: [build-aux] Update Boost & check macros to latest serials 2017-12-19 13:42:36 +01:00
ax_check_link_flag.m4 Merge #7711: [build-aux] Update Boost & check macros to latest serials 2017-12-19 13:42:36 +01:00
ax_check_preproc_flag.m4 Merge #7711: [build-aux] Update Boost & check macros to latest serials 2017-12-19 13:42:36 +01:00
ax_cxx_compile_stdcxx.m4 build: enable experimental Cxx20 support (#4600) 2021-12-12 01:14:17 +03:00
ax_gcc_func_attribute.m4 Merge #7711: [build-aux] Update Boost & check macros to latest serials 2017-12-19 13:42:36 +01:00
ax_pthread.m4 merge bitcoin#19558: split pthread flags out of ldflags and dont use when building libconsensus 2022-08-23 21:33:33 +05:30
bitcoin_find_bdb48.m4 Merge bitcoin/bitcoin#23168: build: no-longer fail default configure if BDB isn't available 2023-04-17 11:17:34 -05:00
bitcoin_qt.m4 Merge bitcoin/bitcoin#22820: build, qt: Fix typo in QtInputSupport check 2022-04-28 10:59:05 -05:00
bitcoin_runtime_lib.m4 merge bitcoin#21882: Fix undefined reference to __mulodi4 2022-10-20 16:08:45 -05:00
bitcoin_subdir_to_include.m4 Merge #8784: Copyright headers for build scripts 2018-01-12 08:02:45 +01:00
l_atomic.m4 Merge #8784: Copyright headers for build scripts 2018-01-12 08:02:45 +01:00
l_socket.m4 Merge #21486: build: link against -lsocket if required for *ifaddrs 2022-09-03 10:43:15 -05:00