Commit Graph

6 Commits

Author SHA1 Message Date
Randy Eckenrode
6302ba07e3
db: fix build with clang 16
The configure scripts frequently use `main` returning an implicit `int`,
which causes spurious failures when CC is clang 16+. This is fixed by
patching the provided macros and regenerating the scripts with
autoreconfHook, though it requires some manual processing (see below).

The upstream `configure.ac` is written in such a way that it requires
fixups and post-processing.

* Fixups are required because the original build process just cats the
  macros together into one file. When `aclocal` is run, it does not pick
  up all of them. This is worked around by catting the missing macros to
  a file that is picked up by autoreconfHook.
* Post-processing is required to populate the version information. This
  is done in a subshell to avoid polluting the environment with the
  contents of `RELEASE`. Otherwise, the build will fail because the
  version C macros it expects will not be defined.
2023-07-02 17:46:14 -04:00
Daiderd Jordan
02341c20bc
db: disable dbm support by default 2017-01-23 22:21:20 +01:00
Daiderd Jordan
b82ad1ba76
db: fix all versions with libc++3.8 2016-11-13 23:02:00 +01:00
Daiderd Jordan
c7d1925b6e
Revert "db: fix build with libc++-3.8"
This reverts commit 7e933af173.
2016-11-13 00:42:23 +01:00
Daiderd Jordan
7e933af173
db: fix build with libc++-3.8 2016-11-13 00:04:50 +01:00
janus
a1ade02cdc FreeBSD support 2016-01-01 16:59:48 +00:00