diff options
author | merge-script <fanquake@gmail.com> | 2024-06-26 15:25:46 +0100 |
---|---|---|
committer | merge-script <fanquake@gmail.com> | 2024-06-26 15:25:46 +0100 |
commit | d3d2bbf576d07f729dbb5eafce4ae6d4cc7dd763 (patch) | |
tree | 40235dce8c04bbe25ae6f034489d317f4c2fe4f4 /src/common/init.h | |
parent | 0c57a798b50bf03a0b69f632c691932d608254ef (diff) | |
parent | c0b5ea5901d0ed005bca345e5b2de8a502f6af75 (diff) |
Merge bitcoin/bitcoin#30327: build: Drop redundant `sys/sysctl.h` header check
c0b5ea5901d0ed005bca345e5b2de8a502f6af75 build: Drop redundant `sys/sysctl.h` header check (Hennadii Stepanov)
Pull request description:
The `AC_CHECK_HEADERS` macro defines `HAVE_SYS_SYSCTL_H` if the `sys/sysctl.h` header is found. However, in the source code, this header is guarded by `HAVE_SYSCTL` and `HAVE_SYSCTL_ARND` macros, which have their own checks. Since `HAVE_SYS_SYSCTL_H` is not used, we can skip the `AC_CHECK_HEADERS(... sys/sysctl.h ...)` check.
ACKs for top commit:
laanwj:
ACK c0b5ea5901d0ed005bca345e5b2de8a502f6af75
fanquake:
ACK c0b5ea5901d0ed005bca345e5b2de8a502f6af75 - we could got the other way, and add nested #defs, but that doesn't seem worthwhile.
Tree-SHA512: 73bc4bbfc5c457cd2c38e40f8e57d2a70c06ef661d76d4148d683d262be45b9405b8cda1958ac611c312ca7d9e2f9624cf2cac1b61f1008af0856875c62f0eac
Diffstat (limited to 'src/common/init.h')
0 files changed, 0 insertions, 0 deletions