]> git.ipfire.org Git - thirdparty/pdns.git/commit
Change the default for building with net-snmp from `auto` to `no` 13168/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 23 Aug 2023 15:00:17 +0000 (17:00 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 23 Aug 2023 15:05:24 +0000 (17:05 +0200)
commitd5d26f840ba41b23e2f4c0ba2c359197ff7cd900
tree918f7433d4abf5ab029e10c12ee088b7f341c413
parentaf4d79c131afdb49b4ba94d1bb575814064b653f
Change the default for building with net-snmp from `auto` to `no`

We have had a fair amount of issues with `net-snmp` adding unexpected
and unwanted values to both `CXXFLAGS` and `LDFLAGS`, and it was just
reported to also define `HAVE_LIBSSL` is in public header, which messes
up our own feature detection. Therefore it is likely better for everyone
to prevent net-snmp from being enabled without the user intending it.
For our own packages we explicitly enable net-snmp when supported,
and this commit also enables it in our CI for dnsdist (it was already
done for the recursor) so it should not have any impact.
m4/pdns_with_net_snmp.m4
tasks.py