bitcoin/build-aux/m4
fanquake 747cd17404
build: no-longer fail default configure if BDB isn't available
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, and 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
```
2021-10-05 11:38:28 +08:00
..
ax_boost_base.m4 build: Add /opt/homebrew to path to look for boost libraries 2021-02-19 01:37:31 +00:00
ax_boost_filesystem.m4 build: update boost macros to latest upstream 2019-09-14 07:32:25 +08:00
ax_boost_system.m4 build: update boost macros to latest upstream 2019-09-14 07:32:25 +08:00
ax_boost_unit_test_framework.m4 build: update boost macros to latest upstream 2019-09-14 07:32:25 +08:00
ax_check_compile_flag.m4 [build-aux] Update Boost & check macros to latest serials 2016-03-19 15:24:00 +08:00
ax_check_link_flag.m4 [build-aux] Update Boost & check macros to latest serials 2016-03-19 15:24:00 +08:00
ax_check_preproc_flag.m4 [build-aux] Update Boost & check macros to latest serials 2016-03-19 15:24:00 +08:00
ax_cxx_compile_stdcxx.m4 Update ax_cxx_compile_stdcxx.m4 2020-04-11 02:15:20 -07:00
ax_pthread.m4 build: AX_PTHREAD serial 27 2020-09-14 16:35:09 +08:00
bitcoin_find_bdb48.m4 build: no-longer fail default configure if BDB isn't available 2021-10-05 11:38:28 +08:00
bitcoin_qt.m4 build, qt: Fix typo in QtInputSupport check 2021-08-27 17:50:30 +03:00
bitcoin_runtime_lib.m4 build: Fix undefined reference to __mulodi4 2021-07-27 14:53:24 +03:00
bitcoin_subdir_to_include.m4 Add MIT license to build-aux/m4 scripts 2016-09-21 23:01:46 +00:00
l_atomic.m4 build: improve macro for testing -latomic requirement 2021-05-11 20:07:20 +02:00
l_socket.m4 build: check if -lsocket is required with *ifaddrs 2021-03-29 11:09:40 +08:00