Version in base suite: 1.9.16-0+deb13u1
Base version: dnsdist_1.9.16-0+deb13u1
Target version: dnsdist_2.1.3-1~deb13u1
Base file: /srv/ftp-master.debian.org/ftp/pool/main/d/dnsdist/dnsdist_1.9.16-0+deb13u1.dsc
Target file: /srv/ftp-master.debian.org/policy/pool/main/d/dnsdist/dnsdist_2.1.3-1~deb13u1.dsc
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/_static/favicon.ico |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/_static/powerdns-logo-500px.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/_static/powerdns-logo-trans.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/_templates/pdns_html/static/dialog-note.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/_templates/pdns_html/static/dialog-seealso.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/_templates/pdns_html/static/dialog-todo.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/_templates/pdns_html/static/dialog-topic.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/_templates/pdns_html/static/dialog-warning.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/_templates/pdns_html/static/footerbg.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/_templates/pdns_html/static/headerbg.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/_templates/pdns_html/static/middlebg.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/_templates/pdns_html/static/transparent.gif |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/common/favicon.ico |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/common/powerdns-logo-500px.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/AsyncQuery.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/DNSDistDoH.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/DNSDistDoH17.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/DNSDistDoH19.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/DNSDistDoH3.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/DNSDistDoQ.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/DNSDistFlow.v2.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/DNSDistLazyHealthChecks.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/DNSDistOutgoingDoH.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/DNSDistTCP.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/DNSDistUDP.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/DNSDistUDPDoT.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/af_xdp_refused_cpu.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/af_xdp_refused_qps.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/ebpf_drops.png |binary
/srv/release.debian.org/tmp/gbcpUtZVof/dnsdist-2.1.3/docs/imgs/tls_resumptions.png |binary
dnsdist-2.1.3/COPYING | 9
dnsdist-2.1.3/Makefile.am | 164
dnsdist-2.1.3/Makefile.in | 1253
dnsdist-2.1.3/NOTICE | 16
dnsdist-2.1.3/aclocal.m4 | 478
dnsdist-2.1.3/base64.hh | 5
dnsdist-2.1.3/bench-dnsdist-action-rcode.cc | 55
dnsdist-2.1.3/bench-dnsdist-dnsparser_cc.cc | 44
dnsdist-2.1.3/bench-dnsdist-opentelemetry_cc.cc | 159
dnsdist-2.1.3/bench-dnsdist-rings_cc.cc | 73
dnsdist-2.1.3/bench-iputils.cc | 41
dnsdist-2.1.3/bench-misc_hh.cc | 83
dnsdist-2.1.3/benchmarkrunner.cc | 195
dnsdist-2.1.3/bpf-filter.cc | 189
dnsdist-2.1.3/bpf-filter.ebpf.src | 4
dnsdist-2.1.3/bpf-filter.hh | 20
dnsdist-2.1.3/bpf-filter.main.ebpf | 2
dnsdist-2.1.3/bpf-filter.qname.ebpf | 6
dnsdist-2.1.3/build-aux/gen-version | 77
dnsdist-2.1.3/builder-support/gen-version | 4
dnsdist-2.1.3/burtle.hh | 6
dnsdist-2.1.3/cachecleaner.hh | 41
dnsdist-2.1.3/channel.hh | 26
dnsdist-2.1.3/compile | 11
dnsdist-2.1.3/config.guess | 112
dnsdist-2.1.3/config.h.in | 131
dnsdist-2.1.3/config.sub | 251
dnsdist-2.1.3/configure | 4144 -
dnsdist-2.1.3/configure.ac | 62
dnsdist-2.1.3/connection-management.hh | 3
dnsdist-2.1.3/credentials.cc | 69
dnsdist-2.1.3/credentials.hh | 21
dnsdist-2.1.3/debian/.gitlab-ci.yml | 3
dnsdist-2.1.3/debian/changelog | 212
dnsdist-2.1.3/debian/control | 40
dnsdist-2.1.3/debian/copyright | 12
dnsdist-2.1.3/debian/dnsdist.examples | 1
dnsdist-2.1.3/debian/dnsdist.lintian-overrides | 3
dnsdist-2.1.3/debian/dnsdist.postinst | 40
dnsdist-2.1.3/debian/dnsdist.sysusers | 1
dnsdist-2.1.3/debian/dnsdist.tmpfiles | 1
dnsdist-2.1.3/debian/gbp.conf | 4
dnsdist-2.1.3/debian/missing-sources/jquery.js | 9431 +--
dnsdist-2.1.3/debian/missing-sources/moment.js | 737
dnsdist-2.1.3/debian/missing-sources/rickshaw.js | 449
dnsdist-2.1.3/debian/patches/Relax-cargo-dependencies-for-trixie.patch | 21
dnsdist-2.1.3/debian/patches/rust-debcargo-licensing.patch | 18
dnsdist-2.1.3/debian/patches/series | 2
dnsdist-2.1.3/debian/rules | 84
dnsdist-2.1.3/debian/tests/control | 9
dnsdist-2.1.3/debian/tests/smoke | 38
dnsdist-2.1.3/debian/watch | 7
dnsdist-2.1.3/delaypipe.cc | 66
dnsdist-2.1.3/delaypipe.hh | 15
dnsdist-2.1.3/depcomp | 15
dnsdist-2.1.3/devpollmplexer.cc | 7
dnsdist-2.1.3/dns.cc | 83
dnsdist-2.1.3/dns.hh | 69
dnsdist-2.1.3/dns_random.hh | 5
dnsdist-2.1.3/dnscrypt.cc | 441
dnsdist-2.1.3/dnscrypt.hh | 117
dnsdist-2.1.3/dnsdist-actions-definitions.yml | 552
dnsdist-2.1.3/dnsdist-actions-factory-generated-body.hh | 97
dnsdist-2.1.3/dnsdist-actions-factory-generated.hh | 25
dnsdist-2.1.3/dnsdist-actions-factory.cc | 2804 +
dnsdist-2.1.3/dnsdist-actions-factory.hh | 138
dnsdist-2.1.3/dnsdist-actions.cc | 93
dnsdist-2.1.3/dnsdist-actions.hh | 96
dnsdist-2.1.3/dnsdist-async.cc | 156
dnsdist-2.1.3/dnsdist-async.hh | 5
dnsdist-2.1.3/dnsdist-backend.cc | 472
dnsdist-2.1.3/dnsdist-backend.hh | 31
dnsdist-2.1.3/dnsdist-cache.cc | 231
dnsdist-2.1.3/dnsdist-cache.hh | 129
dnsdist-2.1.3/dnsdist-carbon.cc | 205
dnsdist-2.1.3/dnsdist-carbon.hh | 20
dnsdist-2.1.3/dnsdist-concurrent-connections.cc | 381
dnsdist-2.1.3/dnsdist-concurrent-connections.hh | 53
dnsdist-2.1.3/dnsdist-configuration-yaml-internal.hh | 32
dnsdist-2.1.3/dnsdist-configuration-yaml.cc | 2070
dnsdist-2.1.3/dnsdist-configuration-yaml.hh | 34
dnsdist-2.1.3/dnsdist-configuration.cc | 80
dnsdist-2.1.3/dnsdist-configuration.hh | 210
dnsdist-2.1.3/dnsdist-console-completion.cc | 499
dnsdist-2.1.3/dnsdist-console-completion.hh | 45
dnsdist-2.1.3/dnsdist-console.cc | 639
dnsdist-2.1.3/dnsdist-console.hh | 46
dnsdist-2.1.3/dnsdist-crypto.cc | 13
dnsdist-2.1.3/dnsdist-crypto.hh | 3
dnsdist-2.1.3/dnsdist-discovery.cc | 140
dnsdist-2.1.3/dnsdist-discovery.hh | 8
dnsdist-2.1.3/dnsdist-dnscrypt.cc | 9
dnsdist-2.1.3/dnsdist-dnsparser.cc | 88
dnsdist-2.1.3/dnsdist-dnsparser.hh | 16
dnsdist-2.1.3/dnsdist-dnsquestion.cc | 102
dnsdist-2.1.3/dnsdist-doh-common.cc | 86
dnsdist-2.1.3/dnsdist-doh-common.hh | 35
dnsdist-2.1.3/dnsdist-downstream-connection.hh | 22
dnsdist-2.1.3/dnsdist-dynblocks.cc | 394
dnsdist-2.1.3/dnsdist-dynblocks.hh | 231
dnsdist-2.1.3/dnsdist-dynbpf.cc | 32
dnsdist-2.1.3/dnsdist-dynbpf.hh | 19
dnsdist-2.1.3/dnsdist-ecs.cc | 943
dnsdist-2.1.3/dnsdist-ecs.hh | 36
dnsdist-2.1.3/dnsdist-edns.cc | 6
dnsdist-2.1.3/dnsdist-edns.hh | 9
dnsdist-2.1.3/dnsdist-frontend.cc | 89
dnsdist-2.1.3/dnsdist-frontend.hh | 42
dnsdist-2.1.3/dnsdist-healthchecks.cc | 240
dnsdist-2.1.3/dnsdist-healthchecks.hh | 2
dnsdist-2.1.3/dnsdist-idstate.cc | 174
dnsdist-2.1.3/dnsdist-idstate.hh | 109
dnsdist-2.1.3/dnsdist-internal-queries.cc | 20
dnsdist-2.1.3/dnsdist-internal-queries.hh | 2
dnsdist-2.1.3/dnsdist-ipcrypt2.cc | 109
dnsdist-2.1.3/dnsdist-ipcrypt2.hh | 65
dnsdist-2.1.3/dnsdist-kvs.cc | 55
dnsdist-2.1.3/dnsdist-kvs.hh | 42
dnsdist-2.1.3/dnsdist-lbpolicies.cc | 434
dnsdist-2.1.3/dnsdist-lbpolicies.hh | 129
dnsdist-2.1.3/dnsdist-logging.cc | 244
dnsdist-2.1.3/dnsdist-logging.hh | 35
dnsdist-2.1.3/dnsdist-lsan.supp | 2
dnsdist-2.1.3/dnsdist-lua-actions-generated-body.hh | 73
dnsdist-2.1.3/dnsdist-lua-actions.cc | 2856 -
dnsdist-2.1.3/dnsdist-lua-bindings-dnscrypt.cc | 413
dnsdist-2.1.3/dnsdist-lua-bindings-dnsparser.cc | 12
dnsdist-2.1.3/dnsdist-lua-bindings-dnsquestion.cc | 966
dnsdist-2.1.3/dnsdist-lua-bindings-kvs.cc | 18
dnsdist-2.1.3/dnsdist-lua-bindings-network.cc | 7
dnsdist-2.1.3/dnsdist-lua-bindings-packetcache.cc | 323
dnsdist-2.1.3/dnsdist-lua-bindings-protobuf.cc | 226
dnsdist-2.1.3/dnsdist-lua-bindings.cc | 1251
dnsdist-2.1.3/dnsdist-lua-configuration-items.cc | 260
dnsdist-2.1.3/dnsdist-lua-ffi-interface.h | 47
dnsdist-2.1.3/dnsdist-lua-ffi-interface.inc | 359
dnsdist-2.1.3/dnsdist-lua-ffi.cc | 996
dnsdist-2.1.3/dnsdist-lua-ffi.hh | 133
dnsdist-2.1.3/dnsdist-lua-hooks.cc | 54
dnsdist-2.1.3/dnsdist-lua-hooks.hh | 5
dnsdist-2.1.3/dnsdist-lua-inspection-ffi.cc | 4
dnsdist-2.1.3/dnsdist-lua-inspection-ffi.h | 4
dnsdist-2.1.3/dnsdist-lua-inspection.cc | 1492
dnsdist-2.1.3/dnsdist-lua-network.cc | 26
dnsdist-2.1.3/dnsdist-lua-network.hh | 2
dnsdist-2.1.3/dnsdist-lua-response-actions-generated-body.hh | 40
dnsdist-2.1.3/dnsdist-lua-rules.cc | 841
dnsdist-2.1.3/dnsdist-lua-selectors-generated-body.hh | 91
dnsdist-2.1.3/dnsdist-lua-vars.cc | 119
dnsdist-2.1.3/dnsdist-lua-web.cc | 32
dnsdist-2.1.3/dnsdist-lua.cc | 2135
dnsdist-2.1.3/dnsdist-lua.hh | 213
dnsdist-2.1.3/dnsdist-mac-address.cc | 34
dnsdist-2.1.3/dnsdist-mac-address.hh | 2
dnsdist-2.1.3/dnsdist-metrics.cc | 338
dnsdist-2.1.3/dnsdist-metrics.hh | 60
dnsdist-2.1.3/dnsdist-nghttp2-in.cc | 263
dnsdist-2.1.3/dnsdist-nghttp2-in.hh | 10
dnsdist-2.1.3/dnsdist-nghttp2.cc | 296
dnsdist-2.1.3/dnsdist-nghttp2.hh | 4
dnsdist-2.1.3/dnsdist-opentelemetry.cc | 393
dnsdist-2.1.3/dnsdist-opentelemetry.hh | 367
dnsdist-2.1.3/dnsdist-prometheus.hh | 50
dnsdist-2.1.3/dnsdist-protobuf.cc | 117
dnsdist-2.1.3/dnsdist-protobuf.hh | 38
dnsdist-2.1.3/dnsdist-protocols.cc | 20
dnsdist-2.1.3/dnsdist-protocols.hh | 2
dnsdist-2.1.3/dnsdist-proxy-protocol.cc | 21
dnsdist-2.1.3/dnsdist-proxy-protocol.hh | 10
dnsdist-2.1.3/dnsdist-query-count.cc | 28
dnsdist-2.1.3/dnsdist-query-count.hh | 46
dnsdist-2.1.3/dnsdist-random.cc | 88
dnsdist-2.1.3/dnsdist-resolver.cc | 2
dnsdist-2.1.3/dnsdist-response-actions-definitions.yml | 270
dnsdist-2.1.3/dnsdist-response-actions-factory-generated-body.hh | 53
dnsdist-2.1.3/dnsdist-response-actions-factory-generated.hh | 14
dnsdist-2.1.3/dnsdist-rings.cc | 120
dnsdist-2.1.3/dnsdist-rings.hh | 203
dnsdist-2.1.3/dnsdist-rule-chains.cc | 137
dnsdist-2.1.3/dnsdist-rule-chains.hh | 108
dnsdist-2.1.3/dnsdist-rules-factory.hh | 1555
dnsdist-2.1.3/dnsdist-rules-generator.py | 343
dnsdist-2.1.3/dnsdist-rules.cc | 197
dnsdist-2.1.3/dnsdist-rules.hh | 1390
dnsdist-2.1.3/dnsdist-rust-bridge.hh | 73
dnsdist-2.1.3/dnsdist-rust-lib/Makefile.am | 17
dnsdist-2.1.3/dnsdist-rust-lib/Makefile.in | 612
dnsdist-2.1.3/dnsdist-rust-lib/dnsdist-configuration-yaml-items-generated.cc | 262
dnsdist-2.1.3/dnsdist-rust-lib/dnsdist-configuration-yaml-items-pre-in.cc | 24
dnsdist-2.1.3/dnsdist-rust-lib/dnsdist-rust-bridge-actions-generated-body.hh | 231
dnsdist-2.1.3/dnsdist-rust-lib/dnsdist-rust-bridge-actions-generated.hh | 135
dnsdist-2.1.3/dnsdist-rust-lib/dnsdist-rust-bridge-selectors-generated-body.hh | 166
dnsdist-2.1.3/dnsdist-rust-lib/dnsdist-rust-bridge-selectors-generated.hh | 93
dnsdist-2.1.3/dnsdist-rust-lib/dnsdist-settings-generator.py | 1012
dnsdist-2.1.3/dnsdist-rust-lib/meson.build | 47
dnsdist-2.1.3/dnsdist-rust-lib/rust-middle-in.rs | 107
dnsdist-2.1.3/dnsdist-rust-lib/rust-post-in.rs | 133
dnsdist-2.1.3/dnsdist-rust-lib/rust-pre-in.rs | 78
dnsdist-2.1.3/dnsdist-rust-lib/rust/Cargo.lock | 324
dnsdist-2.1.3/dnsdist-rust-lib/rust/Cargo.toml | 23
dnsdist-2.1.3/dnsdist-rust-lib/rust/Makefile.am | 21
dnsdist-2.1.3/dnsdist-rust-lib/rust/Makefile.in | 608
dnsdist-2.1.3/dnsdist-rust-lib/rust/build.rs | 26
dnsdist-2.1.3/dnsdist-rust-lib/rust/build_dnsdist_rust_library | 44
dnsdist-2.1.3/dnsdist-rust-lib/rust/meson.build | 52
dnsdist-2.1.3/dnsdist-rust-lib/rust/src/helpers.rs | 93
dnsdist-2.1.3/dnsdist-rust-lib/rust/src/lib.rs | 4864 +
dnsdist-2.1.3/dnsdist-secpoll.cc | 180
dnsdist-2.1.3/dnsdist-secpoll.hh | 7
dnsdist-2.1.3/dnsdist-selectors-definitions.yml | 433
dnsdist-2.1.3/dnsdist-selectors-factory-generated-body.hh | 125
dnsdist-2.1.3/dnsdist-selectors-factory-generated.hh | 32
dnsdist-2.1.3/dnsdist-self-answers.cc | 274
dnsdist-2.1.3/dnsdist-self-answers.hh | 33
dnsdist-2.1.3/dnsdist-server-pool.hh | 88
dnsdist-2.1.3/dnsdist-session-cache.cc | 20
dnsdist-2.1.3/dnsdist-session-cache.hh | 23
dnsdist-2.1.3/dnsdist-settings-definitions.yml | 2321
dnsdist-2.1.3/dnsdist-settings-documentation-generator.py | 277
dnsdist-2.1.3/dnsdist-snmp.cc | 510
dnsdist-2.1.3/dnsdist-snmp.hh | 6
dnsdist-2.1.3/dnsdist-svc.cc | 10
dnsdist-2.1.3/dnsdist-systemd.cc | 5
dnsdist-2.1.3/dnsdist-tcp-downstream.cc | 383
dnsdist-2.1.3/dnsdist-tcp-downstream.hh | 49
dnsdist-2.1.3/dnsdist-tcp-upstream.hh | 115
dnsdist-2.1.3/dnsdist-tcp.cc | 455
dnsdist-2.1.3/dnsdist-tcp.hh | 11
dnsdist-2.1.3/dnsdist-tsan.supp | 29
dnsdist-2.1.3/dnsdist-udp.cc | 99
dnsdist-2.1.3/dnsdist-udp.hh | 37
dnsdist-2.1.3/dnsdist-web.cc | 1485
dnsdist-2.1.3/dnsdist-web.hh | 22
dnsdist-2.1.3/dnsdist-xpf.cc | 63
dnsdist-2.1.3/dnsdist-xpf.hh | 27
dnsdist-2.1.3/dnsdist-xsk.cc | 55
dnsdist-2.1.3/dnsdist-xsk.hh | 4
dnsdist-2.1.3/dnsdist.1 | 9
dnsdist-2.1.3/dnsdist.cc | 2914 -
dnsdist-2.1.3/dnsdist.conf-dist | 8
dnsdist-2.1.3/dnsdist.hh | 664
dnsdist-2.1.3/dnsdist.service.meson.in | 61
dnsdist-2.1.3/dnsdist.yml-dist | 263
dnsdist-2.1.3/dnsdistconf.lua | 113
dnsdist-2.1.3/dnslabeltext.cc | 109
dnsdist-2.1.3/dnslabeltext.rl | 5
dnsdist-2.1.3/dnsmessage.proto | 22
dnsdist-2.1.3/dnsname.cc | 346
dnsdist-2.1.3/dnsname.hh | 284
dnsdist-2.1.3/dnsparser.cc | 199
dnsdist-2.1.3/dnsparser.hh | 130
dnsdist-2.1.3/dnstap.cc | 15
dnsdist-2.1.3/dnstap.hh | 10
dnsdist-2.1.3/dnstap.proto | 23
dnsdist-2.1.3/dnswriter.cc | 26
dnsdist-2.1.3/dnswriter.hh | 3
dnsdist-2.1.3/docs/Makefile.sphinx | 27
dnsdist-2.1.3/docs/_static/dnsdist-keyblock.asc | 172
dnsdist-2.1.3/docs/_static/model.dot | 79
dnsdist-2.1.3/docs/_templates/pdns_html/layout.html | 21
dnsdist-2.1.3/docs/_templates/pdns_html/static/epub.css | 310
dnsdist-2.1.3/docs/_templates/pdns_html/static/ie6.css | 7
dnsdist-2.1.3/docs/_templates/pdns_html/static/pyramid.css_t | 346
dnsdist-2.1.3/docs/_templates/pdns_html/theme.conf | 7
dnsdist-2.1.3/docs/advanced/acl.rst | 74
dnsdist-2.1.3/docs/advanced/asynchronous-processing.rst | 52
dnsdist-2.1.3/docs/advanced/axfr.rst | 72
dnsdist-2.1.3/docs/advanced/ebpf.rst | 138
dnsdist-2.1.3/docs/advanced/index.rst | 28
dnsdist-2.1.3/docs/advanced/internal-design.rst | 86
dnsdist-2.1.3/docs/advanced/luaaction.rst | 116
dnsdist-2.1.3/docs/advanced/multiple-instance.rst | 18
dnsdist-2.1.3/docs/advanced/ocsp-stapling.rst | 74
dnsdist-2.1.3/docs/advanced/out-of-order.rst | 26
dnsdist-2.1.3/docs/advanced/passing-source-address.rst | 165
dnsdist-2.1.3/docs/advanced/qpslimits.rst | 30
dnsdist-2.1.3/docs/advanced/snmp.rst | 38
dnsdist-2.1.3/docs/advanced/structured-logging-dictionary.rst | 157
dnsdist-2.1.3/docs/advanced/teeaction.rst | 19
dnsdist-2.1.3/docs/advanced/timedipsetrule.rst | 64
dnsdist-2.1.3/docs/advanced/tls-certificates-management.rst | 79
dnsdist-2.1.3/docs/advanced/tls-sessions-management.rst | 97
dnsdist-2.1.3/docs/advanced/tuning.rst | 240
dnsdist-2.1.3/docs/advanced/xsk.rst | 143
dnsdist-2.1.3/docs/advanced/zero-scope.rst | 13
dnsdist-2.1.3/docs/changelog.rst | 8558 +++
dnsdist-2.1.3/docs/common/api/configsetting.rst | 20
dnsdist-2.1.3/docs/common/api/dataformat.rst | 144
dnsdist-2.1.3/docs/common/api/endpoint-api.rst | 38
dnsdist-2.1.3/docs/common/api/endpoint-servers-config.rst | 25
dnsdist-2.1.3/docs/common/api/endpoint-servers.rst | 12
dnsdist-2.1.3/docs/common/api/endpoint-statistics.rst | 19
dnsdist-2.1.3/docs/common/api/server.rst | 33
dnsdist-2.1.3/docs/common/api/statisticitem.rst | 10
dnsdist-2.1.3/docs/common/api/zone.rst | 35
dnsdist-2.1.3/docs/common/license.rst | 6
dnsdist-2.1.3/docs/common/secpoll.rst | 70
dnsdist-2.1.3/docs/common/security-policy.rst | 24
dnsdist-2.1.3/docs/common/tarball-pgp-keys.rst | 13
dnsdist-2.1.3/docs/conf.py | 239
dnsdist-2.1.3/docs/depfile.py | 68
dnsdist-2.1.3/docs/eol.rst | 18
dnsdist-2.1.3/docs/generate-docs.py | 122
dnsdist-2.1.3/docs/generate-man-pages.py | 104
dnsdist-2.1.3/docs/glossary.rst | 14
dnsdist-2.1.3/docs/guides/cache.rst | 76
dnsdist-2.1.3/docs/guides/carbon.rst | 58
dnsdist-2.1.3/docs/guides/console.rst | 89
dnsdist-2.1.3/docs/guides/dns-over-http3.rst | 48
dnsdist-2.1.3/docs/guides/dns-over-https.rst | 171
dnsdist-2.1.3/docs/guides/dns-over-quic.rst | 36
dnsdist-2.1.3/docs/guides/dns-over-tls.rst | 79
dnsdist-2.1.3/docs/guides/dnscrypt.rst | 42
dnsdist-2.1.3/docs/guides/downstreams.rst | 184
dnsdist-2.1.3/docs/guides/dynblocks.rst | 129
dnsdist-2.1.3/docs/guides/index.rst | 22
dnsdist-2.1.3/docs/guides/serverpools.rst | 44
dnsdist-2.1.3/docs/guides/serverselection.rst | 315
dnsdist-2.1.3/docs/guides/webserver.rst | 1052
dnsdist-2.1.3/docs/index.rst | 67
dnsdist-2.1.3/docs/index_TOC.rst | 24
dnsdist-2.1.3/docs/install.rst | 173
dnsdist-2.1.3/docs/manpages/dnsdist.1.rst | 94
dnsdist-2.1.3/docs/manpages/index.rst | 8
dnsdist-2.1.3/docs/quickstart.rst | 178
dnsdist-2.1.3/docs/reference/actions.rst | 1039
dnsdist-2.1.3/docs/reference/carbon.rst | 12
dnsdist-2.1.3/docs/reference/comboaddress.rst | 81
dnsdist-2.1.3/docs/reference/config.rst | 2895 +
dnsdist-2.1.3/docs/reference/constants.rst | 172
dnsdist-2.1.3/docs/reference/custommetrics.rst | 133
dnsdist-2.1.3/docs/reference/dnscrypt.rst | 221
dnsdist-2.1.3/docs/reference/dnsname.rst | 100
dnsdist-2.1.3/docs/reference/dnsnameset.rst | 60
dnsdist-2.1.3/docs/reference/dnsparser.rst | 172
dnsdist-2.1.3/docs/reference/dnstap.rst | 83
dnsdist-2.1.3/docs/reference/dq.rst | 733
dnsdist-2.1.3/docs/reference/ebpf.rst | 158
dnsdist-2.1.3/docs/reference/index.rst | 39
dnsdist-2.1.3/docs/reference/kvs.rst | 151
dnsdist-2.1.3/docs/reference/logging.rst | 32
dnsdist-2.1.3/docs/reference/netmask.rst | 53
dnsdist-2.1.3/docs/reference/netmaskgroup.rst | 40
dnsdist-2.1.3/docs/reference/ottrace.rst | 141
dnsdist-2.1.3/docs/reference/protobuf.rst | 138
dnsdist-2.1.3/docs/reference/rules-management.rst | 704
dnsdist-2.1.3/docs/reference/selectors.rst | 481
dnsdist-2.1.3/docs/reference/snmp.rst | 16
dnsdist-2.1.3/docs/reference/svc.rst | 45
dnsdist-2.1.3/docs/reference/tuning.rst | 300
dnsdist-2.1.3/docs/reference/web.rst | 52
dnsdist-2.1.3/docs/reference/xsk.rst | 29
dnsdist-2.1.3/docs/reference/yaml-actions.rst | 677
dnsdist-2.1.3/docs/reference/yaml-response-actions.rst | 329
dnsdist-2.1.3/docs/reference/yaml-selectors.rst | 671
dnsdist-2.1.3/docs/reference/yaml-settings.rst | 1080
dnsdist-2.1.3/docs/reference/yaml-support-structures.rst | 50
dnsdist-2.1.3/docs/requirements.in | 19
dnsdist-2.1.3/docs/requirements.txt | 346
dnsdist-2.1.3/docs/rules-actions.rst | 96
dnsdist-2.1.3/docs/running.rst | 67
dnsdist-2.1.3/docs/security-advisories/index.rst | 12
dnsdist-2.1.3/docs/security-advisories/powerdns-advisory-for-dnsdist-2017-01.rst | 22
dnsdist-2.1.3/docs/security-advisories/powerdns-advisory-for-dnsdist-2017-02.rst | 20
dnsdist-2.1.3/docs/security-advisories/powerdns-advisory-for-dnsdist-2018-08.rst | 22
dnsdist-2.1.3/docs/security-advisories/powerdns-advisory-for-dnsdist-2024-03.rst | 28
dnsdist-2.1.3/docs/security-advisories/powerdns-advisory-for-dnsdist-2025-02.rst | 28
dnsdist-2.1.3/docs/security-advisories/powerdns-advisory-for-dnsdist-2025-03.rst | 28
dnsdist-2.1.3/docs/security-advisories/powerdns-advisory-for-dnsdist-2025-05.rst | 25
dnsdist-2.1.3/docs/statistics.rst | 394
dnsdist-2.1.3/docs/upgrade_guide.rst | 247
dnsdist-2.1.3/doh.cc | 1794
dnsdist-2.1.3/doh.hh | 57
dnsdist-2.1.3/doh3.cc | 269
dnsdist-2.1.3/doh3.hh | 40
dnsdist-2.1.3/dolog.cc | 64
dnsdist-2.1.3/dolog.hh | 74
dnsdist-2.1.3/doq-common.cc | 32
dnsdist-2.1.3/doq-common.hh | 5
dnsdist-2.1.3/doq.cc | 93
dnsdist-2.1.3/doq.hh | 20
dnsdist-2.1.3/ednscookies.cc | 119
dnsdist-2.1.3/ednscookies.hh | 32
dnsdist-2.1.3/ednsextendederror.hh | 2
dnsdist-2.1.3/ednsoptions.cc | 72
dnsdist-2.1.3/ednsoptions.hh | 15
dnsdist-2.1.3/ednssubnet.cc | 57
dnsdist-2.1.3/ednssubnet.hh | 45
dnsdist-2.1.3/epollmplexer.cc | 7
dnsdist-2.1.3/ext/arc4random/Makefile.am | 3
dnsdist-2.1.3/ext/arc4random/Makefile.in | 48
dnsdist-2.1.3/ext/arc4random/meson.build | 20
dnsdist-2.1.3/ext/ipcrypt/Makefile.am | 3
dnsdist-2.1.3/ext/ipcrypt/Makefile.in | 48
dnsdist-2.1.3/ext/ipcrypt/meson.build | 12
dnsdist-2.1.3/ext/ipcrypt2/LICENSE | 18
dnsdist-2.1.3/ext/ipcrypt2/Makefile.am | 9
dnsdist-2.1.3/ext/ipcrypt2/Makefile.in | 751
dnsdist-2.1.3/ext/ipcrypt2/README.md | 436
dnsdist-2.1.3/ext/ipcrypt2/include/ipcrypt2.h | 338
dnsdist-2.1.3/ext/ipcrypt2/ipcrypt2.c | 1504
dnsdist-2.1.3/ext/ipcrypt2/meson.build | 55
dnsdist-2.1.3/ext/ipcrypt2/softaes/untrinsics.h | 711
dnsdist-2.1.3/ext/json11/json11.cpp | 54
dnsdist-2.1.3/ext/json11/json11.hpp | 6
dnsdist-2.1.3/ext/json11/meson.build | 12
dnsdist-2.1.3/ext/lmdb-safe/LICENSE | 21
dnsdist-2.1.3/ext/lmdb-safe/Makefile.am | 5
dnsdist-2.1.3/ext/lmdb-safe/lmdb-safe.cc | 166
dnsdist-2.1.3/ext/lmdb-safe/lmdb-safe.hh | 570
dnsdist-2.1.3/ext/lmdb-safe/meson.build | 16
dnsdist-2.1.3/ext/luawrapper/include/LuaContext.hpp | 145
dnsdist-2.1.3/ext/luawrapper/meson.build | 3
dnsdist-2.1.3/ext/protozero/CHANGELOG.md | 449
dnsdist-2.1.3/ext/protozero/LICENSE.from_folly | 177
dnsdist-2.1.3/ext/protozero/LICENSE.md | 26
dnsdist-2.1.3/ext/protozero/include/protozero/basic_pbf_builder.hpp | 4
dnsdist-2.1.3/ext/protozero/include/protozero/basic_pbf_writer.hpp | 56
dnsdist-2.1.3/ext/protozero/include/protozero/buffer_string.hpp | 4
dnsdist-2.1.3/ext/protozero/include/protozero/config.hpp | 11
dnsdist-2.1.3/ext/protozero/include/protozero/data_view.hpp | 4
dnsdist-2.1.3/ext/protozero/include/protozero/pbf_message.hpp | 2
dnsdist-2.1.3/ext/protozero/include/protozero/pbf_reader.hpp | 8
dnsdist-2.1.3/ext/protozero/include/protozero/types.hpp | 2
dnsdist-2.1.3/ext/protozero/include/protozero/varint.hpp | 47
dnsdist-2.1.3/ext/protozero/include/protozero/version.hpp | 6
dnsdist-2.1.3/ext/protozero/meson.build | 3
dnsdist-2.1.3/ext/yahttp/Makefile.am | 5
dnsdist-2.1.3/ext/yahttp/Makefile.in | 37
dnsdist-2.1.3/ext/yahttp/meson.build | 3
dnsdist-2.1.3/ext/yahttp/yahttp/Makefile.am | 3
dnsdist-2.1.3/ext/yahttp/yahttp/Makefile.in | 48
dnsdist-2.1.3/ext/yahttp/yahttp/meson.build | 26
dnsdist-2.1.3/ext/yahttp/yahttp/reqresp.cpp | 11
dnsdist-2.1.3/ext/yahttp/yahttp/reqresp.hpp | 17
dnsdist-2.1.3/ext/yahttp/yahttp/router.cpp | 41
dnsdist-2.1.3/fstrm_logger.cc | 110
dnsdist-2.1.3/fstrm_logger.hh | 41
dnsdist-2.1.3/fuzz_dnsdistcache.cc | 19
dnsdist-2.1.3/generate-ffi-interface.sh | 5
dnsdist-2.1.3/html/js/jquery.min.js | 7
dnsdist-2.1.3/html/js/moment.min.js | 2
dnsdist-2.1.3/html/js/rickshaw.min.js | 6
dnsdist-2.1.3/html/local.js | 2
dnsdist-2.1.3/htmlfiles.h |25729 ----------
dnsdist-2.1.3/incfiles | 2
dnsdist-2.1.3/install-sh | 14
dnsdist-2.1.3/ipcipher.cc | 16
dnsdist-2.1.3/iputils.cc | 242
dnsdist-2.1.3/iputils.hh | 1253
dnsdist-2.1.3/kqueuemplexer.cc | 7
dnsdist-2.1.3/libssl.cc | 468
dnsdist-2.1.3/libssl.hh | 34
dnsdist-2.1.3/lock.hh | 146
dnsdist-2.1.3/logging.cc | 175
dnsdist-2.1.3/logging.hh | 94
dnsdist-2.1.3/logr.hh | 192
dnsdist-2.1.3/m4/ax_check_sign.m4 | 56
dnsdist-2.1.3/m4/ax_compare_version.m4 | 177
dnsdist-2.1.3/m4/ax_compile_check_sizeof.m4 | 115
dnsdist-2.1.3/m4/ax_cxx_compile_stdcxx.m4 | 92
dnsdist-2.1.3/m4/ax_cxx_compile_stdcxx_20.m4 | 4
dnsdist-2.1.3/m4/boost.m4 | 38
dnsdist-2.1.3/m4/dnsdist_enable_doh.m4 | 2
dnsdist-2.1.3/m4/dnsdist_enable_yaml.m4 | 14
dnsdist-2.1.3/m4/dnsdist_with_cdb.m4 | 2
dnsdist-2.1.3/m4/pdns_check_cargo.m4 | 13
dnsdist-2.1.3/m4/pdns_check_libcrypto.m4 | 2
dnsdist-2.1.3/m4/pdns_check_libh2o_evloop.m4 | 40
dnsdist-2.1.3/m4/pdns_check_time_t.m4 | 26
dnsdist-2.1.3/m4/pdns_d_fortify_source.m4 | 8
dnsdist-2.1.3/m4/pdns_enable_ipcrypt2.m4 | 53
dnsdist-2.1.3/m4/pdns_enable_lto.m4 | 8
dnsdist-2.1.3/m4/pdns_enable_sanitizers.m4 | 9
dnsdist-2.1.3/m4/pdns_with_lua.m4 | 50
dnsdist-2.1.3/m4/pdns_with_quiche.m4 | 10
dnsdist-2.1.3/meson-dist-script.sh | 66
dnsdist-2.1.3/meson.build | 878
dnsdist-2.1.3/meson/atomics/atomic_add_fetch.cc | 8
dnsdist-2.1.3/meson/atomics/meson.build | 23
dnsdist-2.1.3/meson/auto-var-init/meson.build | 13
dnsdist-2.1.3/meson/boost-test/meson.build | 5
dnsdist-2.1.3/meson/boost/meson.build | 5
dnsdist-2.1.3/meson/catch2/meson.build | 5
dnsdist-2.1.3/meson/cdb/meson.build | 20
dnsdist-2.1.3/meson/clock-gettime/meson.build | 15
dnsdist-2.1.3/meson/code-coverage/meson.build | 31
dnsdist-2.1.3/meson/compiler-setup/meson.build | 22
dnsdist-2.1.3/meson/config/meson.build | 2
dnsdist-2.1.3/meson/dlopen/meson.build | 15
dnsdist-2.1.3/meson/dnscrypt/meson.build | 8
dnsdist-2.1.3/meson/dnstap/meson.build | 16
dnsdist-2.1.3/meson/doh2/meson.build | 13
dnsdist-2.1.3/meson/doh3/meson.build | 10
dnsdist-2.1.3/meson/doq/meson.build | 10
dnsdist-2.1.3/meson/dot/meson.build | 8
dnsdist-2.1.3/meson/ebpf/meson.build | 8
dnsdist-2.1.3/meson/gnutls/meson.build | 20
dnsdist-2.1.3/meson/hardening/control-flow/meson.build | 10
dnsdist-2.1.3/meson/hardening/fortify-source/meson.build | 37
dnsdist-2.1.3/meson/hardening/meson.build | 34
dnsdist-2.1.3/meson/hardening/relro/meson.build | 16
dnsdist-2.1.3/meson/hardening/stack-clash-prot/meson.build | 10
dnsdist-2.1.3/meson/hardening/stack-prot/meson.build | 8
dnsdist-2.1.3/meson/hardening/stack-smashing-prot/meson.build | 10
dnsdist-2.1.3/meson/ipcipher/meson.build | 9
dnsdist-2.1.3/meson/libcap/meson.build | 5
dnsdist-2.1.3/meson/libcrypto/bn_new.cc | 7
dnsdist-2.1.3/meson/libcrypto/ecdsa/meson.build | 33
dnsdist-2.1.3/meson/libcrypto/eddsa/meson.build | 24
dnsdist-2.1.3/meson/libcrypto/meson.build | 118
dnsdist-2.1.3/meson/libdir/meson.build | 1
dnsdist-2.1.3/meson/libedit/meson.build | 9
dnsdist-2.1.3/meson/libsnmp/meson.build | 40
dnsdist-2.1.3/meson/libsodium/meson.build | 21
dnsdist-2.1.3/meson/libssl-engines/meson.build | 13
dnsdist-2.1.3/meson/libssl-providers/meson.build | 16
dnsdist-2.1.3/meson/libssl/meson.build | 49
dnsdist-2.1.3/meson/libsystemd/meson.build | 14
dnsdist-2.1.3/meson/lmdb/meson.build | 8
dnsdist-2.1.3/meson/lua/meson.build | 63
dnsdist-2.1.3/meson/mmap/meson.build | 7
dnsdist-2.1.3/meson/net-libs/meson.build | 44
dnsdist-2.1.3/meson/nghttp2/meson.build | 18
dnsdist-2.1.3/meson/platform/meson.build | 64
dnsdist-2.1.3/meson/pthread-headers/meson.build | 18
dnsdist-2.1.3/meson/pthread-np/meson.build | 13
dnsdist-2.1.3/meson/pthread-setname/meson.build | 57
dnsdist-2.1.3/meson/pthread-setname/pthread_set_name_np_2args.cc | 9
dnsdist-2.1.3/meson/pthread-setname/pthread_set_name_np_void_2args.cc | 10
dnsdist-2.1.3/meson/pthread-setname/pthread_setname_np_1arg.cc | 9
dnsdist-2.1.3/meson/pthread-setname/pthread_setname_np_2args.cc | 10
dnsdist-2.1.3/meson/pthread-setname/pthread_setname_np_3args.cc | 9
dnsdist-2.1.3/meson/quiche/meson.build | 35
dnsdist-2.1.3/meson/re2/meson.build | 12
dnsdist-2.1.3/meson/reproducible/meson.build | 48
dnsdist-2.1.3/meson/sanitizers/address-sanitizer-fiber-switching/meson.build | 44
dnsdist-2.1.3/meson/sanitizers/address-sanitizer-fiber-switching/sanitizer_finish_switch_fiber_1ptr.cc | 7
dnsdist-2.1.3/meson/sanitizers/address-sanitizer-fiber-switching/sanitizer_finish_switch_fiber_3ptrs.cc | 7
dnsdist-2.1.3/meson/sanitizers/meson.build | 25
dnsdist-2.1.3/meson/strerror/meson.build | 13
dnsdist-2.1.3/meson/strerror/strerror_r.c | 8
dnsdist-2.1.3/meson/summary/meson.build | 5
dnsdist-2.1.3/meson/sysconfdir/meson.build | 1
dnsdist-2.1.3/meson/systemd/meson.build | 60
dnsdist-2.1.3/meson/timet-sign/meson.build | 10
dnsdist-2.1.3/meson/timet-sign/timet_sign.cc | 8
dnsdist-2.1.3/meson/timet-size/meson.build | 9
dnsdist-2.1.3/meson/tm-gmtoff/meson.build | 8
dnsdist-2.1.3/meson/various-functions/meson.build | 21
dnsdist-2.1.3/meson/various-headers/meson.build | 5
dnsdist-2.1.3/meson/version/meson.build | 2
dnsdist-2.1.3/meson/xsk/meson.build | 18
dnsdist-2.1.3/meson/yaml-configuration/meson.build | 5
dnsdist-2.1.3/meson_options.txt | 45
dnsdist-2.1.3/misc.cc | 396
dnsdist-2.1.3/misc.hh | 203
dnsdist-2.1.3/missing | 75
dnsdist-2.1.3/mplexer.hh | 34
dnsdist-2.1.3/namespaces.hh | 1
dnsdist-2.1.3/packetcache.hh | 23
dnsdist-2.1.3/pdnsexception.hh | 16
dnsdist-2.1.3/pollmplexer.cc | 6
dnsdist-2.1.3/portsmplexer.cc | 6
dnsdist-2.1.3/protozero-trace.cc | 605
dnsdist-2.1.3/protozero-trace.hh | 884
dnsdist-2.1.3/protozero.cc | 90
dnsdist-2.1.3/protozero.hh | 644
dnsdist-2.1.3/proxy-protocol.hh | 2
dnsdist-2.1.3/qtype.cc | 25
dnsdist-2.1.3/qtype.hh | 14
dnsdist-2.1.3/remote_logger.cc | 39
dnsdist-2.1.3/remote_logger_pool.cc | 24
dnsdist-2.1.3/remote_logger_pool.hh | 65
dnsdist-2.1.3/sanitizer.hh | 51
dnsdist-2.1.3/sholder.hh | 63
dnsdist-2.1.3/snmp-agent.cc | 22
dnsdist-2.1.3/snmp-agent.hh | 16
dnsdist-2.1.3/src_js/SOURCES | 6
dnsdist-2.1.3/src_js/jquery.js | 9431 +--
dnsdist-2.1.3/src_js/moment.js | 737
dnsdist-2.1.3/src_js/rickshaw.js | 449
dnsdist-2.1.3/sstuff.hh | 263
dnsdist-2.1.3/stat_t.hh | 64
dnsdist-2.1.3/statnode.cc | 43
dnsdist-2.1.3/statnode.hh | 13
dnsdist-2.1.3/svc-records.cc | 119
dnsdist-2.1.3/svc-records.hh | 104
dnsdist-2.1.3/tcpiohandler-mplexer.hh | 45
dnsdist-2.1.3/tcpiohandler.cc | 447
dnsdist-2.1.3/tcpiohandler.hh | 54
dnsdist-2.1.3/test-base64_cc.cc | 41
dnsdist-2.1.3/test-connectionmanagement_hh.cc | 6
dnsdist-2.1.3/test-delaypipe_hh.cc | 24
dnsdist-2.1.3/test-dns_cc.cc | 98
dnsdist-2.1.3/test-dnscrypt_cc.cc | 170
dnsdist-2.1.3/test-dnsdist-concurrent-connections.cc | 432
dnsdist-2.1.3/test-dnsdist-connections-cache.cc | 9
dnsdist-2.1.3/test-dnsdist-dnsparser.cc | 126
dnsdist-2.1.3/test-dnsdist-ipcrypt2_cc.cc | 99
dnsdist-2.1.3/test-dnsdist-lua-ffi.cc | 234
dnsdist-2.1.3/test-dnsdist-opentelemetry_cc.cc | 638
dnsdist-2.1.3/test-dnsdist-session-cache.cc | 86
dnsdist-2.1.3/test-dnsdist-xsk.cc | 195
dnsdist-2.1.3/test-dnsdist_cc.cc | 1556
dnsdist-2.1.3/test-dnsdistasync.cc | 14
dnsdist-2.1.3/test-dnsdistbackend_cc.cc | 66
dnsdist-2.1.3/test-dnsdistbackoff.cc | 2
dnsdist-2.1.3/test-dnsdistdynblocks_hh.cc | 831
dnsdist-2.1.3/test-dnsdistedns.cc | 8
dnsdist-2.1.3/test-dnsdistkvs_cc.cc | 7
dnsdist-2.1.3/test-dnsdistlbpolicies_cc.cc | 156
dnsdist-2.1.3/test-dnsdistluanetwork.cc | 32
dnsdist-2.1.3/test-dnsdistnghttp2-in_cc.cc | 59
dnsdist-2.1.3/test-dnsdistnghttp2_cc.cc | 40
dnsdist-2.1.3/test-dnsdistnghttp2_common.hh | 14
dnsdist-2.1.3/test-dnsdistpacketcache_cc.cc | 1031
dnsdist-2.1.3/test-dnsdistrings_cc.cc | 177
dnsdist-2.1.3/test-dnsdistrules_cc.cc | 139
dnsdist-2.1.3/test-dnsdistserverpool.cc | 195
dnsdist-2.1.3/test-dnsdisttcp_cc.cc | 2429
dnsdist-2.1.3/test-dnsparser_cc.cc | 114
dnsdist-2.1.3/test-driver | 15
dnsdist-2.1.3/test-iputils_hh.cc | 51
dnsdist-2.1.3/test-luawrapper.cc | 96
dnsdist-2.1.3/test-sholder_hh.cc | 49
dnsdist-2.1.3/testrunner.cc | 10
dnsdist-2.1.3/threadname.cc | 6
dnsdist-2.1.3/version.sh | 9
dnsdist-2.1.3/xpf.cc | 118
dnsdist-2.1.3/xpf.hh | 29
dnsdist-2.1.3/xsk.cc | 124
dnsdist-2.1.3/xsk.hh | 28
663 files changed, 104262 insertions(+), 62041 deletions(-)
dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpaemprjqt/dnsdist_1.9.16-0+deb13u1.dsc: no acceptable signature found
dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpaemprjqt/dnsdist_2.1.3-1~deb13u1.dsc: no acceptable signature found
diff -Nru dnsdist-1.9.16/COPYING dnsdist-2.1.3/COPYING
--- dnsdist-1.9.16/COPYING 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/COPYING 2026-10-12 07:14:27.000000000 +0000
@@ -2,7 +2,7 @@
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -303,9 +303,8 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see .
Also add information on how to contact you by electronic and paper mail.
@@ -336,4 +335,4 @@
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License.
\ No newline at end of file
+Public License instead of this License.
diff -Nru dnsdist-1.9.16/Makefile.am dnsdist-2.1.3/Makefile.am
--- dnsdist-1.9.16/Makefile.am 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/Makefile.am 2026-10-08 15:17:50.000000000 +0000
@@ -7,16 +7,29 @@
$(NET_SNMP_CFLAGS) \
$(NGHTTP2_CFLAGS) \
$(LIBCAP_CFLAGS) \
+ $(IPCRYPT2_CFLAGS) \
-I$(top_srcdir)/ext/protozero/include \
+ -I$(top_srcdir)/dnsdist-rust-lib \
+ -I$(top_builddir)/dnsdist-rust-lib \
+ -I$(top_srcdir)/dnsdist-rust-lib/rust/src \
-DSYSCONFDIR=\"${sysconfdir}\" \
-DBOOST_CONTAINER_USE_STD_EXCEPTIONS
+AM_CXXFLAGS =
+
+DNSDIST_RUST_LIBS = $(top_builddir)/dnsdist-rust-lib/rust/libdnsdist_rust.a $(LIBDL)
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS=ext/arc4random \
+SUBDIRS=dnsdist-rust-lib \
+ dnsdist-rust-lib/rust \
+ ext/arc4random \
ext/ipcrypt \
ext/yahttp
+if HAVE_IPCRYPT2
+SUBDIRS += ext/ipcrypt2
+endif
+
CLEANFILES = \
htmlfiles.h.tmp \
htmlfiles.h \
@@ -28,8 +41,16 @@
$(AM_V_GEN)$(RAGEL) $< -o dnslabeltext.cc
BUILT_SOURCES=htmlfiles.h \
+ dnsdist-actions-factory-generated-body.hh dnsdist-actions-factory-generated.hh \
dnsdist-lua-ffi-interface.inc \
- dnslabeltext.cc
+ dnsdist-lua-actions-generated-body.hh dnsdist-lua-response-actions-generated-body.hh \
+ dnsdist-response-actions-factory-generated-body.hh dnsdist-response-actions-factory-generated.hh \
+ dnsdist-rust-bridge-actions-generated-body.hh dnsdist-rust-bridge-actions-generated.hh \
+ dnsdist-rust-bridge-selectors-generated-body.hh dnsdist-rust-bridge-selectors-generated.hh \
+ dnsdist-selectors-factory-generated-body.hh dnsdist-selectors-factory-generated.hh \
+ dnslabeltext.cc \
+ docs/reference/yaml-actions.rst docs/reference/yaml-response-actions.rst docs/reference/yaml-selectors.rst \
+ docs/reference/yaml-settings.rst
htmlfiles.h: $(srcdir)/html/* $(srcdir)/incfiles
$(AM_V_GEN)$(srcdir)/incfiles $(srcdir) > $@.tmp
@@ -42,6 +63,16 @@
SRC_JS_FILES := $(wildcard src_js/*.js)
MIN_JS_FILES := $(patsubst src_js/%.js,html/js/%.min.js,$(SRC_JS_FILES))
+dnsdist%generated-body.hh dnsdist%generated.hh: dnsdist-rules-generator.py dnsdist-actions-definitions.yml dnsdist-response-actions-definitions.yml dnsdist-selectors-definitions.yml
+ @if test "$(PYTHON)" = ":"; then echo "Actions or selectors definitions have changed, python is needed to regenerate the related files but python was not found. Please install python and re-run configure"; exit 1; fi
+ @if ! $(PYTHON) --version | grep -q "Python 3"; then echo $(PYTHON) should be at least version 3. Please install python 3 and re-run configure; exit 1; fi
+ $(PYTHON) ${srcdir}/dnsdist-rules-generator.py ${srcdir} .
+
+docs/reference/yaml-%.rst: dnsdist-settings-documentation-generator.py dnsdist-settings-definitions.yml dnsdist-actions-definitions.yml dnsdist-response-actions-definitions.yml dnsdist-selectors-definitions.yml
+ @if test "$(PYTHON)" = ":"; then echo "Settings definitions have changed, python is needed to regenerate the related files but python was not found. Please install python and re-run configure"; exit 1; fi
+ @if ! $(PYTHON) --version | grep -q "Python 3"; then echo $(PYTHON) should be at least version 3. Please install python 3 and re-run configure; exit 1; fi
+ $(PYTHON) ${srcdir}/dnsdist-settings-documentation-generator.py ${srcdir}
+
html/js/%.min.js: src_js/%.js
uglifyjs $< > $@
@@ -50,7 +81,7 @@
if HAVE_RE2
# Some versions of pkg_config add -std=c11++, override that
AM_CPPFLAGS += $(RE2_CFLAGS)
-AM_CPPFLAGS += -std=c++17
+AM_CXXFLAGS += $(RE2_CFLAGS) -std=c++17
endif
if HAVE_DNS_OVER_TLS
@@ -84,12 +115,16 @@
AM_CPPFLAGS += $(GNUTLS_CFLAGS)
endif
-if HAVE_LIBH2OEVLOOP
-AM_CPPFLAGS += $(LIBH2OEVLOOP_CFLAGS)
-endif
endif
EXTRA_DIST=COPYING \
+ dnsdist-rules-generator.py \
+ dnsdist-settings-documentation-generator.py \
+ dnsdist-actions-definitions.yml \
+ dnsdist-response-actions-definitions.yml \
+ dnsdist-rust-bridge.hh \
+ dnsdist-selectors-definitions.yml \
+ dnsdist-settings-definitions.yml \
dnslabeltext.rl \
dnsdist.conf-dist \
dnsmessage.proto \
@@ -144,28 +179,38 @@
dns.cc dns.hh \
dns_random.hh \
dnscrypt.cc dnscrypt.hh \
+ dnsdist-actions-factory.cc dnsdist-actions-factory.hh \
+ dnsdist-actions.cc dnsdist-actions.hh \
dnsdist-async.cc dnsdist-async.hh \
- dnsdist-backend.cc \
+ dnsdist-backend.cc dnsdist-backend.hh \
dnsdist-backoff.hh \
dnsdist-cache.cc dnsdist-cache.hh \
dnsdist-carbon.cc dnsdist-carbon.hh \
- dnsdist-concurrent-connections.hh \
+ dnsdist-concurrent-connections.cc dnsdist-concurrent-connections.hh \
+ dnsdist-configuration-yaml-internal.hh \
+ dnsdist-configuration-yaml.cc dnsdist-configuration-yaml.hh \
+ dnsdist-configuration.cc dnsdist-configuration.hh \
+ dnsdist-console-completion.cc dnsdist-console-completion.hh \
dnsdist-console.cc dnsdist-console.hh \
dnsdist-crypto.cc dnsdist-crypto.hh \
dnsdist-discovery.cc dnsdist-discovery.hh \
dnsdist-dnscrypt.cc \
dnsdist-dnsparser.cc dnsdist-dnsparser.hh \
+ dnsdist-dnsquestion.cc \
dnsdist-doh-common.cc dnsdist-doh-common.hh \
dnsdist-downstream-connection.hh \
dnsdist-dynblocks.cc dnsdist-dynblocks.hh \
dnsdist-dynbpf.cc dnsdist-dynbpf.hh \
dnsdist-ecs.cc dnsdist-ecs.hh \
dnsdist-edns.cc dnsdist-edns.hh \
+ dnsdist-frontend.cc dnsdist-frontend.hh \
dnsdist-healthchecks.cc dnsdist-healthchecks.hh \
- dnsdist-idstate.hh \
+ dnsdist-idstate.cc dnsdist-idstate.hh \
dnsdist-internal-queries.cc dnsdist-internal-queries.hh \
+ dnsdist-ipcrypt2.cc dnsdist-ipcrypt2.hh \
dnsdist-kvs.hh dnsdist-kvs.cc \
dnsdist-lbpolicies.cc dnsdist-lbpolicies.hh \
+ dnsdist-logging.cc dnsdist-logging.hh \
dnsdist-lua-actions.cc \
dnsdist-lua-bindings-dnscrypt.cc \
dnsdist-lua-bindings-dnsparser.cc \
@@ -176,6 +221,7 @@
dnsdist-lua-bindings-protobuf.cc \
dnsdist-lua-bindings-rings.cc \
dnsdist-lua-bindings.cc \
+ dnsdist-lua-configuration-items.cc \
dnsdist-lua-ffi-interface.h dnsdist-lua-ffi-interface.inc \
dnsdist-lua-ffi.cc dnsdist-lua-ffi.hh \
dnsdist-lua-hooks.cc dnsdist-lua-hooks.hh \
@@ -190,15 +236,21 @@
dnsdist-metrics.cc dnsdist-metrics.hh \
dnsdist-nghttp2-in.hh \
dnsdist-nghttp2.hh \
+ dnsdist-opentelemetry.cc dnsdist-opentelemetry.hh \
dnsdist-prometheus.hh \
dnsdist-protobuf.cc dnsdist-protobuf.hh \
dnsdist-protocols.cc dnsdist-protocols.hh \
dnsdist-proxy-protocol.cc dnsdist-proxy-protocol.hh \
+ dnsdist-query-count.hh dnsdist-query-count.cc \
dnsdist-random.cc dnsdist-random.hh \
dnsdist-resolver.cc dnsdist-resolver.hh \
dnsdist-rings.cc dnsdist-rings.hh \
+ dnsdist-rule-chains.cc dnsdist-rule-chains.hh \
+ dnsdist-rules-factory.hh \
dnsdist-rules.cc dnsdist-rules.hh \
dnsdist-secpoll.cc dnsdist-secpoll.hh \
+ dnsdist-self-answers.cc dnsdist-self-answers.hh \
+ dnsdist-server-pool.hh \
dnsdist-session-cache.cc dnsdist-session-cache.hh \
dnsdist-snmp.cc dnsdist-snmp.hh \
dnsdist-svc.cc dnsdist-svc.hh \
@@ -206,8 +258,8 @@
dnsdist-tcp-downstream.cc dnsdist-tcp-downstream.hh \
dnsdist-tcp-upstream.hh \
dnsdist-tcp.cc dnsdist-tcp.hh \
+ dnsdist-udp.cc dnsdist-udp.hh \
dnsdist-web.cc dnsdist-web.hh \
- dnsdist-xpf.cc dnsdist-xpf.hh \
dnsdist-xsk.cc dnsdist-xsk.hh \
dnsdist.cc dnsdist.hh \
dnslabeltext.cc \
@@ -215,8 +267,7 @@
dnsparser.hh dnsparser.cc \
dnstap.cc dnstap.hh \
dnswriter.cc dnswriter.hh \
- doh.hh \
- doh3.hh \
+ doh3.cc doh3.hh \
dolog.cc dolog.hh \
doq-common.hh \
doq.hh \
@@ -234,7 +285,7 @@
iputils.cc iputils.hh \
libssl.cc libssl.hh \
lock.hh \
- logging.hh \
+ logging.cc logging.hh \
misc.cc misc.hh \
mplexer.hh \
namespaces.hh \
@@ -242,10 +293,13 @@
packetcache.hh \
pdnsexception.hh \
pollmplexer.cc \
+ protozero-trace.cc protozero-trace.hh \
protozero.cc protozero.hh \
proxy-protocol.cc proxy-protocol.hh \
qtype.cc qtype.hh \
remote_logger.cc remote_logger.hh \
+ remote_logger_pool.cc remote_logger_pool.hh \
+ sanitizer.hh \
sholder.hh \
snmp-agent.cc snmp-agent.hh \
sstuff.hh \
@@ -257,9 +311,10 @@
threadname.hh threadname.cc \
uuid-utils.hh uuid-utils.cc \
views.hh \
- xpf.cc xpf.hh \
xsk.cc xsk.hh
+nodist_dnsdist_SOURCES =
+
testrunner_SOURCES = \
base64.hh \
bpf-filter.cc bpf-filter.hh \
@@ -270,63 +325,80 @@
credentials.cc credentials.hh \
dns.cc dns.hh \
dnscrypt.cc dnscrypt.hh \
+ dnsdist-actions.cc dnsdist-actions.hh \
dnsdist-async.cc dnsdist-async.hh \
- dnsdist-backend.cc \
+ dnsdist-backend.cc dnsdist-backend.hh \
dnsdist-backoff.hh \
dnsdist-cache.cc dnsdist-cache.hh \
- dnsdist-concurrent-connections.hh \
+ dnsdist-concurrent-connections.cc dnsdist-concurrent-connections.hh \
+ dnsdist-configuration.cc dnsdist-configuration.hh \
dnsdist-crypto.cc dnsdist-crypto.hh \
dnsdist-dnsparser.cc dnsdist-dnsparser.hh \
+ dnsdist-dnsquestion.cc \
dnsdist-doh-common.cc dnsdist-doh-common.hh \
dnsdist-downstream-connection.hh \
dnsdist-dynblocks.cc dnsdist-dynblocks.hh \
dnsdist-dynbpf.cc dnsdist-dynbpf.hh \
dnsdist-ecs.cc dnsdist-ecs.hh \
dnsdist-edns.cc dnsdist-edns.hh \
- dnsdist-idstate.hh \
+ dnsdist-frontend.cc dnsdist-frontend.hh \
+ dnsdist-idstate.cc dnsdist-idstate.hh \
+ dnsdist-ipcrypt2.cc dnsdist-ipcrypt2.hh \
dnsdist-kvs.cc dnsdist-kvs.hh \
dnsdist-lbpolicies.cc dnsdist-lbpolicies.hh \
+ dnsdist-logging.cc dnsdist-logging.hh \
dnsdist-lua-bindings-dnsquestion.cc \
dnsdist-lua-bindings-kvs.cc \
dnsdist-lua-bindings.cc \
dnsdist-lua-ffi-interface.h dnsdist-lua-ffi-interface.inc \
dnsdist-lua-ffi.cc dnsdist-lua-ffi.hh \
+ dnsdist-lua-inspection-ffi.cc dnsdist-lua-inspection-ffi.h \
dnsdist-lua-network.cc dnsdist-lua-network.hh \
dnsdist-lua-vars.cc \
dnsdist-mac-address.cc dnsdist-mac-address.hh \
dnsdist-metrics.cc dnsdist-metrics.hh \
dnsdist-nghttp2-in.hh \
dnsdist-nghttp2.hh \
+ dnsdist-opentelemetry.cc dnsdist-opentelemetry.hh \
dnsdist-protocols.cc dnsdist-protocols.hh \
dnsdist-proxy-protocol.cc dnsdist-proxy-protocol.hh \
dnsdist-random.cc dnsdist-random.hh \
dnsdist-resolver.cc dnsdist-resolver.hh \
dnsdist-rings.cc dnsdist-rings.hh \
+ dnsdist-rule-chains.cc dnsdist-rule-chains.hh \
+ dnsdist-rules-factory.hh \
dnsdist-rules.cc dnsdist-rules.hh \
+ dnsdist-self-answers.cc dnsdist-self-answers.hh \
dnsdist-session-cache.cc dnsdist-session-cache.hh \
dnsdist-svc.cc dnsdist-svc.hh \
dnsdist-tcp-downstream.cc \
dnsdist-tcp.cc dnsdist-tcp.hh \
- dnsdist-xpf.cc dnsdist-xpf.hh \
+ dnsdist-udp.cc dnsdist-udp.hh \
dnsdist-xsk.cc dnsdist-xsk.hh \
dnsdist.hh \
dnslabeltext.cc \
dnsname.cc dnsname.hh \
dnsparser.hh dnsparser.cc \
dnswriter.cc dnswriter.hh \
+ doh3.cc doh3.hh \
dolog.cc dolog.hh \
ednscookies.cc ednscookies.hh \
ednsextendederror.cc ednsextendederror.hh \
ednsoptions.cc ednsoptions.hh \
ednssubnet.cc ednssubnet.hh \
+ ext/json11/json11.cpp \
+ ext/json11/json11.hpp \
ext/luawrapper/include/LuaContext.hpp \
gettime.cc gettime.hh \
iputils.cc iputils.hh \
+ logging.cc logging.hh \
misc.cc misc.hh \
namespaces.hh \
noinitvector.hh \
pdnsexception.hh \
pollmplexer.cc \
+ protozero-trace.cc protozero-trace.hh \
+ protozero.cc protozero.hh \
proxy-protocol.cc proxy-protocol.hh \
qtype.cc qtype.hh \
sholder.hh \
@@ -339,10 +411,16 @@
test-connectionmanagement_hh.cc \
test-credentials_cc.cc \
test-delaypipe_hh.cc \
+ test-dns_cc.cc \
test-dnscrypt_cc.cc \
+ test-dnsdist-concurrent-connections.cc \
test-dnsdist-connections-cache.cc \
test-dnsdist-dnsparser.cc \
+ test-dnsdist-ipcrypt2_cc.cc \
test-dnsdist-lua-ffi.cc \
+ test-dnsdist-opentelemetry_cc.cc \
+ test-dnsdist-session-cache.cc \
+ test-dnsdist-xsk.cc \
test-dnsdist_cc.cc \
test-dnsdistasync.cc \
test-dnsdistbackend_cc.cc \
@@ -356,6 +434,7 @@
test-dnsdistpacketcache_cc.cc \
test-dnsdistrings_cc.cc \
test-dnsdistrules_cc.cc \
+ test-dnsdistserverpool.cc \
test-dnsdistsvc_cc.cc \
test-dnsdisttcp_cc.cc \
test-dnsparser_cc.cc \
@@ -363,10 +442,10 @@
test-luawrapper.cc \
test-mplexer.cc \
test-proxy_protocol_cc.cc \
+ test-sholder_hh.cc \
testrunner.cc \
threadname.hh threadname.cc \
uuid-utils.hh uuid-utils.cc \
- xpf.cc xpf.hh \
xsk.cc xsk.hh
dnsdist_LDFLAGS = \
@@ -399,6 +478,7 @@
$(LIBSODIUM_LIBS) \
$(LUA_LIBS) \
$(RT_LIBS) \
+ $(SYSTEMD_LIBS) \
$(LIBCAP_LIBS) \
$(ARC4RANDOM_LIBS)
@@ -411,10 +491,12 @@
if HAVE_RE2
dnsdist_LDADD += $(RE2_LIBS)
+testrunner_LDADD += $(RE2_LIBS)
endif
if HAVE_LIBSSL
dnsdist_LDADD += $(LIBSSL_LIBS)
+testrunner_LDADD += $(LIBSSL_LIBS)
endif
if HAVE_XSK
@@ -430,6 +512,11 @@
dnsdist_SOURCES += ipcipher.cc ipcipher.hh
endif
+if HAVE_IPCRYPT2
+dnsdist_SOURCES += ext/ipcrypt2/ipcrypt2.c ext/ipcrypt2/include/ipcrypt2.h ext/ipcrypt2/softaes/untrinsics.h
+testrunner_SOURCES += ext/ipcrypt2/ipcrypt2.c ext/ipcrypt2/include/ipcrypt2.h ext/ipcrypt2/softaes/untrinsics.h
+endif
+
if HAVE_LMDB
dnsdist_LDADD += $(LMDB_LDFLAGS) $(LMDB_LIBS)
testrunner_LDADD += $(LMDB_LDFLAGS) $(LMDB_LIBS)
@@ -449,11 +536,6 @@
dnsdist_LDADD += $(GNUTLS_LIBS)
endif
-if HAVE_LIBH2OEVLOOP
-dnsdist_SOURCES += doh.cc
-dnsdist_LDADD += $(LIBH2OEVLOOP_LIBS)
-endif
-
if HAVE_NGHTTP2
dnsdist_SOURCES += dnsdist-nghttp2-in.cc
dnsdist_SOURCES += dnsdist-nghttp2.cc
@@ -471,19 +553,22 @@
dnsdist_SOURCES += doq.cc
endif
-if HAVE_DNS_OVER_HTTP3
-dnsdist_SOURCES += doh3.cc
-endif
-
if HAVE_QUICHE
AM_CPPFLAGS += $(QUICHE_CFLAGS)
dnsdist_LDADD += $(QUICHE_LDFLAGS) $(QUICHE_LIBS)
dnsdist_SOURCES += doq-common.cc
+testrunner_SOURCES += doq-common.cc
+testrunner_LDADD += $(QUICHE_LDFLAGS) $(QUICHE_LIBS)
+endif
+
+if HAVE_YAML_CONFIGURATION
+nodist_dnsdist_SOURCES += dnsdist-configuration-yaml-items-generated.cc
+dnsdist_LDADD += $(DNSDIST_RUST_LIBS)
endif
if !HAVE_LUA_HPP
BUILT_SOURCES += lua.hpp
-nodist_dnsdist_SOURCES = lua.hpp
+nodist_dnsdist_SOURCES += lua.hpp
endif
CLEANFILES += lua.hpp
@@ -532,8 +617,10 @@
$(fuzz_targets_programs)
fuzz_targets_libs = \
- $(LIBCRYPTO_LIBS) \
$(ARC4RANDOM_LIBS) \
+ $(LIBCRYPTO_LIBS) \
+ $(LIBSODIUM_LIBS) \
+ $(SYSTEMD_LIBS) \
$(LIB_FUZZING_ENGINE)
fuzz_targets_ldflags = \
@@ -548,22 +635,33 @@
fuzz_target_dnsdistcache_SOURCES = \
channel.hh channel.cc \
dns.cc dns.hh \
+ dnscrypt.cc dnscrypt.hh \
dnsdist-cache.cc dnsdist-cache.hh \
+ dnsdist-configuration.cc dnsdist-configuration.hh \
+ dnsdist-crypto.cc dnsdist-crypto.hh \
dnsdist-dnsparser.cc dnsdist-dnsparser.hh \
+ dnsdist-dnsquestion.cc \
dnsdist-ecs.cc dnsdist-ecs.hh \
- dnsdist-idstate.hh \
+ dnsdist-idstate.cc dnsdist-idstate.hh \
+ dnsdist-logging.cc dnsdist-logging.hh \
+ dnsdist-opentelemetry.cc dnsdist-opentelemetry.hh \
dnsdist-protocols.cc dnsdist-protocols.hh \
dnslabeltext.cc \
dnsname.cc dnsname.hh \
dnsparser.cc dnsparser.hh \
dnswriter.cc dnswriter.hh \
- doh.hh \
+ dolog.cc dolog.hh \
ednsoptions.cc ednsoptions.hh \
ednssubnet.cc ednssubnet.hh \
+ ext/json11/json11.cpp \
+ ext/json11/json11.hpp \
fuzz_dnsdistcache.cc \
+ gettime.cc gettime.hh \
iputils.cc iputils.hh \
+ logging.cc logging.hh \
misc.cc misc.hh \
packetcache.hh \
+ protozero-trace.cc protozero-trace.hh \
qtype.cc qtype.hh \
svc-records.cc svc-records.hh
@@ -594,7 +692,7 @@
if HAVE_VENV
if !HAVE_MANPAGES
$(MANPAGES): %: docs/manpages/%.rst .venv
- $(AM_V_GEN).venv/bin/python -msphinx -b man docs . $<
+ $(AM_V_GEN).venv/bin/python -msphinx -b man ${srcdir}/docs . $<
endif # if !HAVE_MANPAGES
.venv: docs/requirements.txt
diff -Nru dnsdist-1.9.16/Makefile.in dnsdist-2.1.3/Makefile.in
--- dnsdist-1.9.16/Makefile.in 2026-08-05 14:29:28.000000000 +0000
+++ dnsdist-2.1.3/Makefile.in 2026-10-12 07:14:54.167484500 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.16.5 from Makefile.am.
+# Makefile.in generated by automake 1.17 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994-2021 Free Software Foundation, Inc.
+# Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -71,6 +71,8 @@
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+am__rm_f = rm -f $(am__rm_f_notfound)
+am__rm_rf = rm -rf $(am__rm_f_notfound)
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
@@ -89,74 +91,81 @@
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
+@HAVE_IPCRYPT2_TRUE@am__append_1 = ext/ipcrypt2
# Some versions of pkg_config add -std=c11++, override that
-@HAVE_RE2_TRUE@am__append_1 = $(RE2_CFLAGS) -std=c++17
-@HAVE_DNS_OVER_TLS_TRUE@@HAVE_LIBSSL_TRUE@am__append_2 = $(LIBSSL_CFLAGS)
-@HAVE_DNS_OVER_TLS_TRUE@@HAVE_GNUTLS_TRUE@am__append_3 = $(GNUTLS_CFLAGS)
-@HAVE_LIBCRYPTO_TRUE@am__append_4 = $(LIBCRYPTO_INCLUDES)
-@HAVE_CDB_TRUE@am__append_5 = $(CDB_CFLAGS)
-@HAVE_LMDB_TRUE@am__append_6 = $(LMDB_CFLAGS)
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_LIBSSL_TRUE@am__append_7 = $(LIBSSL_CFLAGS)
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_GNUTLS_TRUE@am__append_8 = $(GNUTLS_CFLAGS)
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_LIBH2OEVLOOP_TRUE@am__append_9 = $(LIBH2OEVLOOP_CFLAGS)
+@HAVE_RE2_TRUE@am__append_2 = $(RE2_CFLAGS)
+@HAVE_RE2_TRUE@am__append_3 = $(RE2_CFLAGS) -std=c++17
+@HAVE_DNS_OVER_TLS_TRUE@@HAVE_LIBSSL_TRUE@am__append_4 = $(LIBSSL_CFLAGS)
+@HAVE_DNS_OVER_TLS_TRUE@@HAVE_GNUTLS_TRUE@am__append_5 = $(GNUTLS_CFLAGS)
+@HAVE_LIBCRYPTO_TRUE@am__append_6 = $(LIBCRYPTO_INCLUDES)
+@HAVE_CDB_TRUE@am__append_7 = $(CDB_CFLAGS)
+@HAVE_LMDB_TRUE@am__append_8 = $(LMDB_CFLAGS)
+@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_LIBSSL_TRUE@am__append_9 = $(LIBSSL_CFLAGS)
+@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_GNUTLS_TRUE@am__append_10 = $(GNUTLS_CFLAGS)
bin_PROGRAMS = dnsdist$(EXEEXT) $(am__EXEEXT_3)
@UNIT_TESTS_TRUE@noinst_PROGRAMS = testrunner$(EXEEXT)
@UNIT_TESTS_TRUE@TESTS = testrunner$(EXEEXT)
-@HAVE_CDB_TRUE@am__append_10 = $(CDB_LDFLAGS) $(CDB_LIBS)
@HAVE_CDB_TRUE@am__append_11 = $(CDB_LDFLAGS) $(CDB_LIBS)
-@HAVE_CDB_TRUE@am__append_12 = cdb.cc cdb.hh
+@HAVE_CDB_TRUE@am__append_12 = $(CDB_LDFLAGS) $(CDB_LIBS)
@HAVE_CDB_TRUE@am__append_13 = cdb.cc cdb.hh
-@HAVE_RE2_TRUE@am__append_14 = $(RE2_LIBS)
-@HAVE_LIBSSL_TRUE@am__append_15 = $(LIBSSL_LIBS)
-@HAVE_XSK_TRUE@am__append_16 = -lbpf -lxdp
-@HAVE_XSK_TRUE@am__append_17 = -lbpf -lxdp
-@HAVE_LIBCRYPTO_TRUE@am__append_18 = $(LIBCRYPTO_LDFLAGS) $(LIBCRYPTO_LIBS)
-@HAVE_LIBCRYPTO_TRUE@am__append_19 = $(LIBCRYPTO_LDFLAGS) $(LIBCRYPTO_LIBS)
-@HAVE_LIBCRYPTO_TRUE@am__append_20 = ipcipher.cc ipcipher.hh
-@HAVE_LMDB_TRUE@am__append_21 = $(LMDB_LDFLAGS) $(LMDB_LIBS)
-@HAVE_LMDB_TRUE@am__append_22 = $(LMDB_LDFLAGS) $(LMDB_LIBS)
-@HAVE_LMDB_TRUE@am__append_23 = ext/lmdb-safe/lmdb-safe.cc ext/lmdb-safe/lmdb-safe.hh
-@HAVE_LMDB_TRUE@am__append_24 = ext/lmdb-safe/lmdb-safe.cc ext/lmdb-safe/lmdb-safe.hh
-@HAVE_DNS_OVER_TLS_TRUE@@HAVE_GNUTLS_TRUE@am__append_25 = $(GNUTLS_LIBS)
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_GNUTLS_TRUE@am__append_26 = $(GNUTLS_LIBS)
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_LIBH2OEVLOOP_TRUE@am__append_27 = doh.cc
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_LIBH2OEVLOOP_TRUE@am__append_28 = $(LIBH2OEVLOOP_LIBS)
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__append_29 = dnsdist-nghttp2-in.cc \
+@HAVE_CDB_TRUE@am__append_14 = cdb.cc cdb.hh
+@HAVE_RE2_TRUE@am__append_15 = $(RE2_LIBS)
+@HAVE_RE2_TRUE@am__append_16 = $(RE2_LIBS)
+@HAVE_LIBSSL_TRUE@am__append_17 = $(LIBSSL_LIBS)
+@HAVE_LIBSSL_TRUE@am__append_18 = $(LIBSSL_LIBS)
+@HAVE_XSK_TRUE@am__append_19 = -lbpf -lxdp
+@HAVE_XSK_TRUE@am__append_20 = -lbpf -lxdp
+@HAVE_LIBCRYPTO_TRUE@am__append_21 = $(LIBCRYPTO_LDFLAGS) $(LIBCRYPTO_LIBS)
+@HAVE_LIBCRYPTO_TRUE@am__append_22 = $(LIBCRYPTO_LDFLAGS) $(LIBCRYPTO_LIBS)
+@HAVE_LIBCRYPTO_TRUE@am__append_23 = ipcipher.cc ipcipher.hh
+@HAVE_IPCRYPT2_TRUE@am__append_24 = ext/ipcrypt2/ipcrypt2.c ext/ipcrypt2/include/ipcrypt2.h ext/ipcrypt2/softaes/untrinsics.h
+@HAVE_IPCRYPT2_TRUE@am__append_25 = ext/ipcrypt2/ipcrypt2.c ext/ipcrypt2/include/ipcrypt2.h ext/ipcrypt2/softaes/untrinsics.h
+@HAVE_LMDB_TRUE@am__append_26 = $(LMDB_LDFLAGS) $(LMDB_LIBS)
+@HAVE_LMDB_TRUE@am__append_27 = $(LMDB_LDFLAGS) $(LMDB_LIBS)
+@HAVE_LMDB_TRUE@am__append_28 = ext/lmdb-safe/lmdb-safe.cc ext/lmdb-safe/lmdb-safe.hh
+@HAVE_LMDB_TRUE@am__append_29 = ext/lmdb-safe/lmdb-safe.cc ext/lmdb-safe/lmdb-safe.hh
+@HAVE_DNS_OVER_TLS_TRUE@@HAVE_GNUTLS_TRUE@am__append_30 = $(GNUTLS_LIBS)
+@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_GNUTLS_TRUE@am__append_31 = $(GNUTLS_LIBS)
+@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__append_32 = dnsdist-nghttp2-in.cc \
@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@ dnsdist-nghttp2.cc
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__append_30 = dnsdist-nghttp2-in.cc \
+@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__append_33 = dnsdist-nghttp2-in.cc \
@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@ dnsdist-nghttp2.cc \
@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@ test-dnsdistnghttp2-in_cc.cc \
@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@ test-dnsdistnghttp2_cc.cc
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__append_31 = $(NGHTTP2_LDFLAGS) $(NGHTTP2_LIBS)
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__append_32 = $(NGHTTP2_LDFLAGS) $(NGHTTP2_LIBS)
-@HAVE_DNS_OVER_QUIC_TRUE@am__append_33 = doq.cc
-@HAVE_DNS_OVER_HTTP3_TRUE@am__append_34 = doh3.cc
-@HAVE_QUICHE_TRUE@am__append_35 = $(QUICHE_CFLAGS)
-@HAVE_QUICHE_TRUE@am__append_36 = $(QUICHE_LDFLAGS) $(QUICHE_LIBS)
-@HAVE_QUICHE_TRUE@am__append_37 = doq-common.cc
-@HAVE_LUA_HPP_FALSE@am__append_38 = lua.hpp
-@HAVE_FREEBSD_TRUE@am__append_39 = kqueuemplexer.cc
-@HAVE_FREEBSD_TRUE@am__append_40 = kqueuemplexer.cc
-@HAVE_OPENBSD_TRUE@am__append_41 = kqueuemplexer.cc
-@HAVE_OPENBSD_TRUE@am__append_42 = kqueuemplexer.cc
-@HAVE_LINUX_TRUE@am__append_43 = epollmplexer.cc
-@HAVE_LINUX_TRUE@am__append_44 = epollmplexer.cc
-@HAVE_SOLARIS_TRUE@am__append_45 = \
+@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__append_34 = $(NGHTTP2_LDFLAGS) $(NGHTTP2_LIBS)
+@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__append_35 = $(NGHTTP2_LDFLAGS) $(NGHTTP2_LIBS)
+@HAVE_DNS_OVER_QUIC_TRUE@am__append_36 = doq.cc
+@HAVE_QUICHE_TRUE@am__append_37 = $(QUICHE_CFLAGS)
+@HAVE_QUICHE_TRUE@am__append_38 = $(QUICHE_LDFLAGS) $(QUICHE_LIBS)
+@HAVE_QUICHE_TRUE@am__append_39 = doq-common.cc
+@HAVE_QUICHE_TRUE@am__append_40 = doq-common.cc
+@HAVE_QUICHE_TRUE@am__append_41 = $(QUICHE_LDFLAGS) $(QUICHE_LIBS)
+@HAVE_YAML_CONFIGURATION_TRUE@am__append_42 = dnsdist-configuration-yaml-items-generated.cc
+@HAVE_YAML_CONFIGURATION_TRUE@am__append_43 = $(DNSDIST_RUST_LIBS)
+@HAVE_LUA_HPP_FALSE@am__append_44 = lua.hpp
+@HAVE_LUA_HPP_FALSE@am__append_45 = lua.hpp
+@HAVE_FREEBSD_TRUE@am__append_46 = kqueuemplexer.cc
+@HAVE_FREEBSD_TRUE@am__append_47 = kqueuemplexer.cc
+@HAVE_OPENBSD_TRUE@am__append_48 = kqueuemplexer.cc
+@HAVE_OPENBSD_TRUE@am__append_49 = kqueuemplexer.cc
+@HAVE_LINUX_TRUE@am__append_50 = epollmplexer.cc
+@HAVE_LINUX_TRUE@am__append_51 = epollmplexer.cc
+@HAVE_SOLARIS_TRUE@am__append_52 = \
@HAVE_SOLARIS_TRUE@ devpollmplexer.cc \
@HAVE_SOLARIS_TRUE@ portsmplexer.cc
-@HAVE_SOLARIS_TRUE@am__append_46 = \
+@HAVE_SOLARIS_TRUE@am__append_53 = \
@HAVE_SOLARIS_TRUE@ devpollmplexer.cc \
@HAVE_SOLARIS_TRUE@ portsmplexer.cc
-@FUZZ_TARGETS_TRUE@@HAVE_XSK_TRUE@am__append_47 = \
+@FUZZ_TARGETS_TRUE@@HAVE_XSK_TRUE@am__append_54 = \
@FUZZ_TARGETS_TRUE@@HAVE_XSK_TRUE@ fuzz_target_xsk
-@FUZZ_TARGETS_TRUE@am__append_48 = \
+@FUZZ_TARGETS_TRUE@am__append_55 = \
@FUZZ_TARGETS_TRUE@ $(fuzz_targets_programs)
-@HAVE_SYSTEMD_TRUE@am__append_49 = \
+@HAVE_SYSTEMD_TRUE@am__append_56 = \
@HAVE_SYSTEMD_TRUE@ dnsdist.service \
@HAVE_SYSTEMD_TRUE@ dnsdist@.service
@@ -164,6 +173,7 @@
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_pthread_set_name.m4 \
$(top_srcdir)/m4/ax_arg_default_enable_disable.m4 \
+ $(top_srcdir)/m4/ax_compare_version.m4 \
$(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
$(top_srcdir)/m4/ax_cxx_compile_stdcxx_17.m4 \
$(top_srcdir)/m4/ax_python_module.m4 $(top_srcdir)/m4/boost.m4 \
@@ -172,15 +182,16 @@
$(top_srcdir)/m4/dnsdist_enable_doh3.m4 \
$(top_srcdir)/m4/dnsdist_enable_doq.m4 \
$(top_srcdir)/m4/dnsdist_enable_tls_providers.m4 \
+ $(top_srcdir)/m4/dnsdist_enable_yaml.m4 \
$(top_srcdir)/m4/dnsdist_with_cdb.m4 \
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
$(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/m4/pdns_check_cargo.m4 \
$(top_srcdir)/m4/pdns_check_clock_gettime.m4 \
$(top_srcdir)/m4/pdns_check_dnstap.m4 \
$(top_srcdir)/m4/pdns_check_libcrypto.m4 \
$(top_srcdir)/m4/pdns_check_libedit.m4 \
- $(top_srcdir)/m4/pdns_check_libh2o_evloop.m4 \
$(top_srcdir)/m4/pdns_check_lmdb.m4 \
$(top_srcdir)/m4/pdns_check_lua_hpp.m4 \
$(top_srcdir)/m4/pdns_check_network_libs.m4 \
@@ -193,6 +204,7 @@
$(top_srcdir)/m4/pdns_enable_coverage.m4 \
$(top_srcdir)/m4/pdns_enable_fuzz_targets.m4 \
$(top_srcdir)/m4/pdns_enable_ipcipher.m4 \
+ $(top_srcdir)/m4/pdns_enable_ipcrypt2.m4 \
$(top_srcdir)/m4/pdns_enable_lto.m4 \
$(top_srcdir)/m4/pdns_enable_sanitizers.m4 \
$(top_srcdir)/m4/pdns_enable_tls.m4 \
@@ -237,100 +249,125 @@
channel.cc channel.hh circular_buffer.hh \
connection-management.hh coverage.cc coverage.hh \
credentials.cc credentials.hh dns.cc dns.hh dns_random.hh \
- dnscrypt.cc dnscrypt.hh dnsdist-async.cc dnsdist-async.hh \
- dnsdist-backend.cc dnsdist-backoff.hh dnsdist-cache.cc \
- dnsdist-cache.hh dnsdist-carbon.cc dnsdist-carbon.hh \
- dnsdist-concurrent-connections.hh dnsdist-console.cc \
- dnsdist-console.hh dnsdist-crypto.cc dnsdist-crypto.hh \
- dnsdist-discovery.cc dnsdist-discovery.hh dnsdist-dnscrypt.cc \
- dnsdist-dnsparser.cc dnsdist-dnsparser.hh \
- dnsdist-doh-common.cc dnsdist-doh-common.hh \
- dnsdist-downstream-connection.hh dnsdist-dynblocks.cc \
- dnsdist-dynblocks.hh dnsdist-dynbpf.cc dnsdist-dynbpf.hh \
- dnsdist-ecs.cc dnsdist-ecs.hh dnsdist-edns.cc dnsdist-edns.hh \
- dnsdist-healthchecks.cc dnsdist-healthchecks.hh \
- dnsdist-idstate.hh dnsdist-internal-queries.cc \
- dnsdist-internal-queries.hh dnsdist-kvs.hh dnsdist-kvs.cc \
- dnsdist-lbpolicies.cc dnsdist-lbpolicies.hh \
- dnsdist-lua-actions.cc dnsdist-lua-bindings-dnscrypt.cc \
+ dnscrypt.cc dnscrypt.hh dnsdist-actions-factory.cc \
+ dnsdist-actions-factory.hh dnsdist-actions.cc \
+ dnsdist-actions.hh dnsdist-async.cc dnsdist-async.hh \
+ dnsdist-backend.cc dnsdist-backend.hh dnsdist-backoff.hh \
+ dnsdist-cache.cc dnsdist-cache.hh dnsdist-carbon.cc \
+ dnsdist-carbon.hh dnsdist-concurrent-connections.cc \
+ dnsdist-concurrent-connections.hh \
+ dnsdist-configuration-yaml-internal.hh \
+ dnsdist-configuration-yaml.cc dnsdist-configuration-yaml.hh \
+ dnsdist-configuration.cc dnsdist-configuration.hh \
+ dnsdist-console-completion.cc dnsdist-console-completion.hh \
+ dnsdist-console.cc dnsdist-console.hh dnsdist-crypto.cc \
+ dnsdist-crypto.hh dnsdist-discovery.cc dnsdist-discovery.hh \
+ dnsdist-dnscrypt.cc dnsdist-dnsparser.cc dnsdist-dnsparser.hh \
+ dnsdist-dnsquestion.cc dnsdist-doh-common.cc \
+ dnsdist-doh-common.hh dnsdist-downstream-connection.hh \
+ dnsdist-dynblocks.cc dnsdist-dynblocks.hh dnsdist-dynbpf.cc \
+ dnsdist-dynbpf.hh dnsdist-ecs.cc dnsdist-ecs.hh \
+ dnsdist-edns.cc dnsdist-edns.hh dnsdist-frontend.cc \
+ dnsdist-frontend.hh dnsdist-healthchecks.cc \
+ dnsdist-healthchecks.hh dnsdist-idstate.cc dnsdist-idstate.hh \
+ dnsdist-internal-queries.cc dnsdist-internal-queries.hh \
+ dnsdist-ipcrypt2.cc dnsdist-ipcrypt2.hh dnsdist-kvs.hh \
+ dnsdist-kvs.cc dnsdist-lbpolicies.cc dnsdist-lbpolicies.hh \
+ dnsdist-logging.cc dnsdist-logging.hh dnsdist-lua-actions.cc \
+ dnsdist-lua-bindings-dnscrypt.cc \
dnsdist-lua-bindings-dnsparser.cc \
dnsdist-lua-bindings-dnsquestion.cc \
dnsdist-lua-bindings-kvs.cc dnsdist-lua-bindings-network.cc \
dnsdist-lua-bindings-packetcache.cc \
dnsdist-lua-bindings-protobuf.cc dnsdist-lua-bindings-rings.cc \
- dnsdist-lua-bindings.cc dnsdist-lua-ffi-interface.h \
- dnsdist-lua-ffi-interface.inc dnsdist-lua-ffi.cc \
- dnsdist-lua-ffi.hh dnsdist-lua-hooks.cc dnsdist-lua-hooks.hh \
- dnsdist-lua-inspection-ffi.cc dnsdist-lua-inspection-ffi.h \
- dnsdist-lua-inspection.cc dnsdist-lua-network.cc \
- dnsdist-lua-network.hh dnsdist-lua-rules.cc \
- dnsdist-lua-vars.cc dnsdist-lua-web.cc dnsdist-lua.cc \
- dnsdist-lua.hh dnsdist-mac-address.cc dnsdist-mac-address.hh \
- dnsdist-metrics.cc dnsdist-metrics.hh dnsdist-nghttp2-in.hh \
- dnsdist-nghttp2.hh dnsdist-prometheus.hh dnsdist-protobuf.cc \
- dnsdist-protobuf.hh dnsdist-protocols.cc dnsdist-protocols.hh \
+ dnsdist-lua-bindings.cc dnsdist-lua-configuration-items.cc \
+ dnsdist-lua-ffi-interface.h dnsdist-lua-ffi-interface.inc \
+ dnsdist-lua-ffi.cc dnsdist-lua-ffi.hh dnsdist-lua-hooks.cc \
+ dnsdist-lua-hooks.hh dnsdist-lua-inspection-ffi.cc \
+ dnsdist-lua-inspection-ffi.h dnsdist-lua-inspection.cc \
+ dnsdist-lua-network.cc dnsdist-lua-network.hh \
+ dnsdist-lua-rules.cc dnsdist-lua-vars.cc dnsdist-lua-web.cc \
+ dnsdist-lua.cc dnsdist-lua.hh dnsdist-mac-address.cc \
+ dnsdist-mac-address.hh dnsdist-metrics.cc dnsdist-metrics.hh \
+ dnsdist-nghttp2-in.hh dnsdist-nghttp2.hh \
+ dnsdist-opentelemetry.cc dnsdist-opentelemetry.hh \
+ dnsdist-prometheus.hh dnsdist-protobuf.cc dnsdist-protobuf.hh \
+ dnsdist-protocols.cc dnsdist-protocols.hh \
dnsdist-proxy-protocol.cc dnsdist-proxy-protocol.hh \
+ dnsdist-query-count.hh dnsdist-query-count.cc \
dnsdist-random.cc dnsdist-random.hh dnsdist-resolver.cc \
dnsdist-resolver.hh dnsdist-rings.cc dnsdist-rings.hh \
- dnsdist-rules.cc dnsdist-rules.hh dnsdist-secpoll.cc \
- dnsdist-secpoll.hh dnsdist-session-cache.cc \
- dnsdist-session-cache.hh dnsdist-snmp.cc dnsdist-snmp.hh \
- dnsdist-svc.cc dnsdist-svc.hh dnsdist-systemd.cc \
- dnsdist-systemd.hh dnsdist-tcp-downstream.cc \
- dnsdist-tcp-downstream.hh dnsdist-tcp-upstream.hh \
- dnsdist-tcp.cc dnsdist-tcp.hh dnsdist-web.cc dnsdist-web.hh \
- dnsdist-xpf.cc dnsdist-xpf.hh dnsdist-xsk.cc dnsdist-xsk.hh \
- dnsdist.cc dnsdist.hh dnslabeltext.cc dnsname.cc dnsname.hh \
- dnsparser.hh dnsparser.cc dnstap.cc dnstap.hh dnswriter.cc \
- dnswriter.hh doh.hh doh3.hh dolog.cc dolog.hh doq-common.hh \
- doq.hh ednscookies.cc ednscookies.hh ednsextendederror.cc \
+ dnsdist-rule-chains.cc dnsdist-rule-chains.hh \
+ dnsdist-rules-factory.hh dnsdist-rules.cc dnsdist-rules.hh \
+ dnsdist-secpoll.cc dnsdist-secpoll.hh dnsdist-self-answers.cc \
+ dnsdist-self-answers.hh dnsdist-server-pool.hh \
+ dnsdist-session-cache.cc dnsdist-session-cache.hh \
+ dnsdist-snmp.cc dnsdist-snmp.hh dnsdist-svc.cc dnsdist-svc.hh \
+ dnsdist-systemd.cc dnsdist-systemd.hh \
+ dnsdist-tcp-downstream.cc dnsdist-tcp-downstream.hh \
+ dnsdist-tcp-upstream.hh dnsdist-tcp.cc dnsdist-tcp.hh \
+ dnsdist-udp.cc dnsdist-udp.hh dnsdist-web.cc dnsdist-web.hh \
+ dnsdist-xsk.cc dnsdist-xsk.hh dnsdist.cc dnsdist.hh \
+ dnslabeltext.cc dnsname.cc dnsname.hh dnsparser.hh \
+ dnsparser.cc dnstap.cc dnstap.hh dnswriter.cc dnswriter.hh \
+ doh3.cc doh3.hh dolog.cc dolog.hh doq-common.hh doq.hh \
+ ednscookies.cc ednscookies.hh ednsextendederror.cc \
ednsextendederror.hh ednsoptions.cc ednsoptions.hh \
ednssubnet.cc ednssubnet.hh ext/json11/json11.cpp \
ext/json11/json11.hpp ext/libbpf/libbpf.h \
ext/luawrapper/include/LuaContext.hpp fstrm_logger.cc \
fstrm_logger.hh gettime.cc gettime.hh htmlfiles.h iputils.cc \
- iputils.hh libssl.cc libssl.hh lock.hh logging.hh misc.cc \
- misc.hh mplexer.hh namespaces.hh noinitvector.hh \
- packetcache.hh pdnsexception.hh pollmplexer.cc protozero.cc \
+ iputils.hh libssl.cc libssl.hh lock.hh logging.cc logging.hh \
+ misc.cc misc.hh mplexer.hh namespaces.hh noinitvector.hh \
+ packetcache.hh pdnsexception.hh pollmplexer.cc \
+ protozero-trace.cc protozero-trace.hh protozero.cc \
protozero.hh proxy-protocol.cc proxy-protocol.hh qtype.cc \
- qtype.hh remote_logger.cc remote_logger.hh sholder.hh \
- snmp-agent.cc snmp-agent.hh sstuff.hh stat_t.hh statnode.cc \
- statnode.hh svc-records.cc svc-records.hh \
+ qtype.hh remote_logger.cc remote_logger.hh \
+ remote_logger_pool.cc remote_logger_pool.hh sanitizer.hh \
+ sholder.hh snmp-agent.cc snmp-agent.hh sstuff.hh stat_t.hh \
+ statnode.cc statnode.hh svc-records.cc svc-records.hh \
tcpiohandler-mplexer.hh tcpiohandler.cc tcpiohandler.hh \
threadname.hh threadname.cc uuid-utils.hh uuid-utils.cc \
- views.hh xpf.cc xpf.hh xsk.cc xsk.hh cdb.cc cdb.hh ipcipher.cc \
- ipcipher.hh ext/lmdb-safe/lmdb-safe.cc \
- ext/lmdb-safe/lmdb-safe.hh doh.cc dnsdist-nghttp2-in.cc \
- dnsdist-nghttp2.cc doq.cc doh3.cc doq-common.cc \
- kqueuemplexer.cc epollmplexer.cc devpollmplexer.cc \
- portsmplexer.cc
+ views.hh xsk.cc xsk.hh cdb.cc cdb.hh ipcipher.cc ipcipher.hh \
+ ext/ipcrypt2/ipcrypt2.c ext/ipcrypt2/include/ipcrypt2.h \
+ ext/ipcrypt2/softaes/untrinsics.h ext/lmdb-safe/lmdb-safe.cc \
+ ext/lmdb-safe/lmdb-safe.hh dnsdist-nghttp2-in.cc \
+ dnsdist-nghttp2.cc doq.cc doq-common.cc kqueuemplexer.cc \
+ epollmplexer.cc devpollmplexer.cc portsmplexer.cc
am__dirstamp = $(am__leading_dot)dirstamp
@HAVE_CDB_TRUE@am__objects_1 = cdb.$(OBJEXT)
@HAVE_LIBCRYPTO_TRUE@am__objects_2 = ipcipher.$(OBJEXT)
-@HAVE_LMDB_TRUE@am__objects_3 = ext/lmdb-safe/lmdb-safe.$(OBJEXT)
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_LIBH2OEVLOOP_TRUE@am__objects_4 = doh.$(OBJEXT)
+@HAVE_IPCRYPT2_TRUE@am__objects_3 = ext/ipcrypt2/ipcrypt2.$(OBJEXT)
+@HAVE_LMDB_TRUE@am__objects_4 = ext/lmdb-safe/lmdb-safe.$(OBJEXT)
@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__objects_5 = dnsdist-nghttp2-in.$(OBJEXT) \
@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@ dnsdist-nghttp2.$(OBJEXT)
@HAVE_DNS_OVER_QUIC_TRUE@am__objects_6 = doq.$(OBJEXT)
-@HAVE_DNS_OVER_HTTP3_TRUE@am__objects_7 = doh3.$(OBJEXT)
-@HAVE_QUICHE_TRUE@am__objects_8 = doq-common.$(OBJEXT)
-@HAVE_FREEBSD_TRUE@am__objects_9 = kqueuemplexer.$(OBJEXT)
-@HAVE_OPENBSD_TRUE@am__objects_10 = kqueuemplexer.$(OBJEXT)
-@HAVE_LINUX_TRUE@am__objects_11 = epollmplexer.$(OBJEXT)
-@HAVE_SOLARIS_TRUE@am__objects_12 = devpollmplexer.$(OBJEXT) \
+@HAVE_QUICHE_TRUE@am__objects_7 = doq-common.$(OBJEXT)
+@HAVE_FREEBSD_TRUE@am__objects_8 = kqueuemplexer.$(OBJEXT)
+@HAVE_OPENBSD_TRUE@am__objects_9 = kqueuemplexer.$(OBJEXT)
+@HAVE_LINUX_TRUE@am__objects_10 = epollmplexer.$(OBJEXT)
+@HAVE_SOLARIS_TRUE@am__objects_11 = devpollmplexer.$(OBJEXT) \
@HAVE_SOLARIS_TRUE@ portsmplexer.$(OBJEXT)
am_dnsdist_OBJECTS = bpf-filter.$(OBJEXT) capabilities.$(OBJEXT) \
channel.$(OBJEXT) coverage.$(OBJEXT) credentials.$(OBJEXT) \
- dns.$(OBJEXT) dnscrypt.$(OBJEXT) dnsdist-async.$(OBJEXT) \
- dnsdist-backend.$(OBJEXT) dnsdist-cache.$(OBJEXT) \
- dnsdist-carbon.$(OBJEXT) dnsdist-console.$(OBJEXT) \
+ dns.$(OBJEXT) dnscrypt.$(OBJEXT) \
+ dnsdist-actions-factory.$(OBJEXT) dnsdist-actions.$(OBJEXT) \
+ dnsdist-async.$(OBJEXT) dnsdist-backend.$(OBJEXT) \
+ dnsdist-cache.$(OBJEXT) dnsdist-carbon.$(OBJEXT) \
+ dnsdist-concurrent-connections.$(OBJEXT) \
+ dnsdist-configuration-yaml.$(OBJEXT) \
+ dnsdist-configuration.$(OBJEXT) \
+ dnsdist-console-completion.$(OBJEXT) dnsdist-console.$(OBJEXT) \
dnsdist-crypto.$(OBJEXT) dnsdist-discovery.$(OBJEXT) \
dnsdist-dnscrypt.$(OBJEXT) dnsdist-dnsparser.$(OBJEXT) \
- dnsdist-doh-common.$(OBJEXT) dnsdist-dynblocks.$(OBJEXT) \
- dnsdist-dynbpf.$(OBJEXT) dnsdist-ecs.$(OBJEXT) \
- dnsdist-edns.$(OBJEXT) dnsdist-healthchecks.$(OBJEXT) \
- dnsdist-internal-queries.$(OBJEXT) dnsdist-kvs.$(OBJEXT) \
- dnsdist-lbpolicies.$(OBJEXT) dnsdist-lua-actions.$(OBJEXT) \
+ dnsdist-dnsquestion.$(OBJEXT) dnsdist-doh-common.$(OBJEXT) \
+ dnsdist-dynblocks.$(OBJEXT) dnsdist-dynbpf.$(OBJEXT) \
+ dnsdist-ecs.$(OBJEXT) dnsdist-edns.$(OBJEXT) \
+ dnsdist-frontend.$(OBJEXT) dnsdist-healthchecks.$(OBJEXT) \
+ dnsdist-idstate.$(OBJEXT) dnsdist-internal-queries.$(OBJEXT) \
+ dnsdist-ipcrypt2.$(OBJEXT) dnsdist-kvs.$(OBJEXT) \
+ dnsdist-lbpolicies.$(OBJEXT) dnsdist-logging.$(OBJEXT) \
+ dnsdist-lua-actions.$(OBJEXT) \
dnsdist-lua-bindings-dnscrypt.$(OBJEXT) \
dnsdist-lua-bindings-dnsparser.$(OBJEXT) \
dnsdist-lua-bindings-dnsquestion.$(OBJEXT) \
@@ -339,38 +376,45 @@
dnsdist-lua-bindings-packetcache.$(OBJEXT) \
dnsdist-lua-bindings-protobuf.$(OBJEXT) \
dnsdist-lua-bindings-rings.$(OBJEXT) \
- dnsdist-lua-bindings.$(OBJEXT) dnsdist-lua-ffi.$(OBJEXT) \
- dnsdist-lua-hooks.$(OBJEXT) \
+ dnsdist-lua-bindings.$(OBJEXT) \
+ dnsdist-lua-configuration-items.$(OBJEXT) \
+ dnsdist-lua-ffi.$(OBJEXT) dnsdist-lua-hooks.$(OBJEXT) \
dnsdist-lua-inspection-ffi.$(OBJEXT) \
dnsdist-lua-inspection.$(OBJEXT) dnsdist-lua-network.$(OBJEXT) \
dnsdist-lua-rules.$(OBJEXT) dnsdist-lua-vars.$(OBJEXT) \
dnsdist-lua-web.$(OBJEXT) dnsdist-lua.$(OBJEXT) \
dnsdist-mac-address.$(OBJEXT) dnsdist-metrics.$(OBJEXT) \
- dnsdist-protobuf.$(OBJEXT) dnsdist-protocols.$(OBJEXT) \
- dnsdist-proxy-protocol.$(OBJEXT) dnsdist-random.$(OBJEXT) \
+ dnsdist-opentelemetry.$(OBJEXT) dnsdist-protobuf.$(OBJEXT) \
+ dnsdist-protocols.$(OBJEXT) dnsdist-proxy-protocol.$(OBJEXT) \
+ dnsdist-query-count.$(OBJEXT) dnsdist-random.$(OBJEXT) \
dnsdist-resolver.$(OBJEXT) dnsdist-rings.$(OBJEXT) \
- dnsdist-rules.$(OBJEXT) dnsdist-secpoll.$(OBJEXT) \
+ dnsdist-rule-chains.$(OBJEXT) dnsdist-rules.$(OBJEXT) \
+ dnsdist-secpoll.$(OBJEXT) dnsdist-self-answers.$(OBJEXT) \
dnsdist-session-cache.$(OBJEXT) dnsdist-snmp.$(OBJEXT) \
dnsdist-svc.$(OBJEXT) dnsdist-systemd.$(OBJEXT) \
dnsdist-tcp-downstream.$(OBJEXT) dnsdist-tcp.$(OBJEXT) \
- dnsdist-web.$(OBJEXT) dnsdist-xpf.$(OBJEXT) \
+ dnsdist-udp.$(OBJEXT) dnsdist-web.$(OBJEXT) \
dnsdist-xsk.$(OBJEXT) dnsdist.$(OBJEXT) dnslabeltext.$(OBJEXT) \
dnsname.$(OBJEXT) dnsparser.$(OBJEXT) dnstap.$(OBJEXT) \
- dnswriter.$(OBJEXT) dolog.$(OBJEXT) ednscookies.$(OBJEXT) \
- ednsextendederror.$(OBJEXT) ednsoptions.$(OBJEXT) \
- ednssubnet.$(OBJEXT) ext/json11/json11.$(OBJEXT) \
- fstrm_logger.$(OBJEXT) gettime.$(OBJEXT) iputils.$(OBJEXT) \
- libssl.$(OBJEXT) misc.$(OBJEXT) pollmplexer.$(OBJEXT) \
- protozero.$(OBJEXT) proxy-protocol.$(OBJEXT) qtype.$(OBJEXT) \
- remote_logger.$(OBJEXT) snmp-agent.$(OBJEXT) \
- statnode.$(OBJEXT) svc-records.$(OBJEXT) \
+ dnswriter.$(OBJEXT) doh3.$(OBJEXT) dolog.$(OBJEXT) \
+ ednscookies.$(OBJEXT) ednsextendederror.$(OBJEXT) \
+ ednsoptions.$(OBJEXT) ednssubnet.$(OBJEXT) \
+ ext/json11/json11.$(OBJEXT) fstrm_logger.$(OBJEXT) \
+ gettime.$(OBJEXT) iputils.$(OBJEXT) libssl.$(OBJEXT) \
+ logging.$(OBJEXT) misc.$(OBJEXT) pollmplexer.$(OBJEXT) \
+ protozero-trace.$(OBJEXT) protozero.$(OBJEXT) \
+ proxy-protocol.$(OBJEXT) qtype.$(OBJEXT) \
+ remote_logger.$(OBJEXT) remote_logger_pool.$(OBJEXT) \
+ snmp-agent.$(OBJEXT) statnode.$(OBJEXT) svc-records.$(OBJEXT) \
tcpiohandler.$(OBJEXT) threadname.$(OBJEXT) \
- uuid-utils.$(OBJEXT) xpf.$(OBJEXT) xsk.$(OBJEXT) \
- $(am__objects_1) $(am__objects_2) $(am__objects_3) \
- $(am__objects_4) $(am__objects_5) $(am__objects_6) \
- $(am__objects_7) $(am__objects_8) $(am__objects_9) \
- $(am__objects_10) $(am__objects_11) $(am__objects_12)
-nodist_dnsdist_OBJECTS =
+ uuid-utils.$(OBJEXT) xsk.$(OBJEXT) $(am__objects_1) \
+ $(am__objects_2) $(am__objects_3) $(am__objects_4) \
+ $(am__objects_5) $(am__objects_6) $(am__objects_7) \
+ $(am__objects_8) $(am__objects_9) $(am__objects_10) \
+ $(am__objects_11)
+@HAVE_YAML_CONFIGURATION_TRUE@am__objects_12 = dnsdist-configuration-yaml-items-generated.$(OBJEXT)
+am__objects_13 =
+nodist_dnsdist_OBJECTS = $(am__objects_12) $(am__objects_13)
dnsdist_OBJECTS = $(am_dnsdist_OBJECTS) $(nodist_dnsdist_OBJECTS)
am__DEPENDENCIES_1 =
@HAVE_CDB_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
@@ -381,9 +425,13 @@
@HAVE_LMDB_TRUE@am__DEPENDENCIES_6 = $(am__DEPENDENCIES_1)
@HAVE_DNS_OVER_TLS_TRUE@@HAVE_GNUTLS_TRUE@am__DEPENDENCIES_7 = $(am__DEPENDENCIES_1)
@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_GNUTLS_TRUE@am__DEPENDENCIES_8 = $(am__DEPENDENCIES_1)
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_LIBH2OEVLOOP_TRUE@am__DEPENDENCIES_9 = $(am__DEPENDENCIES_1)
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__DEPENDENCIES_10 = $(am__DEPENDENCIES_1)
-@HAVE_QUICHE_TRUE@am__DEPENDENCIES_11 = $(am__DEPENDENCIES_1)
+@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__DEPENDENCIES_9 = $(am__DEPENDENCIES_1)
+@HAVE_QUICHE_TRUE@am__DEPENDENCIES_10 = $(am__DEPENDENCIES_1)
+am__DEPENDENCIES_11 = \
+ $(top_builddir)/dnsdist-rust-lib/rust/libdnsdist_rust.a \
+ $(am__DEPENDENCIES_1)
+@HAVE_YAML_CONFIGURATION_TRUE@am__DEPENDENCIES_12 = \
+@HAVE_YAML_CONFIGURATION_TRUE@ $(am__DEPENDENCIES_11)
dnsdist_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
@@ -394,7 +442,7 @@
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_5) \
$(am__DEPENDENCIES_6) $(am__DEPENDENCIES_7) \
$(am__DEPENDENCIES_8) $(am__DEPENDENCIES_9) \
- $(am__DEPENDENCIES_10) $(am__DEPENDENCIES_11)
+ $(am__DEPENDENCIES_10) $(am__DEPENDENCIES_12)
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
@@ -403,29 +451,48 @@
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
$(CXXFLAGS) $(dnsdist_LDFLAGS) $(LDFLAGS) -o $@
am__fuzz_target_dnsdistcache_SOURCES_DIST = channel.hh channel.cc \
- dns.cc dns.hh dnsdist-cache.cc dnsdist-cache.hh \
- dnsdist-dnsparser.cc dnsdist-dnsparser.hh dnsdist-ecs.cc \
- dnsdist-ecs.hh dnsdist-idstate.hh dnsdist-protocols.cc \
+ dns.cc dns.hh dnscrypt.cc dnscrypt.hh dnsdist-cache.cc \
+ dnsdist-cache.hh dnsdist-configuration.cc \
+ dnsdist-configuration.hh dnsdist-crypto.cc dnsdist-crypto.hh \
+ dnsdist-dnsparser.cc dnsdist-dnsparser.hh \
+ dnsdist-dnsquestion.cc dnsdist-ecs.cc dnsdist-ecs.hh \
+ dnsdist-idstate.cc dnsdist-idstate.hh dnsdist-logging.cc \
+ dnsdist-logging.hh dnsdist-opentelemetry.cc \
+ dnsdist-opentelemetry.hh dnsdist-protocols.cc \
dnsdist-protocols.hh dnslabeltext.cc dnsname.cc dnsname.hh \
- dnsparser.cc dnsparser.hh dnswriter.cc dnswriter.hh doh.hh \
- ednsoptions.cc ednsoptions.hh ednssubnet.cc ednssubnet.hh \
- fuzz_dnsdistcache.cc iputils.cc iputils.hh misc.cc misc.hh \
- packetcache.hh qtype.cc qtype.hh svc-records.cc svc-records.hh
+ dnsparser.cc dnsparser.hh dnswriter.cc dnswriter.hh dolog.cc \
+ dolog.hh ednsoptions.cc ednsoptions.hh ednssubnet.cc \
+ ednssubnet.hh ext/json11/json11.cpp ext/json11/json11.hpp \
+ fuzz_dnsdistcache.cc gettime.cc gettime.hh iputils.cc \
+ iputils.hh logging.cc logging.hh misc.cc misc.hh \
+ packetcache.hh protozero-trace.cc protozero-trace.hh qtype.cc \
+ qtype.hh svc-records.cc svc-records.hh
@FUZZ_TARGETS_TRUE@am_fuzz_target_dnsdistcache_OBJECTS = \
@FUZZ_TARGETS_TRUE@ channel.$(OBJEXT) dns.$(OBJEXT) \
-@FUZZ_TARGETS_TRUE@ dnsdist-cache.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ dnscrypt.$(OBJEXT) dnsdist-cache.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ dnsdist-configuration.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ dnsdist-crypto.$(OBJEXT) \
@FUZZ_TARGETS_TRUE@ dnsdist-dnsparser.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ dnsdist-dnsquestion.$(OBJEXT) \
@FUZZ_TARGETS_TRUE@ dnsdist-ecs.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ dnsdist-idstate.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ dnsdist-logging.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ dnsdist-opentelemetry.$(OBJEXT) \
@FUZZ_TARGETS_TRUE@ dnsdist-protocols.$(OBJEXT) \
@FUZZ_TARGETS_TRUE@ dnslabeltext.$(OBJEXT) dnsname.$(OBJEXT) \
@FUZZ_TARGETS_TRUE@ dnsparser.$(OBJEXT) dnswriter.$(OBJEXT) \
-@FUZZ_TARGETS_TRUE@ ednsoptions.$(OBJEXT) ednssubnet.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ dolog.$(OBJEXT) ednsoptions.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ ednssubnet.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ ext/json11/json11.$(OBJEXT) \
@FUZZ_TARGETS_TRUE@ fuzz_dnsdistcache.$(OBJEXT) \
-@FUZZ_TARGETS_TRUE@ iputils.$(OBJEXT) misc.$(OBJEXT) \
-@FUZZ_TARGETS_TRUE@ qtype.$(OBJEXT) svc-records.$(OBJEXT)
+@FUZZ_TARGETS_TRUE@ gettime.$(OBJEXT) iputils.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ logging.$(OBJEXT) misc.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ protozero-trace.$(OBJEXT) qtype.$(OBJEXT) \
+@FUZZ_TARGETS_TRUE@ svc-records.$(OBJEXT)
fuzz_target_dnsdistcache_OBJECTS = \
$(am_fuzz_target_dnsdistcache_OBJECTS)
-@FUZZ_TARGETS_TRUE@am__DEPENDENCIES_12 = $(am__DEPENDENCIES_1) \
+@FUZZ_TARGETS_TRUE@am__DEPENDENCIES_13 = $(am__DEPENDENCIES_1) \
+@FUZZ_TARGETS_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
@FUZZ_TARGETS_TRUE@ $(am__DEPENDENCIES_1)
fuzz_target_dnsdistcache_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
@@ -449,99 +516,131 @@
am__testrunner_SOURCES_DIST = base64.hh bpf-filter.cc bpf-filter.hh \
cachecleaner.hh channel.cc channel.hh circular_buffer.hh \
connection-management.hh credentials.cc credentials.hh dns.cc \
- dns.hh dnscrypt.cc dnscrypt.hh dnsdist-async.cc \
- dnsdist-async.hh dnsdist-backend.cc dnsdist-backoff.hh \
+ dns.hh dnscrypt.cc dnscrypt.hh dnsdist-actions.cc \
+ dnsdist-actions.hh dnsdist-async.cc dnsdist-async.hh \
+ dnsdist-backend.cc dnsdist-backend.hh dnsdist-backoff.hh \
dnsdist-cache.cc dnsdist-cache.hh \
- dnsdist-concurrent-connections.hh dnsdist-crypto.cc \
- dnsdist-crypto.hh dnsdist-dnsparser.cc dnsdist-dnsparser.hh \
- dnsdist-doh-common.cc dnsdist-doh-common.hh \
- dnsdist-downstream-connection.hh dnsdist-dynblocks.cc \
- dnsdist-dynblocks.hh dnsdist-dynbpf.cc dnsdist-dynbpf.hh \
- dnsdist-ecs.cc dnsdist-ecs.hh dnsdist-edns.cc dnsdist-edns.hh \
- dnsdist-idstate.hh dnsdist-kvs.cc dnsdist-kvs.hh \
- dnsdist-lbpolicies.cc dnsdist-lbpolicies.hh \
+ dnsdist-concurrent-connections.cc \
+ dnsdist-concurrent-connections.hh dnsdist-configuration.cc \
+ dnsdist-configuration.hh dnsdist-crypto.cc dnsdist-crypto.hh \
+ dnsdist-dnsparser.cc dnsdist-dnsparser.hh \
+ dnsdist-dnsquestion.cc dnsdist-doh-common.cc \
+ dnsdist-doh-common.hh dnsdist-downstream-connection.hh \
+ dnsdist-dynblocks.cc dnsdist-dynblocks.hh dnsdist-dynbpf.cc \
+ dnsdist-dynbpf.hh dnsdist-ecs.cc dnsdist-ecs.hh \
+ dnsdist-edns.cc dnsdist-edns.hh dnsdist-frontend.cc \
+ dnsdist-frontend.hh dnsdist-idstate.cc dnsdist-idstate.hh \
+ dnsdist-ipcrypt2.cc dnsdist-ipcrypt2.hh dnsdist-kvs.cc \
+ dnsdist-kvs.hh dnsdist-lbpolicies.cc dnsdist-lbpolicies.hh \
+ dnsdist-logging.cc dnsdist-logging.hh \
dnsdist-lua-bindings-dnsquestion.cc \
dnsdist-lua-bindings-kvs.cc dnsdist-lua-bindings.cc \
dnsdist-lua-ffi-interface.h dnsdist-lua-ffi-interface.inc \
- dnsdist-lua-ffi.cc dnsdist-lua-ffi.hh dnsdist-lua-network.cc \
- dnsdist-lua-network.hh dnsdist-lua-vars.cc \
- dnsdist-mac-address.cc dnsdist-mac-address.hh \
- dnsdist-metrics.cc dnsdist-metrics.hh dnsdist-nghttp2-in.hh \
- dnsdist-nghttp2.hh dnsdist-protocols.cc dnsdist-protocols.hh \
+ dnsdist-lua-ffi.cc dnsdist-lua-ffi.hh \
+ dnsdist-lua-inspection-ffi.cc dnsdist-lua-inspection-ffi.h \
+ dnsdist-lua-network.cc dnsdist-lua-network.hh \
+ dnsdist-lua-vars.cc dnsdist-mac-address.cc \
+ dnsdist-mac-address.hh dnsdist-metrics.cc dnsdist-metrics.hh \
+ dnsdist-nghttp2-in.hh dnsdist-nghttp2.hh \
+ dnsdist-opentelemetry.cc dnsdist-opentelemetry.hh \
+ dnsdist-protocols.cc dnsdist-protocols.hh \
dnsdist-proxy-protocol.cc dnsdist-proxy-protocol.hh \
dnsdist-random.cc dnsdist-random.hh dnsdist-resolver.cc \
dnsdist-resolver.hh dnsdist-rings.cc dnsdist-rings.hh \
- dnsdist-rules.cc dnsdist-rules.hh dnsdist-session-cache.cc \
- dnsdist-session-cache.hh dnsdist-svc.cc dnsdist-svc.hh \
- dnsdist-tcp-downstream.cc dnsdist-tcp.cc dnsdist-tcp.hh \
- dnsdist-xpf.cc dnsdist-xpf.hh dnsdist-xsk.cc dnsdist-xsk.hh \
- dnsdist.hh dnslabeltext.cc dnsname.cc dnsname.hh dnsparser.hh \
- dnsparser.cc dnswriter.cc dnswriter.hh dolog.cc dolog.hh \
- ednscookies.cc ednscookies.hh ednsextendederror.cc \
- ednsextendederror.hh ednsoptions.cc ednsoptions.hh \
- ednssubnet.cc ednssubnet.hh \
+ dnsdist-rule-chains.cc dnsdist-rule-chains.hh \
+ dnsdist-rules-factory.hh dnsdist-rules.cc dnsdist-rules.hh \
+ dnsdist-self-answers.cc dnsdist-self-answers.hh \
+ dnsdist-session-cache.cc dnsdist-session-cache.hh \
+ dnsdist-svc.cc dnsdist-svc.hh dnsdist-tcp-downstream.cc \
+ dnsdist-tcp.cc dnsdist-tcp.hh dnsdist-udp.cc dnsdist-udp.hh \
+ dnsdist-xsk.cc dnsdist-xsk.hh dnsdist.hh dnslabeltext.cc \
+ dnsname.cc dnsname.hh dnsparser.hh dnsparser.cc dnswriter.cc \
+ dnswriter.hh doh3.cc doh3.hh dolog.cc dolog.hh ednscookies.cc \
+ ednscookies.hh ednsextendederror.cc ednsextendederror.hh \
+ ednsoptions.cc ednsoptions.hh ednssubnet.cc ednssubnet.hh \
+ ext/json11/json11.cpp ext/json11/json11.hpp \
ext/luawrapper/include/LuaContext.hpp gettime.cc gettime.hh \
- iputils.cc iputils.hh misc.cc misc.hh namespaces.hh \
- noinitvector.hh pdnsexception.hh pollmplexer.cc \
- proxy-protocol.cc proxy-protocol.hh qtype.cc qtype.hh \
- sholder.hh sstuff.hh stat_t.hh statnode.cc statnode.hh \
- svc-records.cc svc-records.hh test-base64_cc.cc \
+ iputils.cc iputils.hh logging.cc logging.hh misc.cc misc.hh \
+ namespaces.hh noinitvector.hh pdnsexception.hh pollmplexer.cc \
+ protozero-trace.cc protozero-trace.hh protozero.cc \
+ protozero.hh proxy-protocol.cc proxy-protocol.hh qtype.cc \
+ qtype.hh sholder.hh sstuff.hh stat_t.hh statnode.cc \
+ statnode.hh svc-records.cc svc-records.hh test-base64_cc.cc \
test-channel.cc test-connectionmanagement_hh.cc \
- test-credentials_cc.cc test-delaypipe_hh.cc \
- test-dnscrypt_cc.cc test-dnsdist-connections-cache.cc \
- test-dnsdist-dnsparser.cc test-dnsdist-lua-ffi.cc \
- test-dnsdist_cc.cc test-dnsdistasync.cc \
+ test-credentials_cc.cc test-delaypipe_hh.cc test-dns_cc.cc \
+ test-dnscrypt_cc.cc test-dnsdist-concurrent-connections.cc \
+ test-dnsdist-connections-cache.cc test-dnsdist-dnsparser.cc \
+ test-dnsdist-ipcrypt2_cc.cc test-dnsdist-lua-ffi.cc \
+ test-dnsdist-opentelemetry_cc.cc test-dnsdist-session-cache.cc \
+ test-dnsdist-xsk.cc test-dnsdist_cc.cc test-dnsdistasync.cc \
test-dnsdistbackend_cc.cc test-dnsdistbackoff.cc \
test-dnsdistdynblocks_hh.cc test-dnsdistedns.cc \
test-dnsdistkvs_cc.cc test-dnsdistlbpolicies_cc.cc \
test-dnsdistluanetwork.cc test-dnsdistnghttp2_common.hh \
test-dnsdistpacketcache_cc.cc test-dnsdistrings_cc.cc \
- test-dnsdistrules_cc.cc test-dnsdistsvc_cc.cc \
- test-dnsdisttcp_cc.cc test-dnsparser_cc.cc test-iputils_hh.cc \
- test-luawrapper.cc test-mplexer.cc test-proxy_protocol_cc.cc \
+ test-dnsdistrules_cc.cc test-dnsdistserverpool.cc \
+ test-dnsdistsvc_cc.cc test-dnsdisttcp_cc.cc \
+ test-dnsparser_cc.cc test-iputils_hh.cc test-luawrapper.cc \
+ test-mplexer.cc test-proxy_protocol_cc.cc test-sholder_hh.cc \
testrunner.cc threadname.hh threadname.cc uuid-utils.hh \
- uuid-utils.cc xpf.cc xpf.hh xsk.cc xsk.hh cdb.cc cdb.hh \
- ext/lmdb-safe/lmdb-safe.cc ext/lmdb-safe/lmdb-safe.hh \
- dnsdist-nghttp2-in.cc dnsdist-nghttp2.cc \
- test-dnsdistnghttp2-in_cc.cc test-dnsdistnghttp2_cc.cc \
- kqueuemplexer.cc epollmplexer.cc devpollmplexer.cc \
- portsmplexer.cc
-@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__objects_13 = dnsdist-nghttp2-in.$(OBJEXT) \
+ uuid-utils.cc xsk.cc xsk.hh cdb.cc cdb.hh \
+ ext/ipcrypt2/ipcrypt2.c ext/ipcrypt2/include/ipcrypt2.h \
+ ext/ipcrypt2/softaes/untrinsics.h ext/lmdb-safe/lmdb-safe.cc \
+ ext/lmdb-safe/lmdb-safe.hh dnsdist-nghttp2-in.cc \
+ dnsdist-nghttp2.cc test-dnsdistnghttp2-in_cc.cc \
+ test-dnsdistnghttp2_cc.cc doq-common.cc kqueuemplexer.cc \
+ epollmplexer.cc devpollmplexer.cc portsmplexer.cc
+@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@am__objects_14 = dnsdist-nghttp2-in.$(OBJEXT) \
@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@ dnsdist-nghttp2.$(OBJEXT) \
@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@ test-dnsdistnghttp2-in_cc.$(OBJEXT) \
@HAVE_DNS_OVER_HTTPS_TRUE@@HAVE_NGHTTP2_TRUE@ test-dnsdistnghttp2_cc.$(OBJEXT)
am_testrunner_OBJECTS = bpf-filter.$(OBJEXT) channel.$(OBJEXT) \
credentials.$(OBJEXT) dns.$(OBJEXT) dnscrypt.$(OBJEXT) \
- dnsdist-async.$(OBJEXT) dnsdist-backend.$(OBJEXT) \
- dnsdist-cache.$(OBJEXT) dnsdist-crypto.$(OBJEXT) \
- dnsdist-dnsparser.$(OBJEXT) dnsdist-doh-common.$(OBJEXT) \
- dnsdist-dynblocks.$(OBJEXT) dnsdist-dynbpf.$(OBJEXT) \
- dnsdist-ecs.$(OBJEXT) dnsdist-edns.$(OBJEXT) \
+ dnsdist-actions.$(OBJEXT) dnsdist-async.$(OBJEXT) \
+ dnsdist-backend.$(OBJEXT) dnsdist-cache.$(OBJEXT) \
+ dnsdist-concurrent-connections.$(OBJEXT) \
+ dnsdist-configuration.$(OBJEXT) dnsdist-crypto.$(OBJEXT) \
+ dnsdist-dnsparser.$(OBJEXT) dnsdist-dnsquestion.$(OBJEXT) \
+ dnsdist-doh-common.$(OBJEXT) dnsdist-dynblocks.$(OBJEXT) \
+ dnsdist-dynbpf.$(OBJEXT) dnsdist-ecs.$(OBJEXT) \
+ dnsdist-edns.$(OBJEXT) dnsdist-frontend.$(OBJEXT) \
+ dnsdist-idstate.$(OBJEXT) dnsdist-ipcrypt2.$(OBJEXT) \
dnsdist-kvs.$(OBJEXT) dnsdist-lbpolicies.$(OBJEXT) \
+ dnsdist-logging.$(OBJEXT) \
dnsdist-lua-bindings-dnsquestion.$(OBJEXT) \
dnsdist-lua-bindings-kvs.$(OBJEXT) \
dnsdist-lua-bindings.$(OBJEXT) dnsdist-lua-ffi.$(OBJEXT) \
+ dnsdist-lua-inspection-ffi.$(OBJEXT) \
dnsdist-lua-network.$(OBJEXT) dnsdist-lua-vars.$(OBJEXT) \
dnsdist-mac-address.$(OBJEXT) dnsdist-metrics.$(OBJEXT) \
- dnsdist-protocols.$(OBJEXT) dnsdist-proxy-protocol.$(OBJEXT) \
- dnsdist-random.$(OBJEXT) dnsdist-resolver.$(OBJEXT) \
- dnsdist-rings.$(OBJEXT) dnsdist-rules.$(OBJEXT) \
- dnsdist-session-cache.$(OBJEXT) dnsdist-svc.$(OBJEXT) \
- dnsdist-tcp-downstream.$(OBJEXT) dnsdist-tcp.$(OBJEXT) \
- dnsdist-xpf.$(OBJEXT) dnsdist-xsk.$(OBJEXT) \
- dnslabeltext.$(OBJEXT) dnsname.$(OBJEXT) dnsparser.$(OBJEXT) \
- dnswriter.$(OBJEXT) dolog.$(OBJEXT) ednscookies.$(OBJEXT) \
+ dnsdist-opentelemetry.$(OBJEXT) dnsdist-protocols.$(OBJEXT) \
+ dnsdist-proxy-protocol.$(OBJEXT) dnsdist-random.$(OBJEXT) \
+ dnsdist-resolver.$(OBJEXT) dnsdist-rings.$(OBJEXT) \
+ dnsdist-rule-chains.$(OBJEXT) dnsdist-rules.$(OBJEXT) \
+ dnsdist-self-answers.$(OBJEXT) dnsdist-session-cache.$(OBJEXT) \
+ dnsdist-svc.$(OBJEXT) dnsdist-tcp-downstream.$(OBJEXT) \
+ dnsdist-tcp.$(OBJEXT) dnsdist-udp.$(OBJEXT) \
+ dnsdist-xsk.$(OBJEXT) dnslabeltext.$(OBJEXT) dnsname.$(OBJEXT) \
+ dnsparser.$(OBJEXT) dnswriter.$(OBJEXT) doh3.$(OBJEXT) \
+ dolog.$(OBJEXT) ednscookies.$(OBJEXT) \
ednsextendederror.$(OBJEXT) ednsoptions.$(OBJEXT) \
- ednssubnet.$(OBJEXT) gettime.$(OBJEXT) iputils.$(OBJEXT) \
- misc.$(OBJEXT) pollmplexer.$(OBJEXT) proxy-protocol.$(OBJEXT) \
- qtype.$(OBJEXT) statnode.$(OBJEXT) svc-records.$(OBJEXT) \
+ ednssubnet.$(OBJEXT) ext/json11/json11.$(OBJEXT) \
+ gettime.$(OBJEXT) iputils.$(OBJEXT) logging.$(OBJEXT) \
+ misc.$(OBJEXT) pollmplexer.$(OBJEXT) protozero-trace.$(OBJEXT) \
+ protozero.$(OBJEXT) proxy-protocol.$(OBJEXT) qtype.$(OBJEXT) \
+ statnode.$(OBJEXT) svc-records.$(OBJEXT) \
test-base64_cc.$(OBJEXT) test-channel.$(OBJEXT) \
test-connectionmanagement_hh.$(OBJEXT) \
test-credentials_cc.$(OBJEXT) test-delaypipe_hh.$(OBJEXT) \
- test-dnscrypt_cc.$(OBJEXT) \
+ test-dns_cc.$(OBJEXT) test-dnscrypt_cc.$(OBJEXT) \
+ test-dnsdist-concurrent-connections.$(OBJEXT) \
test-dnsdist-connections-cache.$(OBJEXT) \
test-dnsdist-dnsparser.$(OBJEXT) \
- test-dnsdist-lua-ffi.$(OBJEXT) test-dnsdist_cc.$(OBJEXT) \
+ test-dnsdist-ipcrypt2_cc.$(OBJEXT) \
+ test-dnsdist-lua-ffi.$(OBJEXT) \
+ test-dnsdist-opentelemetry_cc.$(OBJEXT) \
+ test-dnsdist-session-cache.$(OBJEXT) \
+ test-dnsdist-xsk.$(OBJEXT) test-dnsdist_cc.$(OBJEXT) \
test-dnsdistasync.$(OBJEXT) test-dnsdistbackend_cc.$(OBJEXT) \
test-dnsdistbackoff.$(OBJEXT) \
test-dnsdistdynblocks_hh.$(OBJEXT) test-dnsdistedns.$(OBJEXT) \
@@ -550,21 +649,24 @@
test-dnsdistluanetwork.$(OBJEXT) \
test-dnsdistpacketcache_cc.$(OBJEXT) \
test-dnsdistrings_cc.$(OBJEXT) test-dnsdistrules_cc.$(OBJEXT) \
- test-dnsdistsvc_cc.$(OBJEXT) test-dnsdisttcp_cc.$(OBJEXT) \
- test-dnsparser_cc.$(OBJEXT) test-iputils_hh.$(OBJEXT) \
- test-luawrapper.$(OBJEXT) test-mplexer.$(OBJEXT) \
- test-proxy_protocol_cc.$(OBJEXT) testrunner.$(OBJEXT) \
- threadname.$(OBJEXT) uuid-utils.$(OBJEXT) xpf.$(OBJEXT) \
- xsk.$(OBJEXT) $(am__objects_1) $(am__objects_3) \
- $(am__objects_13) $(am__objects_9) $(am__objects_10) \
- $(am__objects_11) $(am__objects_12)
+ test-dnsdistserverpool.$(OBJEXT) test-dnsdistsvc_cc.$(OBJEXT) \
+ test-dnsdisttcp_cc.$(OBJEXT) test-dnsparser_cc.$(OBJEXT) \
+ test-iputils_hh.$(OBJEXT) test-luawrapper.$(OBJEXT) \
+ test-mplexer.$(OBJEXT) test-proxy_protocol_cc.$(OBJEXT) \
+ test-sholder_hh.$(OBJEXT) testrunner.$(OBJEXT) \
+ threadname.$(OBJEXT) uuid-utils.$(OBJEXT) xsk.$(OBJEXT) \
+ $(am__objects_1) $(am__objects_3) $(am__objects_4) \
+ $(am__objects_14) $(am__objects_7) $(am__objects_8) \
+ $(am__objects_9) $(am__objects_10) $(am__objects_11)
testrunner_OBJECTS = $(am_testrunner_OBJECTS)
testrunner_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_5) \
- $(am__DEPENDENCIES_6) $(am__DEPENDENCIES_10)
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) \
+ $(am__DEPENDENCIES_4) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_5) $(am__DEPENDENCIES_6) \
+ $(am__DEPENDENCIES_9) $(am__DEPENDENCIES_10)
testrunner_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
$(CXXFLAGS) $(testrunner_LDFLAGS) $(LDFLAGS) -o $@
@@ -588,18 +690,30 @@
./$(DEPDIR)/channel.Po ./$(DEPDIR)/coverage.Po \
./$(DEPDIR)/credentials.Po ./$(DEPDIR)/devpollmplexer.Po \
./$(DEPDIR)/dns.Po ./$(DEPDIR)/dnscrypt.Po \
- ./$(DEPDIR)/dnsdist-async.Po ./$(DEPDIR)/dnsdist-backend.Po \
- ./$(DEPDIR)/dnsdist-cache.Po ./$(DEPDIR)/dnsdist-carbon.Po \
+ ./$(DEPDIR)/dnsdist-actions-factory.Po \
+ ./$(DEPDIR)/dnsdist-actions.Po ./$(DEPDIR)/dnsdist-async.Po \
+ ./$(DEPDIR)/dnsdist-backend.Po ./$(DEPDIR)/dnsdist-cache.Po \
+ ./$(DEPDIR)/dnsdist-carbon.Po \
+ ./$(DEPDIR)/dnsdist-concurrent-connections.Po \
+ ./$(DEPDIR)/dnsdist-configuration-yaml-items-generated.Po \
+ ./$(DEPDIR)/dnsdist-configuration-yaml.Po \
+ ./$(DEPDIR)/dnsdist-configuration.Po \
+ ./$(DEPDIR)/dnsdist-console-completion.Po \
./$(DEPDIR)/dnsdist-console.Po ./$(DEPDIR)/dnsdist-crypto.Po \
./$(DEPDIR)/dnsdist-discovery.Po \
./$(DEPDIR)/dnsdist-dnscrypt.Po \
./$(DEPDIR)/dnsdist-dnsparser.Po \
+ ./$(DEPDIR)/dnsdist-dnsquestion.Po \
./$(DEPDIR)/dnsdist-doh-common.Po \
./$(DEPDIR)/dnsdist-dynblocks.Po ./$(DEPDIR)/dnsdist-dynbpf.Po \
./$(DEPDIR)/dnsdist-ecs.Po ./$(DEPDIR)/dnsdist-edns.Po \
+ ./$(DEPDIR)/dnsdist-frontend.Po \
./$(DEPDIR)/dnsdist-healthchecks.Po \
+ ./$(DEPDIR)/dnsdist-idstate.Po \
./$(DEPDIR)/dnsdist-internal-queries.Po \
- ./$(DEPDIR)/dnsdist-kvs.Po ./$(DEPDIR)/dnsdist-lbpolicies.Po \
+ ./$(DEPDIR)/dnsdist-ipcrypt2.Po ./$(DEPDIR)/dnsdist-kvs.Po \
+ ./$(DEPDIR)/dnsdist-lbpolicies.Po \
+ ./$(DEPDIR)/dnsdist-logging.Po \
./$(DEPDIR)/dnsdist-lua-actions.Po \
./$(DEPDIR)/dnsdist-lua-bindings-dnscrypt.Po \
./$(DEPDIR)/dnsdist-lua-bindings-dnsparser.Po \
@@ -610,6 +724,7 @@
./$(DEPDIR)/dnsdist-lua-bindings-protobuf.Po \
./$(DEPDIR)/dnsdist-lua-bindings-rings.Po \
./$(DEPDIR)/dnsdist-lua-bindings.Po \
+ ./$(DEPDIR)/dnsdist-lua-configuration-items.Po \
./$(DEPDIR)/dnsdist-lua-ffi.Po \
./$(DEPDIR)/dnsdist-lua-hooks.Po \
./$(DEPDIR)/dnsdist-lua-inspection-ffi.Po \
@@ -620,22 +735,27 @@
./$(DEPDIR)/dnsdist-lua.Po ./$(DEPDIR)/dnsdist-mac-address.Po \
./$(DEPDIR)/dnsdist-metrics.Po \
./$(DEPDIR)/dnsdist-nghttp2-in.Po \
- ./$(DEPDIR)/dnsdist-nghttp2.Po ./$(DEPDIR)/dnsdist-protobuf.Po \
+ ./$(DEPDIR)/dnsdist-nghttp2.Po \
+ ./$(DEPDIR)/dnsdist-opentelemetry.Po \
+ ./$(DEPDIR)/dnsdist-protobuf.Po \
./$(DEPDIR)/dnsdist-protocols.Po \
./$(DEPDIR)/dnsdist-proxy-protocol.Po \
+ ./$(DEPDIR)/dnsdist-query-count.Po \
./$(DEPDIR)/dnsdist-random.Po ./$(DEPDIR)/dnsdist-resolver.Po \
- ./$(DEPDIR)/dnsdist-rings.Po ./$(DEPDIR)/dnsdist-rules.Po \
- ./$(DEPDIR)/dnsdist-secpoll.Po \
+ ./$(DEPDIR)/dnsdist-rings.Po \
+ ./$(DEPDIR)/dnsdist-rule-chains.Po \
+ ./$(DEPDIR)/dnsdist-rules.Po ./$(DEPDIR)/dnsdist-secpoll.Po \
+ ./$(DEPDIR)/dnsdist-self-answers.Po \
./$(DEPDIR)/dnsdist-session-cache.Po \
./$(DEPDIR)/dnsdist-snmp.Po ./$(DEPDIR)/dnsdist-svc.Po \
./$(DEPDIR)/dnsdist-systemd.Po \
./$(DEPDIR)/dnsdist-tcp-downstream.Po \
- ./$(DEPDIR)/dnsdist-tcp.Po ./$(DEPDIR)/dnsdist-web.Po \
- ./$(DEPDIR)/dnsdist-xpf.Po ./$(DEPDIR)/dnsdist-xsk.Po \
+ ./$(DEPDIR)/dnsdist-tcp.Po ./$(DEPDIR)/dnsdist-udp.Po \
+ ./$(DEPDIR)/dnsdist-web.Po ./$(DEPDIR)/dnsdist-xsk.Po \
./$(DEPDIR)/dnsdist.Po ./$(DEPDIR)/dnslabeltext.Po \
./$(DEPDIR)/dnsname.Po ./$(DEPDIR)/dnsparser.Po \
./$(DEPDIR)/dnstap.Po ./$(DEPDIR)/dnswriter.Po \
- ./$(DEPDIR)/doh.Po ./$(DEPDIR)/doh3.Po ./$(DEPDIR)/dolog.Po \
+ ./$(DEPDIR)/doh3.Po ./$(DEPDIR)/dolog.Po \
./$(DEPDIR)/doq-common.Po ./$(DEPDIR)/doq.Po \
./$(DEPDIR)/ednscookies.Po ./$(DEPDIR)/ednsextendederror.Po \
./$(DEPDIR)/ednsoptions.Po ./$(DEPDIR)/ednssubnet.Po \
@@ -643,21 +763,27 @@
./$(DEPDIR)/fuzz_dnsdistcache.Po ./$(DEPDIR)/fuzz_xsk.Po \
./$(DEPDIR)/gettime.Po ./$(DEPDIR)/ipcipher.Po \
./$(DEPDIR)/iputils.Po ./$(DEPDIR)/kqueuemplexer.Po \
- ./$(DEPDIR)/libssl.Po ./$(DEPDIR)/misc.Po \
- ./$(DEPDIR)/pollmplexer.Po ./$(DEPDIR)/portsmplexer.Po \
+ ./$(DEPDIR)/libssl.Po ./$(DEPDIR)/logging.Po \
+ ./$(DEPDIR)/misc.Po ./$(DEPDIR)/pollmplexer.Po \
+ ./$(DEPDIR)/portsmplexer.Po ./$(DEPDIR)/protozero-trace.Po \
./$(DEPDIR)/protozero.Po ./$(DEPDIR)/proxy-protocol.Po \
./$(DEPDIR)/qtype.Po ./$(DEPDIR)/remote_logger.Po \
- ./$(DEPDIR)/snmp-agent.Po ./$(DEPDIR)/statnode.Po \
- ./$(DEPDIR)/svc-records.Po ./$(DEPDIR)/tcpiohandler.Po \
- ./$(DEPDIR)/test-base64_cc.Po ./$(DEPDIR)/test-channel.Po \
+ ./$(DEPDIR)/remote_logger_pool.Po ./$(DEPDIR)/snmp-agent.Po \
+ ./$(DEPDIR)/statnode.Po ./$(DEPDIR)/svc-records.Po \
+ ./$(DEPDIR)/tcpiohandler.Po ./$(DEPDIR)/test-base64_cc.Po \
+ ./$(DEPDIR)/test-channel.Po \
./$(DEPDIR)/test-connectionmanagement_hh.Po \
./$(DEPDIR)/test-credentials_cc.Po \
- ./$(DEPDIR)/test-delaypipe_hh.Po \
+ ./$(DEPDIR)/test-delaypipe_hh.Po ./$(DEPDIR)/test-dns_cc.Po \
./$(DEPDIR)/test-dnscrypt_cc.Po \
+ ./$(DEPDIR)/test-dnsdist-concurrent-connections.Po \
./$(DEPDIR)/test-dnsdist-connections-cache.Po \
./$(DEPDIR)/test-dnsdist-dnsparser.Po \
+ ./$(DEPDIR)/test-dnsdist-ipcrypt2_cc.Po \
./$(DEPDIR)/test-dnsdist-lua-ffi.Po \
- ./$(DEPDIR)/test-dnsdist_cc.Po \
+ ./$(DEPDIR)/test-dnsdist-opentelemetry_cc.Po \
+ ./$(DEPDIR)/test-dnsdist-session-cache.Po \
+ ./$(DEPDIR)/test-dnsdist-xsk.Po ./$(DEPDIR)/test-dnsdist_cc.Po \
./$(DEPDIR)/test-dnsdistasync.Po \
./$(DEPDIR)/test-dnsdistbackend_cc.Po \
./$(DEPDIR)/test-dnsdistbackoff.Po \
@@ -671,35 +797,19 @@
./$(DEPDIR)/test-dnsdistpacketcache_cc.Po \
./$(DEPDIR)/test-dnsdistrings_cc.Po \
./$(DEPDIR)/test-dnsdistrules_cc.Po \
+ ./$(DEPDIR)/test-dnsdistserverpool.Po \
./$(DEPDIR)/test-dnsdistsvc_cc.Po \
./$(DEPDIR)/test-dnsdisttcp_cc.Po \
./$(DEPDIR)/test-dnsparser_cc.Po \
./$(DEPDIR)/test-iputils_hh.Po ./$(DEPDIR)/test-luawrapper.Po \
./$(DEPDIR)/test-mplexer.Po \
./$(DEPDIR)/test-proxy_protocol_cc.Po \
- ./$(DEPDIR)/testrunner.Po ./$(DEPDIR)/threadname.Po \
- ./$(DEPDIR)/uuid-utils.Po ./$(DEPDIR)/xpf.Po \
- ./$(DEPDIR)/xsk.Po ext/json11/$(DEPDIR)/json11.Po \
+ ./$(DEPDIR)/test-sholder_hh.Po ./$(DEPDIR)/testrunner.Po \
+ ./$(DEPDIR)/threadname.Po ./$(DEPDIR)/uuid-utils.Po \
+ ./$(DEPDIR)/xsk.Po ext/ipcrypt2/$(DEPDIR)/ipcrypt2.Po \
+ ext/json11/$(DEPDIR)/json11.Po \
ext/lmdb-safe/$(DEPDIR)/lmdb-safe.Po
am__mv = mv -f
-CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
-LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
- $(AM_CXXFLAGS) $(CXXFLAGS)
-AM_V_CXX = $(am__v_CXX_@AM_V@)
-am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
-am__v_CXX_0 = @echo " CXX " $@;
-am__v_CXX_1 =
-CXXLD = $(CXX)
-CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
- $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
-am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
-am__v_CXXLD_0 = @echo " CXXLD " $@;
-am__v_CXXLD_1 =
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
@@ -718,6 +828,24 @@
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CXXFLAGS) $(CXXFLAGS)
+AM_V_CXX = $(am__v_CXX_@AM_V@)
+am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
+am__v_CXX_0 = @echo " CXX " $@;
+am__v_CXX_1 =
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
+am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
+am__v_CXXLD_0 = @echo " CXXLD " $@;
+am__v_CXXLD_1 =
SOURCES = $(dnsdist_SOURCES) $(nodist_dnsdist_SOURCES) \
$(fuzz_target_dnsdistcache_SOURCES) $(fuzz_target_xsk_SOURCES) \
$(testrunner_SOURCES)
@@ -760,10 +888,9 @@
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
- test -z "$$files" \
- || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
- || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
- $(am__cd) "$$dir" && rm -f $$files; }; \
+ { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && echo $$files | $(am__xargs_n) 40 $(am__rm_f); }; \
}
man1dir = $(mandir)/man1
NROFF = nroff
@@ -904,6 +1031,7 @@
# Default flags passed to test drivers.
am__common_driver_flags = \
--color-tests "$$am__color_tests" \
+ $$am__collect_skipped_logs \
--enable-hard-errors "$$am__enable_hard_errors" \
--expect-failure "$$am__expect_failure"
# To be inserted before the command running the test. Creates the
@@ -928,6 +1056,11 @@
elif test -f "$$f"; then dir=; \
else dir="$(srcdir)/"; fi; \
tst=$$dir$$f; log='$@'; \
+if test -n '$(IGNORE_SKIPPED_LOGS)'; then \
+ am__collect_skipped_logs='--collect-skipped-logs no'; \
+else \
+ am__collect_skipped_logs=''; \
+fi; \
if test -n '$(DISABLE_HARD_ERRORS)'; then \
am__enable_hard_errors=no; \
else \
@@ -973,7 +1106,8 @@
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
$(TEST_LOG_FLAGS)
-DIST_SUBDIRS = $(SUBDIRS)
+DIST_SUBDIRS = dnsdist-rust-lib dnsdist-rust-lib/rust ext/arc4random \
+ ext/ipcrypt ext/yahttp ext/ipcrypt2
am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in \
$(srcdir)/config.h.in $(srcdir)/lua_hpp.mk COPYING README \
compile config.guess config.sub depcomp install-sh ltmain.sh \
@@ -983,8 +1117,8 @@
top_distdir = $(distdir)
am__remove_distdir = \
if test -d "$(distdir)"; then \
- find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
- && rm -rf "$(distdir)" \
+ find "$(distdir)" -type d ! -perm -700 -exec chmod u+rwx {} ';' \
+ ; rm -rf "$(distdir)" \
|| { sleep 5 && rm -rf "$(distdir)"; }; \
else :; fi
am__post_remove_distdir = $(am__remove_distdir)
@@ -1013,7 +1147,7 @@
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
done; \
reldir="$$dir2"
-GZIP_ENV = --best
+GZIP_ENV = -9
DIST_ARCHIVES = $(distdir).tar.bz2
DIST_TARGETS = dist-bzip2
# Exists only to be overridden by the user if desired.
@@ -1021,18 +1155,24 @@
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
-distcleancheck_listfiles = find . -type f -print
+distcleancheck_listfiles = \
+ find . \( -type f -a \! \
+ \( -name .nfs* -o -name .smb* -o -name .__afs* \) \) -print
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_CPPFLAGS = @AM_CPPFLAGS@ $(SYSTEMD_CFLAGS) $(LUA_CFLAGS) \
$(LIBEDIT_CFLAGS) $(LIBSODIUM_CFLAGS) $(FSTRM_CFLAGS) \
$(YAHTTP_CFLAGS) $(NET_SNMP_CFLAGS) $(NGHTTP2_CFLAGS) \
- $(LIBCAP_CFLAGS) -I$(top_srcdir)/ext/protozero/include \
+ $(LIBCAP_CFLAGS) $(IPCRYPT2_CFLAGS) \
+ -I$(top_srcdir)/ext/protozero/include \
+ -I$(top_srcdir)/dnsdist-rust-lib \
+ -I$(top_builddir)/dnsdist-rust-lib \
+ -I$(top_srcdir)/dnsdist-rust-lib/rust/src \
-DSYSCONFDIR=\"${sysconfdir}\" \
- -DBOOST_CONTAINER_USE_STD_EXCEPTIONS $(am__append_1) \
- $(am__append_2) $(am__append_3) $(am__append_4) \
- $(am__append_5) $(am__append_6) $(am__append_7) \
- $(am__append_8) $(am__append_9) $(am__append_35)
+ -DBOOST_CONTAINER_USE_STD_EXCEPTIONS $(am__append_2) \
+ $(am__append_4) $(am__append_5) $(am__append_6) \
+ $(am__append_7) $(am__append_8) $(am__append_9) \
+ $(am__append_10) $(am__append_37)
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@
ARC4RANDOM_LIBS = @ARC4RANDOM_LIBS@
@@ -1048,6 +1188,7 @@
BOOST_UNIT_TEST_FRAMEWORK_LIBS = @BOOST_UNIT_TEST_FRAMEWORK_LIBS@
BPF_CFLAGS = @BPF_CFLAGS@
BPF_LIBS = @BPF_LIBS@
+CARGO = @CARGO@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CDB_CFLAGS = @CDB_CFLAGS@
@@ -1087,6 +1228,8 @@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+IPCRYPT2_CFLAGS = @IPCRYPT2_CFLAGS@
+IPCRYPT2_LIBS = @IPCRYPT2_LIBS@
IPCRYPT_CFLAGS = @IPCRYPT_CFLAGS@
IPCRYPT_LIBS = @IPCRYPT_LIBS@
LD = @LD@
@@ -1096,10 +1239,9 @@
LIBCRYPTO_INCLUDES = @LIBCRYPTO_INCLUDES@
LIBCRYPTO_LDFLAGS = @LIBCRYPTO_LDFLAGS@
LIBCRYPTO_LIBS = @LIBCRYPTO_LIBS@
+LIBDL = @LIBDL@
LIBEDIT_CFLAGS = @LIBEDIT_CFLAGS@
LIBEDIT_LIBS = @LIBEDIT_LIBS@
-LIBH2OEVLOOP_CFLAGS = @LIBH2OEVLOOP_CFLAGS@
-LIBH2OEVLOOP_LIBS = @LIBH2OEVLOOP_LIBS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBSODIUM_CFLAGS = @LIBSODIUM_CFLAGS@
@@ -1183,8 +1325,10 @@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
+am__rm_f_notfound = @am__rm_f_notfound@
am__tar = @am__tar@
am__untar = @am__untar@
+am__xargs_n = @am__xargs_n@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
@@ -1214,6 +1358,7 @@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
+pdns_configure_args = @pdns_configure_args@
pkgpyexecdir = @pkgpyexecdir@
pkgpythondir = @pkgpythondir@
prefix = @prefix@
@@ -1233,19 +1378,41 @@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
+AM_CXXFLAGS = $(am__append_3)
+DNSDIST_RUST_LIBS = $(top_builddir)/dnsdist-rust-lib/rust/libdnsdist_rust.a $(LIBDL)
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = ext/arc4random \
- ext/ipcrypt \
- ext/yahttp
-
+SUBDIRS = dnsdist-rust-lib dnsdist-rust-lib/rust ext/arc4random \
+ ext/ipcrypt ext/yahttp $(am__append_1)
CLEANFILES = htmlfiles.h.tmp htmlfiles.h dnsdist-lua-ffi-interface.inc \
- lua.hpp $(am__append_49)
+ lua.hpp $(am__append_56)
sysconf_DATA = dnsdist.conf-dist
-BUILT_SOURCES = htmlfiles.h dnsdist-lua-ffi-interface.inc \
- dnslabeltext.cc $(am__append_38)
+BUILT_SOURCES = htmlfiles.h dnsdist-actions-factory-generated-body.hh \
+ dnsdist-actions-factory-generated.hh \
+ dnsdist-lua-ffi-interface.inc \
+ dnsdist-lua-actions-generated-body.hh \
+ dnsdist-lua-response-actions-generated-body.hh \
+ dnsdist-response-actions-factory-generated-body.hh \
+ dnsdist-response-actions-factory-generated.hh \
+ dnsdist-rust-bridge-actions-generated-body.hh \
+ dnsdist-rust-bridge-actions-generated.hh \
+ dnsdist-rust-bridge-selectors-generated-body.hh \
+ dnsdist-rust-bridge-selectors-generated.hh \
+ dnsdist-selectors-factory-generated-body.hh \
+ dnsdist-selectors-factory-generated.hh dnslabeltext.cc \
+ docs/reference/yaml-actions.rst \
+ docs/reference/yaml-response-actions.rst \
+ docs/reference/yaml-selectors.rst \
+ docs/reference/yaml-settings.rst $(am__append_44)
SRC_JS_FILES := $(wildcard src_js/*.js)
MIN_JS_FILES := $(patsubst src_js/%.js,html/js/%.min.js,$(SRC_JS_FILES))
EXTRA_DIST = COPYING \
+ dnsdist-rules-generator.py \
+ dnsdist-settings-documentation-generator.py \
+ dnsdist-actions-definitions.yml \
+ dnsdist-response-actions-definitions.yml \
+ dnsdist-rust-bridge.hh \
+ dnsdist-selectors-definitions.yml \
+ dnsdist-settings-definitions.yml \
dnslabeltext.rl \
dnsdist.conf-dist \
dnsmessage.proto \
@@ -1276,129 +1443,165 @@
cachecleaner.hh capabilities.cc capabilities.hh channel.cc \
channel.hh circular_buffer.hh connection-management.hh \
coverage.cc coverage.hh credentials.cc credentials.hh dns.cc \
- dns.hh dns_random.hh dnscrypt.cc dnscrypt.hh dnsdist-async.cc \
- dnsdist-async.hh dnsdist-backend.cc dnsdist-backoff.hh \
- dnsdist-cache.cc dnsdist-cache.hh dnsdist-carbon.cc \
- dnsdist-carbon.hh dnsdist-concurrent-connections.hh \
+ dns.hh dns_random.hh dnscrypt.cc dnscrypt.hh \
+ dnsdist-actions-factory.cc dnsdist-actions-factory.hh \
+ dnsdist-actions.cc dnsdist-actions.hh dnsdist-async.cc \
+ dnsdist-async.hh dnsdist-backend.cc dnsdist-backend.hh \
+ dnsdist-backoff.hh dnsdist-cache.cc dnsdist-cache.hh \
+ dnsdist-carbon.cc dnsdist-carbon.hh \
+ dnsdist-concurrent-connections.cc \
+ dnsdist-concurrent-connections.hh \
+ dnsdist-configuration-yaml-internal.hh \
+ dnsdist-configuration-yaml.cc dnsdist-configuration-yaml.hh \
+ dnsdist-configuration.cc dnsdist-configuration.hh \
+ dnsdist-console-completion.cc dnsdist-console-completion.hh \
dnsdist-console.cc dnsdist-console.hh dnsdist-crypto.cc \
dnsdist-crypto.hh dnsdist-discovery.cc dnsdist-discovery.hh \
dnsdist-dnscrypt.cc dnsdist-dnsparser.cc dnsdist-dnsparser.hh \
- dnsdist-doh-common.cc dnsdist-doh-common.hh \
- dnsdist-downstream-connection.hh dnsdist-dynblocks.cc \
- dnsdist-dynblocks.hh dnsdist-dynbpf.cc dnsdist-dynbpf.hh \
- dnsdist-ecs.cc dnsdist-ecs.hh dnsdist-edns.cc dnsdist-edns.hh \
- dnsdist-healthchecks.cc dnsdist-healthchecks.hh \
- dnsdist-idstate.hh dnsdist-internal-queries.cc \
- dnsdist-internal-queries.hh dnsdist-kvs.hh dnsdist-kvs.cc \
- dnsdist-lbpolicies.cc dnsdist-lbpolicies.hh \
- dnsdist-lua-actions.cc dnsdist-lua-bindings-dnscrypt.cc \
+ dnsdist-dnsquestion.cc dnsdist-doh-common.cc \
+ dnsdist-doh-common.hh dnsdist-downstream-connection.hh \
+ dnsdist-dynblocks.cc dnsdist-dynblocks.hh dnsdist-dynbpf.cc \
+ dnsdist-dynbpf.hh dnsdist-ecs.cc dnsdist-ecs.hh \
+ dnsdist-edns.cc dnsdist-edns.hh dnsdist-frontend.cc \
+ dnsdist-frontend.hh dnsdist-healthchecks.cc \
+ dnsdist-healthchecks.hh dnsdist-idstate.cc dnsdist-idstate.hh \
+ dnsdist-internal-queries.cc dnsdist-internal-queries.hh \
+ dnsdist-ipcrypt2.cc dnsdist-ipcrypt2.hh dnsdist-kvs.hh \
+ dnsdist-kvs.cc dnsdist-lbpolicies.cc dnsdist-lbpolicies.hh \
+ dnsdist-logging.cc dnsdist-logging.hh dnsdist-lua-actions.cc \
+ dnsdist-lua-bindings-dnscrypt.cc \
dnsdist-lua-bindings-dnsparser.cc \
dnsdist-lua-bindings-dnsquestion.cc \
dnsdist-lua-bindings-kvs.cc dnsdist-lua-bindings-network.cc \
dnsdist-lua-bindings-packetcache.cc \
dnsdist-lua-bindings-protobuf.cc dnsdist-lua-bindings-rings.cc \
- dnsdist-lua-bindings.cc dnsdist-lua-ffi-interface.h \
- dnsdist-lua-ffi-interface.inc dnsdist-lua-ffi.cc \
- dnsdist-lua-ffi.hh dnsdist-lua-hooks.cc dnsdist-lua-hooks.hh \
- dnsdist-lua-inspection-ffi.cc dnsdist-lua-inspection-ffi.h \
- dnsdist-lua-inspection.cc dnsdist-lua-network.cc \
- dnsdist-lua-network.hh dnsdist-lua-rules.cc \
- dnsdist-lua-vars.cc dnsdist-lua-web.cc dnsdist-lua.cc \
- dnsdist-lua.hh dnsdist-mac-address.cc dnsdist-mac-address.hh \
- dnsdist-metrics.cc dnsdist-metrics.hh dnsdist-nghttp2-in.hh \
- dnsdist-nghttp2.hh dnsdist-prometheus.hh dnsdist-protobuf.cc \
- dnsdist-protobuf.hh dnsdist-protocols.cc dnsdist-protocols.hh \
+ dnsdist-lua-bindings.cc dnsdist-lua-configuration-items.cc \
+ dnsdist-lua-ffi-interface.h dnsdist-lua-ffi-interface.inc \
+ dnsdist-lua-ffi.cc dnsdist-lua-ffi.hh dnsdist-lua-hooks.cc \
+ dnsdist-lua-hooks.hh dnsdist-lua-inspection-ffi.cc \
+ dnsdist-lua-inspection-ffi.h dnsdist-lua-inspection.cc \
+ dnsdist-lua-network.cc dnsdist-lua-network.hh \
+ dnsdist-lua-rules.cc dnsdist-lua-vars.cc dnsdist-lua-web.cc \
+ dnsdist-lua.cc dnsdist-lua.hh dnsdist-mac-address.cc \
+ dnsdist-mac-address.hh dnsdist-metrics.cc dnsdist-metrics.hh \
+ dnsdist-nghttp2-in.hh dnsdist-nghttp2.hh \
+ dnsdist-opentelemetry.cc dnsdist-opentelemetry.hh \
+ dnsdist-prometheus.hh dnsdist-protobuf.cc dnsdist-protobuf.hh \
+ dnsdist-protocols.cc dnsdist-protocols.hh \
dnsdist-proxy-protocol.cc dnsdist-proxy-protocol.hh \
+ dnsdist-query-count.hh dnsdist-query-count.cc \
dnsdist-random.cc dnsdist-random.hh dnsdist-resolver.cc \
dnsdist-resolver.hh dnsdist-rings.cc dnsdist-rings.hh \
- dnsdist-rules.cc dnsdist-rules.hh dnsdist-secpoll.cc \
- dnsdist-secpoll.hh dnsdist-session-cache.cc \
- dnsdist-session-cache.hh dnsdist-snmp.cc dnsdist-snmp.hh \
- dnsdist-svc.cc dnsdist-svc.hh dnsdist-systemd.cc \
- dnsdist-systemd.hh dnsdist-tcp-downstream.cc \
- dnsdist-tcp-downstream.hh dnsdist-tcp-upstream.hh \
- dnsdist-tcp.cc dnsdist-tcp.hh dnsdist-web.cc dnsdist-web.hh \
- dnsdist-xpf.cc dnsdist-xpf.hh dnsdist-xsk.cc dnsdist-xsk.hh \
- dnsdist.cc dnsdist.hh dnslabeltext.cc dnsname.cc dnsname.hh \
- dnsparser.hh dnsparser.cc dnstap.cc dnstap.hh dnswriter.cc \
- dnswriter.hh doh.hh doh3.hh dolog.cc dolog.hh doq-common.hh \
- doq.hh ednscookies.cc ednscookies.hh ednsextendederror.cc \
+ dnsdist-rule-chains.cc dnsdist-rule-chains.hh \
+ dnsdist-rules-factory.hh dnsdist-rules.cc dnsdist-rules.hh \
+ dnsdist-secpoll.cc dnsdist-secpoll.hh dnsdist-self-answers.cc \
+ dnsdist-self-answers.hh dnsdist-server-pool.hh \
+ dnsdist-session-cache.cc dnsdist-session-cache.hh \
+ dnsdist-snmp.cc dnsdist-snmp.hh dnsdist-svc.cc dnsdist-svc.hh \
+ dnsdist-systemd.cc dnsdist-systemd.hh \
+ dnsdist-tcp-downstream.cc dnsdist-tcp-downstream.hh \
+ dnsdist-tcp-upstream.hh dnsdist-tcp.cc dnsdist-tcp.hh \
+ dnsdist-udp.cc dnsdist-udp.hh dnsdist-web.cc dnsdist-web.hh \
+ dnsdist-xsk.cc dnsdist-xsk.hh dnsdist.cc dnsdist.hh \
+ dnslabeltext.cc dnsname.cc dnsname.hh dnsparser.hh \
+ dnsparser.cc dnstap.cc dnstap.hh dnswriter.cc dnswriter.hh \
+ doh3.cc doh3.hh dolog.cc dolog.hh doq-common.hh doq.hh \
+ ednscookies.cc ednscookies.hh ednsextendederror.cc \
ednsextendederror.hh ednsoptions.cc ednsoptions.hh \
ednssubnet.cc ednssubnet.hh ext/json11/json11.cpp \
ext/json11/json11.hpp ext/libbpf/libbpf.h \
ext/luawrapper/include/LuaContext.hpp fstrm_logger.cc \
fstrm_logger.hh gettime.cc gettime.hh htmlfiles.h iputils.cc \
- iputils.hh libssl.cc libssl.hh lock.hh logging.hh misc.cc \
- misc.hh mplexer.hh namespaces.hh noinitvector.hh \
- packetcache.hh pdnsexception.hh pollmplexer.cc protozero.cc \
+ iputils.hh libssl.cc libssl.hh lock.hh logging.cc logging.hh \
+ misc.cc misc.hh mplexer.hh namespaces.hh noinitvector.hh \
+ packetcache.hh pdnsexception.hh pollmplexer.cc \
+ protozero-trace.cc protozero-trace.hh protozero.cc \
protozero.hh proxy-protocol.cc proxy-protocol.hh qtype.cc \
- qtype.hh remote_logger.cc remote_logger.hh sholder.hh \
- snmp-agent.cc snmp-agent.hh sstuff.hh stat_t.hh statnode.cc \
- statnode.hh svc-records.cc svc-records.hh \
+ qtype.hh remote_logger.cc remote_logger.hh \
+ remote_logger_pool.cc remote_logger_pool.hh sanitizer.hh \
+ sholder.hh snmp-agent.cc snmp-agent.hh sstuff.hh stat_t.hh \
+ statnode.cc statnode.hh svc-records.cc svc-records.hh \
tcpiohandler-mplexer.hh tcpiohandler.cc tcpiohandler.hh \
threadname.hh threadname.cc uuid-utils.hh uuid-utils.cc \
- views.hh xpf.cc xpf.hh xsk.cc xsk.hh $(am__append_12) \
- $(am__append_20) $(am__append_23) $(am__append_27) \
- $(am__append_29) $(am__append_33) $(am__append_34) \
- $(am__append_37) $(am__append_39) $(am__append_41) \
- $(am__append_43) $(am__append_45)
+ views.hh xsk.cc xsk.hh $(am__append_13) $(am__append_23) \
+ $(am__append_24) $(am__append_28) $(am__append_32) \
+ $(am__append_36) $(am__append_39) $(am__append_46) \
+ $(am__append_48) $(am__append_50) $(am__append_52)
+nodist_dnsdist_SOURCES = $(am__append_42) $(am__append_45)
testrunner_SOURCES = base64.hh bpf-filter.cc bpf-filter.hh \
cachecleaner.hh channel.cc channel.hh circular_buffer.hh \
connection-management.hh credentials.cc credentials.hh dns.cc \
- dns.hh dnscrypt.cc dnscrypt.hh dnsdist-async.cc \
- dnsdist-async.hh dnsdist-backend.cc dnsdist-backoff.hh \
+ dns.hh dnscrypt.cc dnscrypt.hh dnsdist-actions.cc \
+ dnsdist-actions.hh dnsdist-async.cc dnsdist-async.hh \
+ dnsdist-backend.cc dnsdist-backend.hh dnsdist-backoff.hh \
dnsdist-cache.cc dnsdist-cache.hh \
- dnsdist-concurrent-connections.hh dnsdist-crypto.cc \
- dnsdist-crypto.hh dnsdist-dnsparser.cc dnsdist-dnsparser.hh \
- dnsdist-doh-common.cc dnsdist-doh-common.hh \
- dnsdist-downstream-connection.hh dnsdist-dynblocks.cc \
- dnsdist-dynblocks.hh dnsdist-dynbpf.cc dnsdist-dynbpf.hh \
- dnsdist-ecs.cc dnsdist-ecs.hh dnsdist-edns.cc dnsdist-edns.hh \
- dnsdist-idstate.hh dnsdist-kvs.cc dnsdist-kvs.hh \
- dnsdist-lbpolicies.cc dnsdist-lbpolicies.hh \
+ dnsdist-concurrent-connections.cc \
+ dnsdist-concurrent-connections.hh dnsdist-configuration.cc \
+ dnsdist-configuration.hh dnsdist-crypto.cc dnsdist-crypto.hh \
+ dnsdist-dnsparser.cc dnsdist-dnsparser.hh \
+ dnsdist-dnsquestion.cc dnsdist-doh-common.cc \
+ dnsdist-doh-common.hh dnsdist-downstream-connection.hh \
+ dnsdist-dynblocks.cc dnsdist-dynblocks.hh dnsdist-dynbpf.cc \
+ dnsdist-dynbpf.hh dnsdist-ecs.cc dnsdist-ecs.hh \
+ dnsdist-edns.cc dnsdist-edns.hh dnsdist-frontend.cc \
+ dnsdist-frontend.hh dnsdist-idstate.cc dnsdist-idstate.hh \
+ dnsdist-ipcrypt2.cc dnsdist-ipcrypt2.hh dnsdist-kvs.cc \
+ dnsdist-kvs.hh dnsdist-lbpolicies.cc dnsdist-lbpolicies.hh \
+ dnsdist-logging.cc dnsdist-logging.hh \
dnsdist-lua-bindings-dnsquestion.cc \
dnsdist-lua-bindings-kvs.cc dnsdist-lua-bindings.cc \
dnsdist-lua-ffi-interface.h dnsdist-lua-ffi-interface.inc \
- dnsdist-lua-ffi.cc dnsdist-lua-ffi.hh dnsdist-lua-network.cc \
- dnsdist-lua-network.hh dnsdist-lua-vars.cc \
- dnsdist-mac-address.cc dnsdist-mac-address.hh \
- dnsdist-metrics.cc dnsdist-metrics.hh dnsdist-nghttp2-in.hh \
- dnsdist-nghttp2.hh dnsdist-protocols.cc dnsdist-protocols.hh \
+ dnsdist-lua-ffi.cc dnsdist-lua-ffi.hh \
+ dnsdist-lua-inspection-ffi.cc dnsdist-lua-inspection-ffi.h \
+ dnsdist-lua-network.cc dnsdist-lua-network.hh \
+ dnsdist-lua-vars.cc dnsdist-mac-address.cc \
+ dnsdist-mac-address.hh dnsdist-metrics.cc dnsdist-metrics.hh \
+ dnsdist-nghttp2-in.hh dnsdist-nghttp2.hh \
+ dnsdist-opentelemetry.cc dnsdist-opentelemetry.hh \
+ dnsdist-protocols.cc dnsdist-protocols.hh \
dnsdist-proxy-protocol.cc dnsdist-proxy-protocol.hh \
dnsdist-random.cc dnsdist-random.hh dnsdist-resolver.cc \
dnsdist-resolver.hh dnsdist-rings.cc dnsdist-rings.hh \
- dnsdist-rules.cc dnsdist-rules.hh dnsdist-session-cache.cc \
- dnsdist-session-cache.hh dnsdist-svc.cc dnsdist-svc.hh \
- dnsdist-tcp-downstream.cc dnsdist-tcp.cc dnsdist-tcp.hh \
- dnsdist-xpf.cc dnsdist-xpf.hh dnsdist-xsk.cc dnsdist-xsk.hh \
- dnsdist.hh dnslabeltext.cc dnsname.cc dnsname.hh dnsparser.hh \
- dnsparser.cc dnswriter.cc dnswriter.hh dolog.cc dolog.hh \
- ednscookies.cc ednscookies.hh ednsextendederror.cc \
- ednsextendederror.hh ednsoptions.cc ednsoptions.hh \
- ednssubnet.cc ednssubnet.hh \
+ dnsdist-rule-chains.cc dnsdist-rule-chains.hh \
+ dnsdist-rules-factory.hh dnsdist-rules.cc dnsdist-rules.hh \
+ dnsdist-self-answers.cc dnsdist-self-answers.hh \
+ dnsdist-session-cache.cc dnsdist-session-cache.hh \
+ dnsdist-svc.cc dnsdist-svc.hh dnsdist-tcp-downstream.cc \
+ dnsdist-tcp.cc dnsdist-tcp.hh dnsdist-udp.cc dnsdist-udp.hh \
+ dnsdist-xsk.cc dnsdist-xsk.hh dnsdist.hh dnslabeltext.cc \
+ dnsname.cc dnsname.hh dnsparser.hh dnsparser.cc dnswriter.cc \
+ dnswriter.hh doh3.cc doh3.hh dolog.cc dolog.hh ednscookies.cc \
+ ednscookies.hh ednsextendederror.cc ednsextendederror.hh \
+ ednsoptions.cc ednsoptions.hh ednssubnet.cc ednssubnet.hh \
+ ext/json11/json11.cpp ext/json11/json11.hpp \
ext/luawrapper/include/LuaContext.hpp gettime.cc gettime.hh \
- iputils.cc iputils.hh misc.cc misc.hh namespaces.hh \
- noinitvector.hh pdnsexception.hh pollmplexer.cc \
- proxy-protocol.cc proxy-protocol.hh qtype.cc qtype.hh \
- sholder.hh sstuff.hh stat_t.hh statnode.cc statnode.hh \
- svc-records.cc svc-records.hh test-base64_cc.cc \
+ iputils.cc iputils.hh logging.cc logging.hh misc.cc misc.hh \
+ namespaces.hh noinitvector.hh pdnsexception.hh pollmplexer.cc \
+ protozero-trace.cc protozero-trace.hh protozero.cc \
+ protozero.hh proxy-protocol.cc proxy-protocol.hh qtype.cc \
+ qtype.hh sholder.hh sstuff.hh stat_t.hh statnode.cc \
+ statnode.hh svc-records.cc svc-records.hh test-base64_cc.cc \
test-channel.cc test-connectionmanagement_hh.cc \
- test-credentials_cc.cc test-delaypipe_hh.cc \
- test-dnscrypt_cc.cc test-dnsdist-connections-cache.cc \
- test-dnsdist-dnsparser.cc test-dnsdist-lua-ffi.cc \
- test-dnsdist_cc.cc test-dnsdistasync.cc \
+ test-credentials_cc.cc test-delaypipe_hh.cc test-dns_cc.cc \
+ test-dnscrypt_cc.cc test-dnsdist-concurrent-connections.cc \
+ test-dnsdist-connections-cache.cc test-dnsdist-dnsparser.cc \
+ test-dnsdist-ipcrypt2_cc.cc test-dnsdist-lua-ffi.cc \
+ test-dnsdist-opentelemetry_cc.cc test-dnsdist-session-cache.cc \
+ test-dnsdist-xsk.cc test-dnsdist_cc.cc test-dnsdistasync.cc \
test-dnsdistbackend_cc.cc test-dnsdistbackoff.cc \
test-dnsdistdynblocks_hh.cc test-dnsdistedns.cc \
test-dnsdistkvs_cc.cc test-dnsdistlbpolicies_cc.cc \
test-dnsdistluanetwork.cc test-dnsdistnghttp2_common.hh \
test-dnsdistpacketcache_cc.cc test-dnsdistrings_cc.cc \
- test-dnsdistrules_cc.cc test-dnsdistsvc_cc.cc \
- test-dnsdisttcp_cc.cc test-dnsparser_cc.cc test-iputils_hh.cc \
- test-luawrapper.cc test-mplexer.cc test-proxy_protocol_cc.cc \
+ test-dnsdistrules_cc.cc test-dnsdistserverpool.cc \
+ test-dnsdistsvc_cc.cc test-dnsdisttcp_cc.cc \
+ test-dnsparser_cc.cc test-iputils_hh.cc test-luawrapper.cc \
+ test-mplexer.cc test-proxy_protocol_cc.cc test-sholder_hh.cc \
testrunner.cc threadname.hh threadname.cc uuid-utils.hh \
- uuid-utils.cc xpf.cc xpf.hh xsk.cc xsk.hh $(am__append_13) \
- $(am__append_24) $(am__append_30) $(am__append_40) \
- $(am__append_42) $(am__append_44) $(am__append_46)
+ uuid-utils.cc xsk.cc xsk.hh $(am__append_14) $(am__append_25) \
+ $(am__append_29) $(am__append_33) $(am__append_40) \
+ $(am__append_47) $(am__append_49) $(am__append_51) \
+ $(am__append_53)
dnsdist_LDFLAGS = \
$(AM_LDFLAGS) \
$(PROGRAM_LDFLAGS) \
@@ -1407,10 +1610,10 @@
dnsdist_LDADD = $(LUA_LIBS) $(LIBEDIT_LIBS) $(RT_LIBS) $(YAHTTP_LIBS) \
$(LIBSODIUM_LIBS) $(FSTRM_LIBS) $(SYSTEMD_LIBS) \
$(NET_SNMP_LIBS) $(LIBCAP_LIBS) $(IPCRYPT_LIBS) \
- $(ARC4RANDOM_LIBS) $(am__append_10) $(am__append_14) \
- $(am__append_15) $(am__append_16) $(am__append_18) \
- $(am__append_21) $(am__append_25) $(am__append_26) \
- $(am__append_28) $(am__append_31) $(am__append_36)
+ $(ARC4RANDOM_LIBS) $(am__append_11) $(am__append_15) \
+ $(am__append_17) $(am__append_19) $(am__append_21) \
+ $(am__append_26) $(am__append_30) $(am__append_31) \
+ $(am__append_34) $(am__append_38) $(am__append_43)
testrunner_LDFLAGS = \
$(AM_LDFLAGS) \
$(PROGRAM_LDFLAGS) \
@@ -1418,15 +1621,18 @@
-pthread
testrunner_LDADD = $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) $(FSTRM_LIBS) \
- $(LIBSODIUM_LIBS) $(LUA_LIBS) $(RT_LIBS) $(LIBCAP_LIBS) \
- $(ARC4RANDOM_LIBS) $(am__append_11) $(am__append_17) \
- $(am__append_19) $(am__append_22) $(am__append_32)
-@HAVE_LUA_HPP_FALSE@nodist_dnsdist_SOURCES = lua.hpp
+ $(LIBSODIUM_LIBS) $(LUA_LIBS) $(RT_LIBS) $(SYSTEMD_LIBS) \
+ $(LIBCAP_LIBS) $(ARC4RANDOM_LIBS) $(am__append_12) \
+ $(am__append_16) $(am__append_18) $(am__append_20) \
+ $(am__append_22) $(am__append_27) $(am__append_35) \
+ $(am__append_41)
@FUZZ_TARGETS_TRUE@fuzz_targets_programs = fuzz_target_dnsdistcache \
-@FUZZ_TARGETS_TRUE@ $(am__append_47)
+@FUZZ_TARGETS_TRUE@ $(am__append_54)
@FUZZ_TARGETS_TRUE@fuzz_targets_libs = \
-@FUZZ_TARGETS_TRUE@ $(LIBCRYPTO_LIBS) \
@FUZZ_TARGETS_TRUE@ $(ARC4RANDOM_LIBS) \
+@FUZZ_TARGETS_TRUE@ $(LIBCRYPTO_LIBS) \
+@FUZZ_TARGETS_TRUE@ $(LIBSODIUM_LIBS) \
+@FUZZ_TARGETS_TRUE@ $(SYSTEMD_LIBS) \
@FUZZ_TARGETS_TRUE@ $(LIB_FUZZING_ENGINE)
@FUZZ_TARGETS_TRUE@fuzz_targets_ldflags = \
@@ -1441,22 +1647,33 @@
@FUZZ_TARGETS_TRUE@fuzz_target_dnsdistcache_SOURCES = \
@FUZZ_TARGETS_TRUE@ channel.hh channel.cc \
@FUZZ_TARGETS_TRUE@ dns.cc dns.hh \
+@FUZZ_TARGETS_TRUE@ dnscrypt.cc dnscrypt.hh \
@FUZZ_TARGETS_TRUE@ dnsdist-cache.cc dnsdist-cache.hh \
+@FUZZ_TARGETS_TRUE@ dnsdist-configuration.cc dnsdist-configuration.hh \
+@FUZZ_TARGETS_TRUE@ dnsdist-crypto.cc dnsdist-crypto.hh \
@FUZZ_TARGETS_TRUE@ dnsdist-dnsparser.cc dnsdist-dnsparser.hh \
+@FUZZ_TARGETS_TRUE@ dnsdist-dnsquestion.cc \
@FUZZ_TARGETS_TRUE@ dnsdist-ecs.cc dnsdist-ecs.hh \
-@FUZZ_TARGETS_TRUE@ dnsdist-idstate.hh \
+@FUZZ_TARGETS_TRUE@ dnsdist-idstate.cc dnsdist-idstate.hh \
+@FUZZ_TARGETS_TRUE@ dnsdist-logging.cc dnsdist-logging.hh \
+@FUZZ_TARGETS_TRUE@ dnsdist-opentelemetry.cc dnsdist-opentelemetry.hh \
@FUZZ_TARGETS_TRUE@ dnsdist-protocols.cc dnsdist-protocols.hh \
@FUZZ_TARGETS_TRUE@ dnslabeltext.cc \
@FUZZ_TARGETS_TRUE@ dnsname.cc dnsname.hh \
@FUZZ_TARGETS_TRUE@ dnsparser.cc dnsparser.hh \
@FUZZ_TARGETS_TRUE@ dnswriter.cc dnswriter.hh \
-@FUZZ_TARGETS_TRUE@ doh.hh \
+@FUZZ_TARGETS_TRUE@ dolog.cc dolog.hh \
@FUZZ_TARGETS_TRUE@ ednsoptions.cc ednsoptions.hh \
@FUZZ_TARGETS_TRUE@ ednssubnet.cc ednssubnet.hh \
+@FUZZ_TARGETS_TRUE@ ext/json11/json11.cpp \
+@FUZZ_TARGETS_TRUE@ ext/json11/json11.hpp \
@FUZZ_TARGETS_TRUE@ fuzz_dnsdistcache.cc \
+@FUZZ_TARGETS_TRUE@ gettime.cc gettime.hh \
@FUZZ_TARGETS_TRUE@ iputils.cc iputils.hh \
+@FUZZ_TARGETS_TRUE@ logging.cc logging.hh \
@FUZZ_TARGETS_TRUE@ misc.cc misc.hh \
@FUZZ_TARGETS_TRUE@ packetcache.hh \
+@FUZZ_TARGETS_TRUE@ protozero-trace.cc protozero-trace.hh \
@FUZZ_TARGETS_TRUE@ qtype.cc qtype.hh \
@FUZZ_TARGETS_TRUE@ svc-records.cc svc-records.hh
@@ -1486,7 +1703,7 @@
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
-.SUFFIXES: .cc .cpp .lo .log .o .obj .test .test$(EXEEXT) .trs
+.SUFFIXES: .c .cc .cpp .lo .log .o .obj .test .test$(EXEEXT) .trs
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/lua_hpp.mk $(am__configure_deps)
@@ -1527,12 +1744,12 @@
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
- @rm -f stamp-h1
- cd $(top_builddir) && $(SHELL) ./config.status config.h
+ $(AM_V_at)rm -f stamp-h1
+ $(AM_V_GEN)cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in: $(am__configure_deps)
- ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
- rm -f stamp-h1
- touch $@
+ $(AM_V_GEN)($(am__cd) $(top_srcdir) && $(AUTOHEADER))
+ $(AM_V_at)rm -f stamp-h1
+ $(AM_V_at)touch $@
distclean-hdr:
-rm -f config.h stamp-h1
@@ -1575,39 +1792,37 @@
`; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
- cd "$(DESTDIR)$(bindir)" && rm -f $$files
+ cd "$(DESTDIR)$(bindir)" && $(am__rm_f) $$files
clean-binPROGRAMS:
- @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
- echo " rm -f" $$list; \
- rm -f $$list || exit $$?; \
- test -n "$(EXEEXT)" || exit 0; \
- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
- echo " rm -f" $$list; \
- rm -f $$list
+ $(am__rm_f) $(bin_PROGRAMS)
+ test -z "$(EXEEXT)" || $(am__rm_f) $(bin_PROGRAMS:$(EXEEXT)=)
clean-noinstPROGRAMS:
- @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
- echo " rm -f" $$list; \
- rm -f $$list || exit $$?; \
- test -n "$(EXEEXT)" || exit 0; \
- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
- echo " rm -f" $$list; \
- rm -f $$list
+ $(am__rm_f) $(noinst_PROGRAMS)
+ test -z "$(EXEEXT)" || $(am__rm_f) $(noinst_PROGRAMS:$(EXEEXT)=)
ext/json11/$(am__dirstamp):
@$(MKDIR_P) ext/json11
- @: > ext/json11/$(am__dirstamp)
+ @: >>ext/json11/$(am__dirstamp)
ext/json11/$(DEPDIR)/$(am__dirstamp):
@$(MKDIR_P) ext/json11/$(DEPDIR)
- @: > ext/json11/$(DEPDIR)/$(am__dirstamp)
+ @: >>ext/json11/$(DEPDIR)/$(am__dirstamp)
ext/json11/json11.$(OBJEXT): ext/json11/$(am__dirstamp) \
ext/json11/$(DEPDIR)/$(am__dirstamp)
+ext/ipcrypt2/$(am__dirstamp):
+ @$(MKDIR_P) ext/ipcrypt2
+ @: >>ext/ipcrypt2/$(am__dirstamp)
+ext/ipcrypt2/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) ext/ipcrypt2/$(DEPDIR)
+ @: >>ext/ipcrypt2/$(DEPDIR)/$(am__dirstamp)
+ext/ipcrypt2/ipcrypt2.$(OBJEXT): ext/ipcrypt2/$(am__dirstamp) \
+ ext/ipcrypt2/$(DEPDIR)/$(am__dirstamp)
ext/lmdb-safe/$(am__dirstamp):
@$(MKDIR_P) ext/lmdb-safe
- @: > ext/lmdb-safe/$(am__dirstamp)
+ @: >>ext/lmdb-safe/$(am__dirstamp)
ext/lmdb-safe/$(DEPDIR)/$(am__dirstamp):
@$(MKDIR_P) ext/lmdb-safe/$(DEPDIR)
- @: > ext/lmdb-safe/$(DEPDIR)/$(am__dirstamp)
+ @: >>ext/lmdb-safe/$(DEPDIR)/$(am__dirstamp)
ext/lmdb-safe/lmdb-safe.$(OBJEXT): ext/lmdb-safe/$(am__dirstamp) \
ext/lmdb-safe/$(DEPDIR)/$(am__dirstamp)
@@ -1629,6 +1844,7 @@
mostlyclean-compile:
-rm -f *.$(OBJEXT)
+ -rm -f ext/ipcrypt2/*.$(OBJEXT)
-rm -f ext/json11/*.$(OBJEXT)
-rm -f ext/lmdb-safe/*.$(OBJEXT)
@@ -1644,24 +1860,36 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/devpollmplexer.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dns.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnscrypt.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-actions-factory.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-actions.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-async.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-backend.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-cache.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-carbon.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-concurrent-connections.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-configuration-yaml-items-generated.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-configuration-yaml.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-configuration.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-console-completion.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-console.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-crypto.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-discovery.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-dnscrypt.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-dnsparser.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-dnsquestion.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-doh-common.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-dynblocks.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-dynbpf.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-ecs.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-edns.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-frontend.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-healthchecks.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-idstate.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-internal-queries.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-ipcrypt2.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-kvs.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-lbpolicies.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-logging.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-lua-actions.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-lua-bindings-dnscrypt.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-lua-bindings-dnsparser.Po@am__quote@ # am--include-marker
@@ -1672,6 +1900,7 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-lua-bindings-protobuf.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-lua-bindings-rings.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-lua-bindings.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-lua-configuration-items.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-lua-ffi.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-lua-hooks.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-lua-inspection-ffi.Po@am__quote@ # am--include-marker
@@ -1685,22 +1914,26 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-metrics.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-nghttp2-in.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-nghttp2.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-opentelemetry.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-protobuf.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-protocols.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-proxy-protocol.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-query-count.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-random.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-resolver.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-rings.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-rule-chains.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-rules.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-secpoll.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-self-answers.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-session-cache.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-snmp.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-svc.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-systemd.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-tcp-downstream.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-tcp.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-udp.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-web.Po@am__quote@ # am--include-marker
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-xpf.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist-xsk.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsdist.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnslabeltext.Po@am__quote@ # am--include-marker
@@ -1708,7 +1941,6 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsparser.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnstap.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnswriter.Po@am__quote@ # am--include-marker
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/doh.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/doh3.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dolog.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/doq-common.Po@am__quote@ # am--include-marker
@@ -1726,13 +1958,16 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iputils.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kqueuemplexer.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libssl.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/logging.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pollmplexer.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/portsmplexer.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/protozero-trace.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/protozero.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/proxy-protocol.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qtype.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_logger.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote_logger_pool.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snmp-agent.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statnode.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/svc-records.Po@am__quote@ # am--include-marker
@@ -1742,10 +1977,16 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-connectionmanagement_hh.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-credentials_cc.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-delaypipe_hh.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dns_cc.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnscrypt_cc.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdist-concurrent-connections.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdist-connections-cache.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdist-dnsparser.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdist-ipcrypt2_cc.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdist-lua-ffi.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdist-opentelemetry_cc.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdist-session-cache.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdist-xsk.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdist_cc.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdistasync.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdistbackend_cc.Po@am__quote@ # am--include-marker
@@ -1760,6 +2001,7 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdistpacketcache_cc.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdistrings_cc.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdistrules_cc.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdistserverpool.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdistsvc_cc.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsdisttcp_cc.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dnsparser_cc.Po@am__quote@ # am--include-marker
@@ -1767,20 +2009,45 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-luawrapper.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-mplexer.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-proxy_protocol_cc.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sholder_hh.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testrunner.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/threadname.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uuid-utils.Po@am__quote@ # am--include-marker
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xpf.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsk.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@ext/ipcrypt2/$(DEPDIR)/ipcrypt2.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@ext/json11/$(DEPDIR)/json11.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@ext/lmdb-safe/$(DEPDIR)/lmdb-safe.Po@am__quote@ # am--include-marker
$(am__depfiles_remade):
@$(MKDIR_P) $(@D)
- @echo '# dummy' >$@-t && $(am__mv) $@-t $@
+ @: >>$@
am--depfiles: $(am__depfiles_remade)
+.c.o:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
+
.cc.o:
@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
@@ -2042,7 +2309,6 @@
am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
am--force-recheck:
@:
-
$(TEST_SUITE_LOG): $(TEST_LOGS)
@$(am__set_TESTS_bases); \
am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
@@ -2118,10 +2384,37 @@
result_count $$1 "XPASS:" $$xpass "$$red"; \
result_count $$1 "ERROR:" $$error "$$mgn"; \
}; \
+ output_system_information () \
+ { \
+ echo; \
+ { uname -a | $(AWK) '{ \
+ printf "System information (uname -a):"; \
+ for (i = 1; i < NF; ++i) \
+ { \
+ if (i != 2) \
+ printf " %s", $$i; \
+ } \
+ printf "\n"; \
+}'; } 2>&1; \
+ if test -r /etc/os-release; then \
+ echo "Distribution information (/etc/os-release):"; \
+ sed 8q /etc/os-release; \
+ elif test -r /etc/issue; then \
+ echo "Distribution information (/etc/issue):"; \
+ cat /etc/issue; \
+ fi; \
+ }; \
+ please_report () \
+ { \
+echo "Some test(s) failed. Please report this to $(PACKAGE_BUGREPORT),"; \
+echo "together with the test-suite.log file (gzipped) and your system"; \
+echo "information. Thanks."; \
+ }; \
{ \
echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
$(am__rst_title); \
create_testsuite_report --no-color; \
+ output_system_information; \
echo; \
echo ".. contents:: :depth: 2"; \
echo; \
@@ -2141,26 +2434,25 @@
create_testsuite_report --maybe-color; \
echo "$$col$$br$$std"; \
if $$success; then :; else \
- echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG) for debugging.$${std}";\
if test -n "$(PACKAGE_BUGREPORT)"; then \
- echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ please_report | sed -e "s/^/$${col}/" -e s/'$$'/"$${std}"/; \
fi; \
echo "$$col$$br$$std"; \
fi; \
$$success || exit 1
check-TESTS:
- @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
- @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
- @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @$(am__rm_f) $(RECHECK_LOGS)
+ @$(am__rm_f) $(RECHECK_LOGS:.log=.trs)
+ @$(am__rm_f) $(TEST_SUITE_LOG)
@set +e; $(am__set_TESTS_bases); \
log_list=`for i in $$bases; do echo $$i.log; done`; \
- trs_list=`for i in $$bases; do echo $$i.trs; done`; \
- log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ log_list=`echo $$log_list`; \
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
exit $$?;
recheck: all
- @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @$(am__rm_f) $(TEST_SUITE_LOG)
@set +e; $(am__set_TESTS_bases); \
bases=`for i in $$bases; do echo $$i; done \
| $(am__list_recheck_tests)` || exit 1; \
@@ -2196,7 +2488,7 @@
distdir-am: $(DISTFILES)
$(am__remove_distdir)
- test -d "$(distdir)" || mkdir "$(distdir)"
+ $(AM_V_at)$(MKDIR_P) "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
@@ -2306,7 +2598,7 @@
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
- eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
+ eval GZIP= gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
@@ -2316,7 +2608,7 @@
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
- eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
+ eval GZIP= gzip -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
*.tar.zst*) \
@@ -2420,25 +2712,27 @@
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
- -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
- -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
- -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ -$(am__rm_f) $(TEST_LOGS)
+ -$(am__rm_f) $(TEST_LOGS:.log=.trs)
+ -$(am__rm_f) $(TEST_SUITE_LOG)
clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+ -$(am__rm_f) $(CLEANFILES)
distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- -rm -f ext/json11/$(DEPDIR)/$(am__dirstamp)
- -rm -f ext/json11/$(am__dirstamp)
- -rm -f ext/lmdb-safe/$(DEPDIR)/$(am__dirstamp)
- -rm -f ext/lmdb-safe/$(am__dirstamp)
+ -$(am__rm_f) $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
+ -$(am__rm_f) ext/ipcrypt2/$(DEPDIR)/$(am__dirstamp)
+ -$(am__rm_f) ext/ipcrypt2/$(am__dirstamp)
+ -$(am__rm_f) ext/json11/$(DEPDIR)/$(am__dirstamp)
+ -$(am__rm_f) ext/json11/$(am__dirstamp)
+ -$(am__rm_f) ext/lmdb-safe/$(DEPDIR)/$(am__dirstamp)
+ -$(am__rm_f) ext/lmdb-safe/$(am__dirstamp)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
- -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+ -$(am__rm_f) $(BUILT_SOURCES)
clean: clean-recursive
clean-am: clean-binPROGRAMS clean-generic clean-libtool \
@@ -2446,7 +2740,7 @@
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -f ./$(DEPDIR)/bpf-filter.Po
+ -rm -f ./$(DEPDIR)/bpf-filter.Po
-rm -f ./$(DEPDIR)/capabilities.Po
-rm -f ./$(DEPDIR)/cdb.Po
-rm -f ./$(DEPDIR)/channel.Po
@@ -2455,24 +2749,36 @@
-rm -f ./$(DEPDIR)/devpollmplexer.Po
-rm -f ./$(DEPDIR)/dns.Po
-rm -f ./$(DEPDIR)/dnscrypt.Po
+ -rm -f ./$(DEPDIR)/dnsdist-actions-factory.Po
+ -rm -f ./$(DEPDIR)/dnsdist-actions.Po
-rm -f ./$(DEPDIR)/dnsdist-async.Po
-rm -f ./$(DEPDIR)/dnsdist-backend.Po
-rm -f ./$(DEPDIR)/dnsdist-cache.Po
-rm -f ./$(DEPDIR)/dnsdist-carbon.Po
+ -rm -f ./$(DEPDIR)/dnsdist-concurrent-connections.Po
+ -rm -f ./$(DEPDIR)/dnsdist-configuration-yaml-items-generated.Po
+ -rm -f ./$(DEPDIR)/dnsdist-configuration-yaml.Po
+ -rm -f ./$(DEPDIR)/dnsdist-configuration.Po
+ -rm -f ./$(DEPDIR)/dnsdist-console-completion.Po
-rm -f ./$(DEPDIR)/dnsdist-console.Po
-rm -f ./$(DEPDIR)/dnsdist-crypto.Po
-rm -f ./$(DEPDIR)/dnsdist-discovery.Po
-rm -f ./$(DEPDIR)/dnsdist-dnscrypt.Po
-rm -f ./$(DEPDIR)/dnsdist-dnsparser.Po
+ -rm -f ./$(DEPDIR)/dnsdist-dnsquestion.Po
-rm -f ./$(DEPDIR)/dnsdist-doh-common.Po
-rm -f ./$(DEPDIR)/dnsdist-dynblocks.Po
-rm -f ./$(DEPDIR)/dnsdist-dynbpf.Po
-rm -f ./$(DEPDIR)/dnsdist-ecs.Po
-rm -f ./$(DEPDIR)/dnsdist-edns.Po
+ -rm -f ./$(DEPDIR)/dnsdist-frontend.Po
-rm -f ./$(DEPDIR)/dnsdist-healthchecks.Po
+ -rm -f ./$(DEPDIR)/dnsdist-idstate.Po
-rm -f ./$(DEPDIR)/dnsdist-internal-queries.Po
+ -rm -f ./$(DEPDIR)/dnsdist-ipcrypt2.Po
-rm -f ./$(DEPDIR)/dnsdist-kvs.Po
-rm -f ./$(DEPDIR)/dnsdist-lbpolicies.Po
+ -rm -f ./$(DEPDIR)/dnsdist-logging.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-actions.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-bindings-dnscrypt.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-bindings-dnsparser.Po
@@ -2483,6 +2789,7 @@
-rm -f ./$(DEPDIR)/dnsdist-lua-bindings-protobuf.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-bindings-rings.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-bindings.Po
+ -rm -f ./$(DEPDIR)/dnsdist-lua-configuration-items.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-ffi.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-hooks.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-inspection-ffi.Po
@@ -2496,22 +2803,26 @@
-rm -f ./$(DEPDIR)/dnsdist-metrics.Po
-rm -f ./$(DEPDIR)/dnsdist-nghttp2-in.Po
-rm -f ./$(DEPDIR)/dnsdist-nghttp2.Po
+ -rm -f ./$(DEPDIR)/dnsdist-opentelemetry.Po
-rm -f ./$(DEPDIR)/dnsdist-protobuf.Po
-rm -f ./$(DEPDIR)/dnsdist-protocols.Po
-rm -f ./$(DEPDIR)/dnsdist-proxy-protocol.Po
+ -rm -f ./$(DEPDIR)/dnsdist-query-count.Po
-rm -f ./$(DEPDIR)/dnsdist-random.Po
-rm -f ./$(DEPDIR)/dnsdist-resolver.Po
-rm -f ./$(DEPDIR)/dnsdist-rings.Po
+ -rm -f ./$(DEPDIR)/dnsdist-rule-chains.Po
-rm -f ./$(DEPDIR)/dnsdist-rules.Po
-rm -f ./$(DEPDIR)/dnsdist-secpoll.Po
+ -rm -f ./$(DEPDIR)/dnsdist-self-answers.Po
-rm -f ./$(DEPDIR)/dnsdist-session-cache.Po
-rm -f ./$(DEPDIR)/dnsdist-snmp.Po
-rm -f ./$(DEPDIR)/dnsdist-svc.Po
-rm -f ./$(DEPDIR)/dnsdist-systemd.Po
-rm -f ./$(DEPDIR)/dnsdist-tcp-downstream.Po
-rm -f ./$(DEPDIR)/dnsdist-tcp.Po
+ -rm -f ./$(DEPDIR)/dnsdist-udp.Po
-rm -f ./$(DEPDIR)/dnsdist-web.Po
- -rm -f ./$(DEPDIR)/dnsdist-xpf.Po
-rm -f ./$(DEPDIR)/dnsdist-xsk.Po
-rm -f ./$(DEPDIR)/dnsdist.Po
-rm -f ./$(DEPDIR)/dnslabeltext.Po
@@ -2519,7 +2830,6 @@
-rm -f ./$(DEPDIR)/dnsparser.Po
-rm -f ./$(DEPDIR)/dnstap.Po
-rm -f ./$(DEPDIR)/dnswriter.Po
- -rm -f ./$(DEPDIR)/doh.Po
-rm -f ./$(DEPDIR)/doh3.Po
-rm -f ./$(DEPDIR)/dolog.Po
-rm -f ./$(DEPDIR)/doq-common.Po
@@ -2537,13 +2847,16 @@
-rm -f ./$(DEPDIR)/iputils.Po
-rm -f ./$(DEPDIR)/kqueuemplexer.Po
-rm -f ./$(DEPDIR)/libssl.Po
+ -rm -f ./$(DEPDIR)/logging.Po
-rm -f ./$(DEPDIR)/misc.Po
-rm -f ./$(DEPDIR)/pollmplexer.Po
-rm -f ./$(DEPDIR)/portsmplexer.Po
+ -rm -f ./$(DEPDIR)/protozero-trace.Po
-rm -f ./$(DEPDIR)/protozero.Po
-rm -f ./$(DEPDIR)/proxy-protocol.Po
-rm -f ./$(DEPDIR)/qtype.Po
-rm -f ./$(DEPDIR)/remote_logger.Po
+ -rm -f ./$(DEPDIR)/remote_logger_pool.Po
-rm -f ./$(DEPDIR)/snmp-agent.Po
-rm -f ./$(DEPDIR)/statnode.Po
-rm -f ./$(DEPDIR)/svc-records.Po
@@ -2553,10 +2866,16 @@
-rm -f ./$(DEPDIR)/test-connectionmanagement_hh.Po
-rm -f ./$(DEPDIR)/test-credentials_cc.Po
-rm -f ./$(DEPDIR)/test-delaypipe_hh.Po
+ -rm -f ./$(DEPDIR)/test-dns_cc.Po
-rm -f ./$(DEPDIR)/test-dnscrypt_cc.Po
+ -rm -f ./$(DEPDIR)/test-dnsdist-concurrent-connections.Po
-rm -f ./$(DEPDIR)/test-dnsdist-connections-cache.Po
-rm -f ./$(DEPDIR)/test-dnsdist-dnsparser.Po
+ -rm -f ./$(DEPDIR)/test-dnsdist-ipcrypt2_cc.Po
-rm -f ./$(DEPDIR)/test-dnsdist-lua-ffi.Po
+ -rm -f ./$(DEPDIR)/test-dnsdist-opentelemetry_cc.Po
+ -rm -f ./$(DEPDIR)/test-dnsdist-session-cache.Po
+ -rm -f ./$(DEPDIR)/test-dnsdist-xsk.Po
-rm -f ./$(DEPDIR)/test-dnsdist_cc.Po
-rm -f ./$(DEPDIR)/test-dnsdistasync.Po
-rm -f ./$(DEPDIR)/test-dnsdistbackend_cc.Po
@@ -2571,6 +2890,7 @@
-rm -f ./$(DEPDIR)/test-dnsdistpacketcache_cc.Po
-rm -f ./$(DEPDIR)/test-dnsdistrings_cc.Po
-rm -f ./$(DEPDIR)/test-dnsdistrules_cc.Po
+ -rm -f ./$(DEPDIR)/test-dnsdistserverpool.Po
-rm -f ./$(DEPDIR)/test-dnsdistsvc_cc.Po
-rm -f ./$(DEPDIR)/test-dnsdisttcp_cc.Po
-rm -f ./$(DEPDIR)/test-dnsparser_cc.Po
@@ -2578,11 +2898,12 @@
-rm -f ./$(DEPDIR)/test-luawrapper.Po
-rm -f ./$(DEPDIR)/test-mplexer.Po
-rm -f ./$(DEPDIR)/test-proxy_protocol_cc.Po
+ -rm -f ./$(DEPDIR)/test-sholder_hh.Po
-rm -f ./$(DEPDIR)/testrunner.Po
-rm -f ./$(DEPDIR)/threadname.Po
-rm -f ./$(DEPDIR)/uuid-utils.Po
- -rm -f ./$(DEPDIR)/xpf.Po
-rm -f ./$(DEPDIR)/xsk.Po
+ -rm -f ext/ipcrypt2/$(DEPDIR)/ipcrypt2.Po
-rm -f ext/json11/$(DEPDIR)/json11.Po
-rm -f ext/lmdb-safe/$(DEPDIR)/lmdb-safe.Po
-rm -f Makefile
@@ -2632,7 +2953,7 @@
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
- -rm -f ./$(DEPDIR)/bpf-filter.Po
+ -rm -f ./$(DEPDIR)/bpf-filter.Po
-rm -f ./$(DEPDIR)/capabilities.Po
-rm -f ./$(DEPDIR)/cdb.Po
-rm -f ./$(DEPDIR)/channel.Po
@@ -2641,24 +2962,36 @@
-rm -f ./$(DEPDIR)/devpollmplexer.Po
-rm -f ./$(DEPDIR)/dns.Po
-rm -f ./$(DEPDIR)/dnscrypt.Po
+ -rm -f ./$(DEPDIR)/dnsdist-actions-factory.Po
+ -rm -f ./$(DEPDIR)/dnsdist-actions.Po
-rm -f ./$(DEPDIR)/dnsdist-async.Po
-rm -f ./$(DEPDIR)/dnsdist-backend.Po
-rm -f ./$(DEPDIR)/dnsdist-cache.Po
-rm -f ./$(DEPDIR)/dnsdist-carbon.Po
+ -rm -f ./$(DEPDIR)/dnsdist-concurrent-connections.Po
+ -rm -f ./$(DEPDIR)/dnsdist-configuration-yaml-items-generated.Po
+ -rm -f ./$(DEPDIR)/dnsdist-configuration-yaml.Po
+ -rm -f ./$(DEPDIR)/dnsdist-configuration.Po
+ -rm -f ./$(DEPDIR)/dnsdist-console-completion.Po
-rm -f ./$(DEPDIR)/dnsdist-console.Po
-rm -f ./$(DEPDIR)/dnsdist-crypto.Po
-rm -f ./$(DEPDIR)/dnsdist-discovery.Po
-rm -f ./$(DEPDIR)/dnsdist-dnscrypt.Po
-rm -f ./$(DEPDIR)/dnsdist-dnsparser.Po
+ -rm -f ./$(DEPDIR)/dnsdist-dnsquestion.Po
-rm -f ./$(DEPDIR)/dnsdist-doh-common.Po
-rm -f ./$(DEPDIR)/dnsdist-dynblocks.Po
-rm -f ./$(DEPDIR)/dnsdist-dynbpf.Po
-rm -f ./$(DEPDIR)/dnsdist-ecs.Po
-rm -f ./$(DEPDIR)/dnsdist-edns.Po
+ -rm -f ./$(DEPDIR)/dnsdist-frontend.Po
-rm -f ./$(DEPDIR)/dnsdist-healthchecks.Po
+ -rm -f ./$(DEPDIR)/dnsdist-idstate.Po
-rm -f ./$(DEPDIR)/dnsdist-internal-queries.Po
+ -rm -f ./$(DEPDIR)/dnsdist-ipcrypt2.Po
-rm -f ./$(DEPDIR)/dnsdist-kvs.Po
-rm -f ./$(DEPDIR)/dnsdist-lbpolicies.Po
+ -rm -f ./$(DEPDIR)/dnsdist-logging.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-actions.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-bindings-dnscrypt.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-bindings-dnsparser.Po
@@ -2669,6 +3002,7 @@
-rm -f ./$(DEPDIR)/dnsdist-lua-bindings-protobuf.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-bindings-rings.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-bindings.Po
+ -rm -f ./$(DEPDIR)/dnsdist-lua-configuration-items.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-ffi.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-hooks.Po
-rm -f ./$(DEPDIR)/dnsdist-lua-inspection-ffi.Po
@@ -2682,22 +3016,26 @@
-rm -f ./$(DEPDIR)/dnsdist-metrics.Po
-rm -f ./$(DEPDIR)/dnsdist-nghttp2-in.Po
-rm -f ./$(DEPDIR)/dnsdist-nghttp2.Po
+ -rm -f ./$(DEPDIR)/dnsdist-opentelemetry.Po
-rm -f ./$(DEPDIR)/dnsdist-protobuf.Po
-rm -f ./$(DEPDIR)/dnsdist-protocols.Po
-rm -f ./$(DEPDIR)/dnsdist-proxy-protocol.Po
+ -rm -f ./$(DEPDIR)/dnsdist-query-count.Po
-rm -f ./$(DEPDIR)/dnsdist-random.Po
-rm -f ./$(DEPDIR)/dnsdist-resolver.Po
-rm -f ./$(DEPDIR)/dnsdist-rings.Po
+ -rm -f ./$(DEPDIR)/dnsdist-rule-chains.Po
-rm -f ./$(DEPDIR)/dnsdist-rules.Po
-rm -f ./$(DEPDIR)/dnsdist-secpoll.Po
+ -rm -f ./$(DEPDIR)/dnsdist-self-answers.Po
-rm -f ./$(DEPDIR)/dnsdist-session-cache.Po
-rm -f ./$(DEPDIR)/dnsdist-snmp.Po
-rm -f ./$(DEPDIR)/dnsdist-svc.Po
-rm -f ./$(DEPDIR)/dnsdist-systemd.Po
-rm -f ./$(DEPDIR)/dnsdist-tcp-downstream.Po
-rm -f ./$(DEPDIR)/dnsdist-tcp.Po
+ -rm -f ./$(DEPDIR)/dnsdist-udp.Po
-rm -f ./$(DEPDIR)/dnsdist-web.Po
- -rm -f ./$(DEPDIR)/dnsdist-xpf.Po
-rm -f ./$(DEPDIR)/dnsdist-xsk.Po
-rm -f ./$(DEPDIR)/dnsdist.Po
-rm -f ./$(DEPDIR)/dnslabeltext.Po
@@ -2705,7 +3043,6 @@
-rm -f ./$(DEPDIR)/dnsparser.Po
-rm -f ./$(DEPDIR)/dnstap.Po
-rm -f ./$(DEPDIR)/dnswriter.Po
- -rm -f ./$(DEPDIR)/doh.Po
-rm -f ./$(DEPDIR)/doh3.Po
-rm -f ./$(DEPDIR)/dolog.Po
-rm -f ./$(DEPDIR)/doq-common.Po
@@ -2723,13 +3060,16 @@
-rm -f ./$(DEPDIR)/iputils.Po
-rm -f ./$(DEPDIR)/kqueuemplexer.Po
-rm -f ./$(DEPDIR)/libssl.Po
+ -rm -f ./$(DEPDIR)/logging.Po
-rm -f ./$(DEPDIR)/misc.Po
-rm -f ./$(DEPDIR)/pollmplexer.Po
-rm -f ./$(DEPDIR)/portsmplexer.Po
+ -rm -f ./$(DEPDIR)/protozero-trace.Po
-rm -f ./$(DEPDIR)/protozero.Po
-rm -f ./$(DEPDIR)/proxy-protocol.Po
-rm -f ./$(DEPDIR)/qtype.Po
-rm -f ./$(DEPDIR)/remote_logger.Po
+ -rm -f ./$(DEPDIR)/remote_logger_pool.Po
-rm -f ./$(DEPDIR)/snmp-agent.Po
-rm -f ./$(DEPDIR)/statnode.Po
-rm -f ./$(DEPDIR)/svc-records.Po
@@ -2739,10 +3079,16 @@
-rm -f ./$(DEPDIR)/test-connectionmanagement_hh.Po
-rm -f ./$(DEPDIR)/test-credentials_cc.Po
-rm -f ./$(DEPDIR)/test-delaypipe_hh.Po
+ -rm -f ./$(DEPDIR)/test-dns_cc.Po
-rm -f ./$(DEPDIR)/test-dnscrypt_cc.Po
+ -rm -f ./$(DEPDIR)/test-dnsdist-concurrent-connections.Po
-rm -f ./$(DEPDIR)/test-dnsdist-connections-cache.Po
-rm -f ./$(DEPDIR)/test-dnsdist-dnsparser.Po
+ -rm -f ./$(DEPDIR)/test-dnsdist-ipcrypt2_cc.Po
-rm -f ./$(DEPDIR)/test-dnsdist-lua-ffi.Po
+ -rm -f ./$(DEPDIR)/test-dnsdist-opentelemetry_cc.Po
+ -rm -f ./$(DEPDIR)/test-dnsdist-session-cache.Po
+ -rm -f ./$(DEPDIR)/test-dnsdist-xsk.Po
-rm -f ./$(DEPDIR)/test-dnsdist_cc.Po
-rm -f ./$(DEPDIR)/test-dnsdistasync.Po
-rm -f ./$(DEPDIR)/test-dnsdistbackend_cc.Po
@@ -2757,6 +3103,7 @@
-rm -f ./$(DEPDIR)/test-dnsdistpacketcache_cc.Po
-rm -f ./$(DEPDIR)/test-dnsdistrings_cc.Po
-rm -f ./$(DEPDIR)/test-dnsdistrules_cc.Po
+ -rm -f ./$(DEPDIR)/test-dnsdistserverpool.Po
-rm -f ./$(DEPDIR)/test-dnsdistsvc_cc.Po
-rm -f ./$(DEPDIR)/test-dnsdisttcp_cc.Po
-rm -f ./$(DEPDIR)/test-dnsparser_cc.Po
@@ -2764,11 +3111,12 @@
-rm -f ./$(DEPDIR)/test-luawrapper.Po
-rm -f ./$(DEPDIR)/test-mplexer.Po
-rm -f ./$(DEPDIR)/test-proxy_protocol_cc.Po
+ -rm -f ./$(DEPDIR)/test-sholder_hh.Po
-rm -f ./$(DEPDIR)/testrunner.Po
-rm -f ./$(DEPDIR)/threadname.Po
-rm -f ./$(DEPDIR)/uuid-utils.Po
- -rm -f ./$(DEPDIR)/xpf.Po
-rm -f ./$(DEPDIR)/xsk.Po
+ -rm -f ext/ipcrypt2/$(DEPDIR)/ipcrypt2.Po
-rm -f ext/json11/$(DEPDIR)/json11.Po
-rm -f ext/lmdb-safe/$(DEPDIR)/lmdb-safe.Po
-rm -f Makefile
@@ -2832,6 +3180,16 @@
@cat $^ >> $@
@echo ')FFIContent"' >> $@
+dnsdist%generated-body.hh dnsdist%generated.hh: dnsdist-rules-generator.py dnsdist-actions-definitions.yml dnsdist-response-actions-definitions.yml dnsdist-selectors-definitions.yml
+ @if test "$(PYTHON)" = ":"; then echo "Actions or selectors definitions have changed, python is needed to regenerate the related files but python was not found. Please install python and re-run configure"; exit 1; fi
+ @if ! $(PYTHON) --version | grep -q "Python 3"; then echo $(PYTHON) should be at least version 3. Please install python 3 and re-run configure; exit 1; fi
+ $(PYTHON) ${srcdir}/dnsdist-rules-generator.py ${srcdir} .
+
+docs/reference/yaml-%.rst: dnsdist-settings-documentation-generator.py dnsdist-settings-definitions.yml dnsdist-actions-definitions.yml dnsdist-response-actions-definitions.yml dnsdist-selectors-definitions.yml
+ @if test "$(PYTHON)" = ":"; then echo "Settings definitions have changed, python is needed to regenerate the related files but python was not found. Please install python and re-run configure"; exit 1; fi
+ @if ! $(PYTHON) --version | grep -q "Python 3"; then echo $(PYTHON) should be at least version 3. Please install python 3 and re-run configure; exit 1; fi
+ $(PYTHON) ${srcdir}/dnsdist-settings-documentation-generator.py ${srcdir}
+
html/js/%.min.js: src_js/%.js
uglifyjs $< > $@
@@ -2850,7 +3208,7 @@
@FUZZ_TARGETS_TRUE@fuzz_targets: $(ARC4RANDOM_LIBS) $(fuzz_targets_programs)
@HAVE_MANPAGES_FALSE@@HAVE_VENV_TRUE@$(MANPAGES): %: docs/manpages/%.rst .venv
-@HAVE_MANPAGES_FALSE@@HAVE_VENV_TRUE@ $(AM_V_GEN).venv/bin/python -msphinx -b man docs . $<
+@HAVE_MANPAGES_FALSE@@HAVE_VENV_TRUE@ $(AM_V_GEN).venv/bin/python -msphinx -b man ${srcdir}/docs . $<
@HAVE_VENV_TRUE@.venv: docs/requirements.txt
@HAVE_VENV_TRUE@ $(PYTHON) -m venv .venv
@@ -2927,3 +3285,10 @@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
+
+# Tell GNU make to disable its built-in pattern rules.
+%:: %,v
+%:: RCS/%,v
+%:: RCS/%
+%:: s.%
+%:: SCCS/s.%
diff -Nru dnsdist-1.9.16/NOTICE dnsdist-2.1.3/NOTICE
--- dnsdist-1.9.16/NOTICE 1970-01-01 00:00:00.000000000 +0000
+++ dnsdist-2.1.3/NOTICE 2026-10-08 15:17:50.000000000 +0000
@@ -0,0 +1,16 @@
+This program is free software; you can redistribute it and/or modify
+it under the terms of version 2 of the GNU General Public License as
+published by the Free Software Foundation.
+
+In addition, for the avoidance of any doubt, permission is granted to
+link this program with OpenSSL and to (re)distribute the binaries
+produced as the result of such linking.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
diff -Nru dnsdist-1.9.16/aclocal.m4 dnsdist-2.1.3/aclocal.m4
--- dnsdist-1.9.16/aclocal.m4 2026-08-05 14:29:25.000000000 +0000
+++ dnsdist-2.1.3/aclocal.m4 2026-10-12 07:14:51.558768300 +0000
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
+# generated automatically by aclocal 1.17 -*- Autoconf -*-
-# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+# Copyright (C) 1996-2024 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -14,8 +14,8 @@
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
-[m4_warning([this file was generated for autoconf 2.71.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.72],,
+[m4_warning([this file was generated for autoconf 2.72.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
@@ -68,8 +68,8 @@
[m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
])dnl PKG_PREREQ
-dnl PKG_PROG_PKG_CONFIG([MIN-VERSION])
-dnl ----------------------------------
+dnl PKG_PROG_PKG_CONFIG([MIN-VERSION], [ACTION-IF-NOT-FOUND])
+dnl ---------------------------------------------------------
dnl Since: 0.16
dnl
dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
@@ -77,6 +77,12 @@
dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
dnl used since that's the first version where most current features of
dnl pkg-config existed.
+dnl
+dnl If pkg-config is not found or older than specified, it will result
+dnl in an empty PKG_CONFIG variable. To avoid widespread issues with
+dnl scripts not checking it, ACTION-IF-NOT-FOUND defaults to aborting.
+dnl You can specify [PKG_CONFIG=false] as an action instead, which would
+dnl result in pkg-config tests failing, but no bogus error messages.
AC_DEFUN([PKG_PROG_PKG_CONFIG],
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
@@ -97,6 +103,9 @@
AC_MSG_RESULT([no])
PKG_CONFIG=""
fi
+fi
+if test -z "$PKG_CONFIG"; then
+ m4_default([$2], [AC_MSG_ERROR([pkg-config not found])])
fi[]dnl
])dnl PKG_PROG_PKG_CONFIG
@@ -364,7 +373,7 @@
[AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])])
])dnl PKG_HAVE_DEFINE_WITH_MODULES
-# Copyright (C) 2002-2021 Free Software Foundation, Inc.
+# Copyright (C) 2002-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -376,10 +385,10 @@
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.16'
+[am__api_version='1.17'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.16.5], [],
+m4_if([$1], [1.17], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -395,14 +404,14 @@
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.16.5])dnl
+[AM_AUTOMAKE_VERSION([1.17])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
-# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+# Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -454,7 +463,7 @@
# AM_COND_IF -*- Autoconf -*-
-# Copyright (C) 2008-2021 Free Software Foundation, Inc.
+# Copyright (C) 2008-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -491,7 +500,7 @@
# AM_CONDITIONAL -*- Autoconf -*-
-# Copyright (C) 1997-2021 Free Software Foundation, Inc.
+# Copyright (C) 1997-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -522,7 +531,7 @@
Usually this means the macro was only invoked conditionally.]])
fi])])
-# Copyright (C) 1999-2021 Free Software Foundation, Inc.
+# Copyright (C) 1999-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -654,7 +663,7 @@
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # When given -MP, icc 7.0 and 7.1 complain thus:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
@@ -713,7 +722,7 @@
# Generate code to set up dependency tracking. -*- Autoconf -*-
-# Copyright (C) 1999-2021 Free Software Foundation, Inc.
+# Copyright (C) 1999-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -781,7 +790,7 @@
# Do all the work for Automake. -*- Autoconf -*-
-# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+# Copyright (C) 1996-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -915,7 +924,7 @@
fi
AC_SUBST([CSCOPE])
-AC_REQUIRE([AM_SILENT_RULES])dnl
+AC_REQUIRE([_AM_SILENT_RULES])dnl
dnl The testsuite driver may need to know about EXEEXT, so add the
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
@@ -923,47 +932,9 @@
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
-# POSIX will say in a future version that running "rm -f" with no argument
-# is OK; and we want to be able to make that assumption in our Makefile
-# recipes. So use an aggressive probe to check that the usage we want is
-# actually supported "in the wild" to an acceptable degree.
-# See automake bug#10828.
-# To make any issue more visible, cause the running configure to be aborted
-# by default if the 'rm' program in use doesn't match our expectations; the
-# user can still override this though.
-if rm -f && rm -fr && rm -rf; then : OK; else
- cat >&2 <<'END'
-Oops!
-
-Your 'rm' program seems unable to run without file operands specified
-on the command line, even when the '-f' option is present. This is contrary
-to the behaviour of most rm programs out there, and not conforming with
-the upcoming POSIX standard:
-
-Please tell bug-automake@gnu.org about your system, including the value
-of your $PATH and any error possibly output before this message. This
-can help us improve future automake versions.
-
-END
- if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
- echo 'Configuration will proceed anyway, since you have set the' >&2
- echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
- echo >&2
- else
- cat >&2 <<'END'
-Aborting the configuration process, to ensure you take notice of the issue.
-
-You can download and install GNU coreutils to get an 'rm' implementation
-that behaves properly: .
+AC_REQUIRE([_AM_PROG_RM_F])
+AC_REQUIRE([_AM_PROG_XARGS_N])
-If you want to complete the configuration process using your problematic
-'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
-to "yes", and re-run configure.
-
-END
- AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
- fi
-fi
dnl The trailing newline in this macro's definition is deliberate, for
dnl backward compatibility and to allow trailing 'dnl'-style comments
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
@@ -996,7 +967,7 @@
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
-# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+# Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1017,7 +988,7 @@
fi
AC_SUBST([install_sh])])
-# Copyright (C) 2003-2021 Free Software Foundation, Inc.
+# Copyright (C) 2003-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1038,7 +1009,7 @@
# Check to see how 'make' treats includes. -*- Autoconf -*-
-# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+# Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1081,7 +1052,7 @@
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-# Copyright (C) 1997-2021 Free Software Foundation, Inc.
+# Copyright (C) 1997-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1115,7 +1086,7 @@
# Helper functions for option handling. -*- Autoconf -*-
-# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+# Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1144,7 +1115,7 @@
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-# Copyright (C) 1999-2021 Free Software Foundation, Inc.
+# Copyright (C) 1999-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1191,7 +1162,7 @@
# For backward compatibility.
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
-# Copyright (C) 1999-2021 Free Software Foundation, Inc.
+# Copyright (C) 1999-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1225,10 +1196,12 @@
dnl Find a Python interpreter. Python versions prior to 2.0 are not
dnl supported. (2.0 was released on October 16, 2000).
m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
-[python python2 python3 dnl
+[python python3 dnl
+ python3.20 python3.19 python3.18 python3.17 python3.16 dnl
python3.15 python3.14 python3.13 python3.12 python3.11 python3.10 dnl
python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 dnl
python3.2 python3.1 python3.0 dnl
+ python2 dnl
python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl
python2.0])
@@ -1423,15 +1396,29 @@
if python_implementation() == 'CPython' and sys.version[[:3]] == '2.7':
can_use_sysconfig = 0
except ImportError:
- pass"
+ pass" # end of am_python_setup_sysconfig
+
+ # More repeated code, for figuring out the installation scheme to use.
+ am_python_setup_scheme="if hasattr(sysconfig, 'get_default_scheme'):
+ scheme = sysconfig.get_default_scheme()
+ else:
+ scheme = sysconfig._get_default_scheme()
+ if scheme == 'posix_local':
+ if '$am_py_prefix' == '/usr':
+ scheme = 'deb_system' # should only happen during Debian package builds
+ else:
+ # Debian's default scheme installs to /usr/local/ but we want to
+ # follow the prefix, as we always have.
+ # See bugs#54412, #64837, et al.
+ scheme = 'posix_prefix'" # end of am_python_setup_scheme
dnl emacs-page Set up 4 directories:
dnl 1. pythondir: where to install python scripts. This is the
dnl site-packages directory, not the python standard library
- dnl directory like in previous automake betas. This behavior
+ dnl directory as in early automake betas. This behavior
dnl is more consistent with lispdir.m4 for example.
- dnl Query distutils for this directory.
+ dnl Query sysconfig or distutils (per above) for this directory.
dnl
AC_CACHE_CHECK([for $am_display_PYTHON script directory (pythondir)],
[am_cv_python_pythondir],
@@ -1443,7 +1430,11 @@
am_cv_python_pythondir=`$PYTHON -c "
$am_python_setup_sysconfig
if can_use_sysconfig:
- sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
+ try:
+ $am_python_setup_scheme
+ sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
+ except:
+ sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
else:
from distutils import sysconfig
sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
@@ -1473,7 +1464,8 @@
dnl 3. pyexecdir: directory for installing python extension modules
dnl (shared libraries).
- dnl Query distutils for this directory.
+ dnl Query sysconfig or distutils for this directory.
+ dnl Much of this is the same as for prefix setup above.
dnl
AC_CACHE_CHECK([for $am_display_PYTHON extension module directory (pyexecdir)],
[am_cv_python_pyexecdir],
@@ -1485,7 +1477,11 @@
am_cv_python_pyexecdir=`$PYTHON -c "
$am_python_setup_sysconfig
if can_use_sysconfig:
- sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
+ try:
+ $am_python_setup_scheme
+ sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
+ except:
+ sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
else:
from distutils import sysconfig
sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
@@ -1536,7 +1532,23 @@
sys.exit(sys.hexversion < minverhex)"
AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
-# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+# Copyright (C) 2022-2024 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_PROG_RM_F
+# ---------------
+# Check whether 'rm -f' without any arguments works.
+# https://bugs.gnu.org/10828
+AC_DEFUN([_AM_PROG_RM_F],
+[am__rm_f_notfound=
+AS_IF([(rm -f && rm -fr && rm -rf) 2>/dev/null], [], [am__rm_f_notfound='""'])
+AC_SUBST(am__rm_f_notfound)
+])
+
+# Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1555,16 +1567,169 @@
# Check to make sure that the build environment is sane. -*- Autoconf -*-
-# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+# Copyright (C) 1996-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
+# _AM_SLEEP_FRACTIONAL_SECONDS
+# ----------------------------
+AC_DEFUN([_AM_SLEEP_FRACTIONAL_SECONDS], [dnl
+AC_CACHE_CHECK([whether sleep supports fractional seconds],
+ am_cv_sleep_fractional_seconds, [dnl
+AS_IF([sleep 0.001 2>/dev/null], [am_cv_sleep_fractional_seconds=yes],
+ [am_cv_sleep_fractional_seconds=no])
+])])
+
+# _AM_FILESYSTEM_TIMESTAMP_RESOLUTION
+# -----------------------------------
+# Determine the filesystem's resolution for file modification
+# timestamps. The coarsest we know of is FAT, with a resolution
+# of only two seconds, even with the most recent "exFAT" extensions.
+# The finest (e.g. ext4 with large inodes, XFS, ZFS) is one
+# nanosecond, matching clock_gettime. However, it is probably not
+# possible to delay execution of a shell script for less than one
+# millisecond, due to process creation overhead and scheduling
+# granularity, so we don't check for anything finer than that. (See below.)
+AC_DEFUN([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION], [dnl
+AC_REQUIRE([_AM_SLEEP_FRACTIONAL_SECONDS])
+AC_CACHE_CHECK([filesystem timestamp resolution],
+ am_cv_filesystem_timestamp_resolution, [dnl
+# Default to the worst case.
+am_cv_filesystem_timestamp_resolution=2
+
+# Only try to go finer than 1 sec if sleep can do it.
+# Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
+# - 1 sec is not much of a win compared to 2 sec, and
+# - it takes 2 seconds to perform the test whether 1 sec works.
+#
+# Instead, just use the default 2s on platforms that have 1s resolution,
+# accept the extra 1s delay when using $sleep in the Automake tests, in
+# exchange for not incurring the 2s delay for running the test for all
+# packages.
+#
+am_try_resolutions=
+if test "$am_cv_sleep_fractional_seconds" = yes; then
+ # Even a millisecond often causes a bunch of false positives,
+ # so just try a hundredth of a second. The time saved between .001 and
+ # .01 is not terribly consequential.
+ am_try_resolutions="0.01 0.1 $am_try_resolutions"
+fi
+
+# In order to catch current-generation FAT out, we must *modify* files
+# that already exist; the *creation* timestamp is finer. Use names
+# that make ls -t sort them differently when they have equal
+# timestamps than when they have distinct timestamps, keeping
+# in mind that ls -t prints the *newest* file first.
+rm -f conftest.ts?
+: > conftest.ts1
+: > conftest.ts2
+: > conftest.ts3
+
+# Make sure ls -t actually works. Do 'set' in a subshell so we don't
+# clobber the current shell's arguments. (Outer-level square brackets
+# are removed by m4; they're present so that m4 does not expand
+# ; be careful, easy to get confused.)
+if (
+ set X `[ls -t conftest.ts[12]]` &&
+ {
+ test "$[]*" != "X conftest.ts1 conftest.ts2" ||
+ test "$[]*" != "X conftest.ts2 conftest.ts1";
+ }
+); then :; else
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ _AS_ECHO_UNQUOTED(
+ ["Bad output from ls -t: \"`[ls -t conftest.ts[12]]`\""],
+ [AS_MESSAGE_LOG_FD])
+ AC_MSG_FAILURE([ls -t produces unexpected output.
+Make sure there is not a broken ls alias in your environment.])
+fi
+
+for am_try_res in $am_try_resolutions; do
+ # Any one fine-grained sleep might happen to cross the boundary
+ # between two values of a coarser actual resolution, but if we do
+ # two fine-grained sleeps in a row, at least one of them will fall
+ # entirely within a coarse interval.
+ echo alpha > conftest.ts1
+ sleep $am_try_res
+ echo beta > conftest.ts2
+ sleep $am_try_res
+ echo gamma > conftest.ts3
+
+ # We assume that 'ls -t' will make use of high-resolution
+ # timestamps if the operating system supports them at all.
+ if (set X `ls -t conftest.ts?` &&
+ test "$[]2" = conftest.ts3 &&
+ test "$[]3" = conftest.ts2 &&
+ test "$[]4" = conftest.ts1); then
+ #
+ # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
+ # because we don't need to test make.
+ make_ok=true
+ if test $am_try_res != 1; then
+ # But if we've succeeded so far with a subsecond resolution, we
+ # have one more thing to check: make. It can happen that
+ # everything else supports the subsecond mtimes, but make doesn't;
+ # notably on macOS, which ships make 3.81 from 2006 (the last one
+ # released under GPLv2). https://bugs.gnu.org/68808
+ #
+ # We test $MAKE if it is defined in the environment, else "make".
+ # It might get overridden later, but our hope is that in practice
+ # it does not matter: it is the system "make" which is (by far)
+ # the most likely to be broken, whereas if the user overrides it,
+ # probably they did so with a better, or at least not worse, make.
+ # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
+ #
+ # Create a Makefile (real tab character here):
+ rm -f conftest.mk
+ echo 'conftest.ts1: conftest.ts2' >conftest.mk
+ echo ' touch conftest.ts2' >>conftest.mk
+ #
+ # Now, running
+ # touch conftest.ts1; touch conftest.ts2; make
+ # should touch ts1 because ts2 is newer. This could happen by luck,
+ # but most often, it will fail if make's support is insufficient. So
+ # test for several consecutive successes.
+ #
+ # (We reuse conftest.ts[12] because we still want to modify existing
+ # files, not create new ones, per above.)
+ n=0
+ make=${MAKE-make}
+ until test $n -eq 3; do
+ echo one > conftest.ts1
+ sleep $am_try_res
+ echo two > conftest.ts2 # ts2 should now be newer than ts1
+ if $make -f conftest.mk | grep 'up to date' >/dev/null; then
+ make_ok=false
+ break # out of $n loop
+ fi
+ n=`expr $n + 1`
+ done
+ fi
+ #
+ if $make_ok; then
+ # Everything we know to check worked out, so call this resolution good.
+ am_cv_filesystem_timestamp_resolution=$am_try_res
+ break # out of $am_try_res loop
+ fi
+ # Otherwise, we'll go on to check the next resolution.
+ fi
+done
+rm -f conftest.ts?
+# (end _am_filesystem_timestamp_resolution)
+])])
+
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
-[AC_MSG_CHECKING([whether build environment is sane])
+[AC_REQUIRE([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION])
+# This check should not be cached, as it may vary across builds of
+# different projects.
+AC_MSG_CHECKING([whether build environment is sane])
# Reject unsafe characters in $srcdir or the absolute working directory
# name. Accept space and tab only in the latter.
am_lf='
@@ -1583,49 +1748,40 @@
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
-if (
- am_has_slept=no
- for am_try in 1 2; do
- echo "timestamp, slept: $am_has_slept" > conftest.file
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$[*]" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- if test "$[*]" != "X $srcdir/configure conftest.file" \
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
- alias in your environment])
- fi
- if test "$[2]" = conftest.file || test $am_try -eq 2; then
- break
- fi
- # Just in case.
- sleep 1
- am_has_slept=yes
- done
- test "$[2]" = conftest.file
- )
-then
- # Ok.
- :
-else
- AC_MSG_ERROR([newly created file is older than distributed files!
+am_build_env_is_sane=no
+am_has_slept=no
+rm -f conftest.file
+for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ if (
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[]*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ test "$[]2" = conftest.file
+ ); then
+ am_build_env_is_sane=yes
+ break
+ fi
+ # Just in case.
+ sleep "$am_cv_filesystem_timestamp_resolution"
+ am_has_slept=yes
+done
+
+AC_MSG_RESULT([$am_build_env_is_sane])
+if test "$am_build_env_is_sane" = no; then
+ AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
-AC_MSG_RESULT([yes])
+
# If we didn't sleep, we still need to ensure time stamps of config.status and
# generated files are strictly newer.
am_sleep_pid=
-if grep 'slept: no' conftest.file >/dev/null 2>&1; then
- ( sleep 1 ) &
+AS_IF([test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1],, [dnl
+ ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
am_sleep_pid=$!
-fi
+])
AC_CONFIG_COMMANDS_PRE(
[AC_MSG_CHECKING([that generated files are newer than configure])
if test -n "$am_sleep_pid"; then
@@ -1636,18 +1792,18 @@
rm -f conftest.file
])
-# Copyright (C) 2009-2021 Free Software Foundation, Inc.
+# Copyright (C) 2009-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# AM_SILENT_RULES([DEFAULT])
-# --------------------------
-# Enable less verbose build rules; with the default set to DEFAULT
-# ("yes" being less verbose, "no" or empty being verbose).
-AC_DEFUN([AM_SILENT_RULES],
-[AC_ARG_ENABLE([silent-rules], [dnl
+# _AM_SILENT_RULES
+# ----------------
+# Enable less verbose build rules support.
+AC_DEFUN([_AM_SILENT_RULES],
+[AM_DEFAULT_VERBOSITY=1
+AC_ARG_ENABLE([silent-rules], [dnl
AS_HELP_STRING(
[--enable-silent-rules],
[less verbose build output (undo: "make V=1")])
@@ -1655,11 +1811,6 @@
[--disable-silent-rules],
[verbose build output (undo: "make V=0")])dnl
])
-case $enable_silent_rules in @%:@ (((
- yes) AM_DEFAULT_VERBOSITY=0;;
- no) AM_DEFAULT_VERBOSITY=1;;
- *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
-esac
dnl
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
dnl do not support nested variable expansions.
@@ -1678,14 +1829,6 @@
else
am_cv_make_support_nested_variables=no
fi])
-if test $am_cv_make_support_nested_variables = yes; then
- dnl Using '$V' instead of '$(V)' breaks IRIX make.
- AM_V='$(V)'
- AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
-else
- AM_V=$AM_DEFAULT_VERBOSITY
- AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
-fi
AC_SUBST([AM_V])dnl
AM_SUBST_NOTMAKE([AM_V])dnl
AC_SUBST([AM_DEFAULT_V])dnl
@@ -1694,9 +1837,33 @@
AM_BACKSLASH='\'
AC_SUBST([AM_BACKSLASH])dnl
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+dnl Delay evaluation of AM_DEFAULT_VERBOSITY to the end to allow multiple calls
+dnl to AM_SILENT_RULES to change the default value.
+AC_CONFIG_COMMANDS_PRE([dnl
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+esac
+if test $am_cv_make_support_nested_variables = yes; then
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+])dnl
])
-# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+# AM_SILENT_RULES([DEFAULT])
+# --------------------------
+# Set the default verbosity level to DEFAULT ("yes" being less verbose, "no" or
+# empty being verbose).
+AC_DEFUN([AM_SILENT_RULES],
+[AC_REQUIRE([_AM_SILENT_RULES])
+AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1])])
+
+# Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1724,7 +1891,7 @@
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
-# Copyright (C) 2006-2021 Free Software Foundation, Inc.
+# Copyright (C) 2006-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1743,7 +1910,7 @@
# Check how to create a tarball. -*- Autoconf -*-
-# Copyright (C) 2004-2021 Free Software Foundation, Inc.
+# Copyright (C) 2004-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1789,15 +1956,19 @@
am_uid=`id -u || echo unknown`
am_gid=`id -g || echo unknown`
AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
- if test $am_uid -le $am_max_uid; then
- AC_MSG_RESULT([yes])
+ if test x$am_uid = xunknown; then
+ AC_MSG_WARN([ancient id detected; assuming current UID is ok, but dist-ustar might not work])
+ elif test $am_uid -le $am_max_uid; then
+ AC_MSG_RESULT([yes])
else
- AC_MSG_RESULT([no])
- _am_tools=none
+ AC_MSG_RESULT([no])
+ _am_tools=none
fi
AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
- if test $am_gid -le $am_max_gid; then
- AC_MSG_RESULT([yes])
+ if test x$gm_gid = xunknown; then
+ AC_MSG_WARN([ancient id detected; assuming current GID is ok, but dist-ustar might not work])
+ elif test $am_gid -le $am_max_gid; then
+ AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
_am_tools=none
@@ -1874,8 +2045,29 @@
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
+# Copyright (C) 2022-2024 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_PROG_XARGS_N
+# ----------------
+# Check whether 'xargs -n' works. It should work everywhere, so the fallback
+# is not optimized at all as we never expect to use it.
+AC_DEFUN([_AM_PROG_XARGS_N],
+[AC_CACHE_CHECK([xargs -n works], am_cv_xargs_n_works, [dnl
+AS_IF([test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
+3"], [am_cv_xargs_n_works=yes], [am_cv_xargs_n_works=no])])
+AS_IF([test "$am_cv_xargs_n_works" = yes], [am__xargs_n='xargs -n'], [dnl
+ am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "$@" "$am__xargs_n_arg"; done; }'
+])dnl
+AC_SUBST(am__xargs_n)
+])
+
m4_include([m4/ac_pthread_set_name.m4])
m4_include([m4/ax_arg_default_enable_disable.m4])
+m4_include([m4/ax_compare_version.m4])
m4_include([m4/ax_cxx_compile_stdcxx.m4])
m4_include([m4/ax_cxx_compile_stdcxx_17.m4])
m4_include([m4/ax_python_module.m4])
@@ -1885,17 +2077,18 @@
m4_include([m4/dnsdist_enable_doh3.m4])
m4_include([m4/dnsdist_enable_doq.m4])
m4_include([m4/dnsdist_enable_tls_providers.m4])
+m4_include([m4/dnsdist_enable_yaml.m4])
m4_include([m4/dnsdist_with_cdb.m4])
m4_include([m4/libtool.m4])
m4_include([m4/ltoptions.m4])
m4_include([m4/ltsugar.m4])
m4_include([m4/ltversion.m4])
m4_include([m4/lt~obsolete.m4])
+m4_include([m4/pdns_check_cargo.m4])
m4_include([m4/pdns_check_clock_gettime.m4])
m4_include([m4/pdns_check_dnstap.m4])
m4_include([m4/pdns_check_libcrypto.m4])
m4_include([m4/pdns_check_libedit.m4])
-m4_include([m4/pdns_check_libh2o_evloop.m4])
m4_include([m4/pdns_check_lmdb.m4])
m4_include([m4/pdns_check_lua_hpp.m4])
m4_include([m4/pdns_check_network_libs.m4])
@@ -1908,6 +2101,7 @@
m4_include([m4/pdns_enable_coverage.m4])
m4_include([m4/pdns_enable_fuzz_targets.m4])
m4_include([m4/pdns_enable_ipcipher.m4])
+m4_include([m4/pdns_enable_ipcrypt2.m4])
m4_include([m4/pdns_enable_lto.m4])
m4_include([m4/pdns_enable_sanitizers.m4])
m4_include([m4/pdns_enable_tls.m4])
diff -Nru dnsdist-1.9.16/base64.hh dnsdist-2.1.3/base64.hh
--- dnsdist-1.9.16/base64.hh 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/base64.hh 2026-10-12 07:14:27.000000000 +0000
@@ -22,5 +22,6 @@
#pragma once
#include
-template int B64Decode(const std::string& strInput, Container& strOutput);
-std::string Base64Encode (const std::string& src);
+template
+int B64Decode(const std::string& strInput, Container& strOutput);
+std::string Base64Encode(const std::string& src);
diff -Nru dnsdist-1.9.16/bench-dnsdist-action-rcode.cc dnsdist-2.1.3/bench-dnsdist-action-rcode.cc
--- dnsdist-1.9.16/bench-dnsdist-action-rcode.cc 1970-01-01 00:00:00.000000000 +0000
+++ dnsdist-2.1.3/bench-dnsdist-action-rcode.cc 2026-10-08 15:17:50.000000000 +0000
@@ -0,0 +1,55 @@
+/*
+ * This file is part of PowerDNS or dnsdist.
+ * Copyright -- PowerDNS.COM B.V. and its contributors
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * In addition, for the avoidance of any doubt, permission is granted to
+ * link this program with OpenSSL and to (re)distribute the binaries
+ * produced as the result of such linking.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+#include "dnsname.hh"
+#define CATCH_CONFIG_NO_MAIN
+#include
+#include
+
+#include "dnsdist.hh"
+#include "dnsdist-idstate.hh"
+#include "dnsdist-dnsparser.hh"
+#include "dnsdist-actions-factory.hh"
+
+TEST_CASE("Actions/RCodeAction", "[actions]")
+{
+ InternalQueryState ids;
+ PacketBuffer data;
+ GenericDNSPacketWriter pwQ(data, DNSName("dnsdist.test.powerdns.com"), QType::A, QClass::IN, 0);
+ pwQ.getHeader()->rd = 1;
+
+ dnsdist::ResponseConfig rconfig;
+ auto action = dnsdist::actions::getRCodeAction(RCode::NXDomain, rconfig);
+
+ DNSQuestion dq(ids, data); // NOLINT
+ std::string ruleresult;
+ BENCHMARK("set-nxd")
+ {
+ return (*action)(&dq, &ruleresult);
+ };
+
+ rconfig.setAA = true;
+ action = dnsdist::actions::getRCodeAction(RCode::NXDomain, rconfig);
+ BENCHMARK("set-nxd-and-AA")
+ {
+ return (*action)(&dq, &ruleresult);
+ };
+}
diff -Nru dnsdist-1.9.16/bench-dnsdist-dnsparser_cc.cc dnsdist-2.1.3/bench-dnsdist-dnsparser_cc.cc
--- dnsdist-1.9.16/bench-dnsdist-dnsparser_cc.cc 1970-01-01 00:00:00.000000000 +0000
+++ dnsdist-2.1.3/bench-dnsdist-dnsparser_cc.cc 2026-10-08 15:17:50.000000000 +0000
@@ -0,0 +1,44 @@
+/*
+ * This file is part of PowerDNS or dnsdist.
+ * Copyright -- PowerDNS.COM B.V. and its contributors
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * In addition, for the avoidance of any doubt, permission is granted to
+ * link this program with OpenSSL and to (re)distribute the binaries
+ * produced as the result of such linking.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+#define CATCH_CONFIG_NO_MAIN
+#include
+#include
+
+#include "dnsdist-dnsparser.hh"
+
+TEST_CASE("dnsdist-dnsparser")
+{
+ const DNSName target("powerdns.com.");
+ const DNSName newTarget("dnsdist.org.");
+ const DNSName notTheTarget("not-powerdns.com.");
+
+ PacketBuffer query;
+ GenericDNSPacketWriter pw(query, target, QType::A, QClass::IN, 0);
+ pw.getHeader()->rd = 1;
+ pw.getHeader()->id = htons(42);
+ pw.commit();
+
+ BENCHMARK("changeNameInDNSPacket")
+ {
+ dnsdist::changeNameInDNSPacket(query, target, newTarget);
+ };
+}
diff -Nru dnsdist-1.9.16/bench-dnsdist-opentelemetry_cc.cc dnsdist-2.1.3/bench-dnsdist-opentelemetry_cc.cc
--- dnsdist-1.9.16/bench-dnsdist-opentelemetry_cc.cc 1970-01-01 00:00:00.000000000 +0000
+++ dnsdist-2.1.3/bench-dnsdist-opentelemetry_cc.cc 2026-10-08 15:17:50.000000000 +0000
@@ -0,0 +1,159 @@
+/*
+ * This file is part of PowerDNS or dnsdist.
+ * Copyright -- PowerDNS.COM B.V. and its contributors
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * In addition, for the avoidance of any doubt, permission is granted to
+ * link this program with OpenSSL and to (re)distribute the binaries
+ * produced as the result of such linking.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+#ifndef DISABLE_PROTOBUF
+#define CATCH_CONFIG_NO_MAIN
+#include
+#include
+#include
+
+#include "dnsdist-opentelemetry.hh"
+#include "protozero-trace.hh"
+
+TEST_CASE("OpenTelemetry-base")
+{
+ BENCHMARK("pdns::trace::dnsdist::Tracer::getTracer")
+ {
+ return pdns::trace::dnsdist::Tracer::getTracer();
+ };
+
+ auto tracer = pdns::trace::dnsdist::Tracer::getTracer();
+ auto spanID = pdns::trace::SpanID::getRandomSpanID();
+
+ BENCHMARK("pdns::trace::dnsdist::Tracer::getCloser")
+ {
+ return tracer->getCloser(spanID);
+ };
+
+ BENCHMARK("pdns::trace::dnsdist::Tracer::openSpan")
+ {
+ return tracer->openSpan("foo");
+ };
+}
+
+TEST_CASE("OpenTelemetry-addSpanThroughCloser")
+{
+ auto tracer = pdns::trace::dnsdist::Tracer::getTracer();
+ auto spanID = pdns::trace::SpanID::getRandomSpanID();
+
+ BENCHMARK("openspan")
+ {
+ return tracer->openSpan("activated", spanID);
+ };
+}
+
+TEST_CASE("OpenTelemetry-spaninfo")
+{
+ auto tracer = pdns::trace::dnsdist::Tracer::getTracer();
+ // Ensures span attributes are actually stored
+ auto rootSpanID = tracer->openSpan("mySpan").getSpanID();
+ auto stringvalue = pdns::trace::AnyValue{"hello"};
+ auto intvalue = pdns::trace::AnyValue{43854};
+
+ BENCHMARK("dnsdist::trace::Tracer::setSpanAttribute-string one span")
+ {
+ tracer->setSpanAttribute(rootSpanID, "key", stringvalue);
+ };
+
+ BENCHMARK("dnsdist::trace::Tracer::setSpanAttribute-int one span")
+ {
+ tracer->setSpanAttribute(rootSpanID, "key", intvalue);
+ };
+
+ auto spanID = rootSpanID;
+ for (auto i = 0; i < 40; i++) {
+ spanID = tracer->openSpan("fooSpan" + std::to_string(i), spanID).getSpanID();
+ }
+
+ BENCHMARK("dnsdist::trace::Tracer::setSpanAttribute-string 42 spans, first")
+ {
+ tracer->setSpanAttribute(rootSpanID, "key", stringvalue);
+ };
+
+ BENCHMARK("dnsdist::trace::Tracer::setSpanAttribute-int 42 spans, first")
+ {
+ tracer->setSpanAttribute(rootSpanID, "key", intvalue);
+ };
+
+ BENCHMARK("dnsdist::trace::Tracer::setSpanAttribute-string 42 spans, last")
+ {
+ tracer->setSpanAttribute(spanID, "key", stringvalue);
+ };
+
+ BENCHMARK("dnsdist::trace::Tracer::setSpanAttribute-int 42 spans, last")
+ {
+ tracer->setSpanAttribute(spanID, "key", intvalue);
+ };
+}
+
+TEST_CASE("OpenTelemetry-getLastSpanID")
+{
+ auto tracer = pdns::trace::dnsdist::Tracer::getTracer();
+ pdns::trace::dnsdist::Tracer::Closer closer;
+ for (auto i = 0; i < 40; i++) {
+ closer = tracer->openSpan("foo" + std::to_string(i));
+ }
+
+ BENCHMARK("getLastSpanID")
+ {
+ return tracer->getLastSpanID();
+ };
+
+ BENCHMARK("getRootSpanID")
+ {
+ return tracer->getRootSpanID();
+ };
+
+ BENCHMARK("getLastSpanIDForName-first")
+ {
+ return tracer->getLastSpanIDForName("foo0");
+ };
+
+ BENCHMARK("getLastSpanIDForName-middle")
+ {
+ return tracer->getLastSpanIDForName("foo20");
+ };
+
+ BENCHMARK("getLastSpanIDForName-does-not-exist")
+ {
+ return tracer->getLastSpanIDForName("doesnotexist");
+ };
+}
+
+TEST_CASE("OpenTelemetry-getTracesData")
+{
+ auto tracer = pdns::trace::dnsdist::Tracer::getTracer();
+
+ BENCHMARK("empty Tracer")
+ {
+ return tracer->getTracesData();
+ };
+
+ for (auto i = 0; i < 40; i++) {
+ tracer->openSpan("foo" + std::to_string(i));
+ }
+
+ BENCHMARK("Tracer with 41 spans")
+ {
+ return tracer->getTracesData();
+ };
+}
+#endif
diff -Nru dnsdist-1.9.16/bench-dnsdist-rings_cc.cc dnsdist-2.1.3/bench-dnsdist-rings_cc.cc
--- dnsdist-1.9.16/bench-dnsdist-rings_cc.cc 1970-01-01 00:00:00.000000000 +0000
+++ dnsdist-2.1.3/bench-dnsdist-rings_cc.cc 2026-10-08 15:17:50.000000000 +0000
@@ -0,0 +1,73 @@
+/*
+ * This file is part of PowerDNS or dnsdist.
+ * Copyright -- PowerDNS.COM B.V. and its contributors
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * In addition, for the avoidance of any doubt, permission is granted to
+ * link this program with OpenSSL and to (re)distribute the binaries
+ * produced as the result of such linking.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+#include
+#define CATCH_CONFIG_NO_MAIN
+#include
+#include
+
+#include "dnsdist-rings.hh"
+#include "gettime.hh"
+
+struct ringInfo
+{
+ size_t maxEntries;
+ size_t numberOfShards;
+ size_t nbLockTries;
+};
+
+auto simpleRings = std::vector{
+ {5, 1, 0},
+ {500, 10, 0},
+ {500, 100, 5},
+ {5000, 100, 5},
+ {1000000, 5000, 5},
+ {1000000, 5000, 20},
+};
+
+TEST_CASE("Rings/insert")
+{
+ for (auto const ringInfo : simpleRings) {
+ Rings::RingsConfiguration config;
+ config.capacity = ringInfo.maxEntries;
+ config.numberOfShards = ringInfo.numberOfShards;
+ config.nbLockTries = ringInfo.nbLockTries;
+ Rings rings;
+ rings.init(config);
+
+ dnsheader dnsheader{};
+ memset(&dnsheader, 0, sizeof(dnsheader));
+ DNSName qname("rings.powerdns.com.");
+ ComboAddress requestor1("192.0.2.1");
+ uint16_t qtype = QType::AAAA;
+ uint16_t size = 42;
+ dnsdist::Protocol protocol = dnsdist::Protocol::DoUDP;
+ struct timespec now{};
+ gettime(&now);
+
+ string benchName = "max=" + std::to_string(ringInfo.maxEntries) + ",shards=" + std::to_string(ringInfo.numberOfShards) + ",locktries=" + std::to_string(ringInfo.nbLockTries);
+
+ BENCHMARK(benchName.c_str())
+ {
+ rings.insertQuery(now, requestor1, qname, qtype, size, dnsheader, protocol);
+ };
+ }
+}
diff -Nru dnsdist-1.9.16/bench-iputils.cc dnsdist-2.1.3/bench-iputils.cc
--- dnsdist-1.9.16/bench-iputils.cc 1970-01-01 00:00:00.000000000 +0000
+++ dnsdist-2.1.3/bench-iputils.cc 2026-10-08 15:17:50.000000000 +0000
@@ -0,0 +1,41 @@
+/*
+ * This file is part of PowerDNS or dnsdist.
+ * Copyright -- PowerDNS.COM B.V. and its contributors
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * In addition, for the avoidance of any doubt, permission is granted to
+ * link this program with OpenSSL and to (re)distribute the binaries
+ * produced as the result of such linking.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+#define CATCH_CONFIG_NO_MAIN
+#include
+#include
+
+#include "iputils.hh"
+
+TEST_CASE("netmask_tree")
+{
+ const ComboAddress addr{"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"};
+ NetmaskTree tree{};
+
+ BENCHMARK("lookup_v6_empty_tree")
+ {
+ const auto* got = tree.lookup(addr);
+ if (got != nullptr) {
+ abort();
+ }
+ return got;
+ };
+}
diff -Nru dnsdist-1.9.16/bench-misc_hh.cc dnsdist-2.1.3/bench-misc_hh.cc
--- dnsdist-1.9.16/bench-misc_hh.cc 1970-01-01 00:00:00.000000000 +0000
+++ dnsdist-2.1.3/bench-misc_hh.cc 2026-10-08 15:17:50.000000000 +0000
@@ -0,0 +1,83 @@
+/*
+ * This file is part of PowerDNS or dnsdist.
+ * Copyright -- PowerDNS.COM B.V. and its contributors
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * In addition, for the avoidance of any doubt, permission is granted to
+ * link this program with OpenSSL and to (re)distribute the binaries
+ * produced as the result of such linking.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+#include "misc.hh"
+
+#define CATCH_CONFIG_NO_MAIN
+#include
+#include
+#include
+
+TEST_CASE("misc.hh/stringtok", "[misc.hh]")
+{
+ std::vector> inStrings{
+ {0, ""},
+ {1, "the"},
+ {3, "the quick brown"},
+ {5, "the quick brown fox jumped"},
+ {7, "the quick brown fox jumped over the"},
+ {9, "the quick brown fox jumped over the lazy fox"},
+ };
+
+ vector tokParts;
+ vector> vtokParts;
+
+ for (auto const& inStr : inStrings) {
+ string benchmarkNameSuffix("stringtok " + std::to_string(inStr.first) + " words");
+ BENCHMARK_ADVANCED(benchmarkNameSuffix.c_str())(Catch::Benchmark::Chronometer meter)
+ {
+ // SetUp
+ tokParts.clear();
+ meter.measure([&inStr, &tokParts] {
+ stringtok(tokParts, inStr.second);
+ });
+ };
+
+ string vtokBenchmarkName("v" + benchmarkNameSuffix);
+ BENCHMARK_ADVANCED(vtokBenchmarkName.c_str())(Catch::Benchmark::Chronometer meter)
+ {
+ // SetUp
+ vtokParts.clear();
+ meter.measure([&inStr, &vtokParts] {
+ vstringtok(vtokParts, inStr.second);
+ });
+ };
+ }
+}
+
+TEST_CASE("misc.hh/pdns_iequals", "[misc.hh]")
+{
+ static string first("www.powerdns.com");
+ static string second("www.example.com");
+
+ BENCHMARK("std::string")
+ {
+ return pdns_iequals(first, second);
+ };
+
+ static const char* first_cstr = first.c_str();
+ static const char* second_cstr = second.c_str();
+
+ BENCHMARK("const char*")
+ {
+ return pdns_iequals(first_cstr, second_cstr);
+ };
+}
diff -Nru dnsdist-1.9.16/benchmarkrunner.cc dnsdist-2.1.3/benchmarkrunner.cc
--- dnsdist-1.9.16/benchmarkrunner.cc 1970-01-01 00:00:00.000000000 +0000
+++ dnsdist-2.1.3/benchmarkrunner.cc 2026-10-08 15:17:50.000000000 +0000
@@ -0,0 +1,195 @@
+/*
+ * This file is part of PowerDNS or dnsdist.
+ * Copyright -- PowerDNS.COM B.V. and its contributors
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * In addition, for the avoidance of any doubt, permission is granted to
+ * link this program with OpenSSL and to (re)distribute the binaries
+ * produced as the result of such linking.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+#define CATCH_CONFIG_MAIN
+#include
+#include
+#include "dnsdist.hh"
+#include "dnsdist-lua.hh"
+#include "dnsdist-rings.hh"
+#include "dnsdist-xsk.hh"
+#include "dnsdist-tcp.hh"
+
+// NOTE: This file contains waaaaaay too many mocked things to make bench-dnsdist-action-rcode.cc
+// link. In the future, all these functions and declarations should go away and be put into their
+// own hh/cc files.
+
+RecursiveLockGuarded g_lua{LuaContext()};
+shared_ptr g_defaultBPFFilter{nullptr};
+Rings g_rings;
+string g_outputBuffer;
+
+void handleResponseSent([[maybe_unused]] const InternalQueryState& ids, [[maybe_unused]] double udiff, [[maybe_unused]] const ComboAddress& client, [[maybe_unused]] const ComboAddress& backend, [[maybe_unused]] unsigned int size, [[maybe_unused]] const dnsheader& cleartextDH, [[maybe_unused]] dnsdist::Protocol protocol, [[maybe_unused]] bool fromBackend)
+{
+}
+
+void handleResponseSent([[maybe_unused]] const DNSName& qname, [[maybe_unused]] const QType& qtype, [[maybe_unused]] double udiff, [[maybe_unused]] const ComboAddress& client, [[maybe_unused]] const ComboAddress& backend, [[maybe_unused]] unsigned int size, [[maybe_unused]] const dnsheader& cleartextDH, [[maybe_unused]] dnsdist::Protocol outgoingProtocol, [[maybe_unused]] dnsdist::Protocol incomingProtocol, [[maybe_unused]] bool fromBackend)
+{
+}
+
+bool processResponse([[maybe_unused]] PacketBuffer& response, [[maybe_unused]] DNSResponse& dnsResponse, [[maybe_unused]] bool muted)
+{
+ return false;
+}
+
+void doExitNicely(int exitCode);
+void doExitNicely([[maybe_unused]] int exitCode) {
+};
+
+ProcessQueryResult processQuery([[maybe_unused]] DNSQuestion& dnsQuestion, [[maybe_unused]] std::shared_ptr& selectedBackend)
+{
+ return ProcessQueryResult::Drop;
+};
+
+bool processRulesResult([[maybe_unused]] const DNSAction::Action& action, [[maybe_unused]] DNSQuestion& dnsQuestion, [[maybe_unused]] std::string& ruleresult, [[maybe_unused]] bool& drop)
+{
+ return false;
+}
+
+ProcessQueryResult processQueryAfterRules([[maybe_unused]] DNSQuestion& dnsQuestion, [[maybe_unused]] std::shared_ptr& outgoingBackend)
+{
+ return ProcessQueryResult::Drop;
+}
+
+bool processResponseAfterRules([[maybe_unused]] PacketBuffer& response, [[maybe_unused]] DNSResponse& dnsResponse, [[maybe_unused]] bool muted)
+{
+ return false;
+}
+
+bool applyRulesToResponse([[maybe_unused]] const std::vector& respRuleActions, [[maybe_unused]] DNSResponse& dnsResponse)
+{
+ (void)respRuleActions;
+ (void)dnsResponse;
+ return true;
+}
+
+bool handleTimeoutResponseRules([[maybe_unused]] const std::vector& rules, [[maybe_unused]] InternalQueryState& ids, [[maybe_unused]] const std::shared_ptr& d_ds, [[maybe_unused]] const std::shared_ptr& sender)
+{
+ return false;
+}
+
+void handleServerStateChange([[maybe_unused]] const string& nameWithAddr, [[maybe_unused]] bool newResult)
+{
+}
+
+bool sendUDPResponse([[maybe_unused]] int origFD, [[maybe_unused]] const PacketBuffer& response, [[maybe_unused]] const int delayMsec, [[maybe_unused]] const ComboAddress& origDest, [[maybe_unused]] const ComboAddress& origRemote)
+{
+ return false;
+}
+
+bool assignOutgoingUDPQueryToBackend([[maybe_unused]] std::shared_ptr& downstream, [[maybe_unused]] uint16_t queryID, [[maybe_unused]] DNSQuestion& dnsQuestion, [[maybe_unused]] PacketBuffer& query, [[maybe_unused]] bool actuallySend)
+{
+ return true;
+}
+
+#ifdef HAVE_XSK
+namespace dnsdist::xsk
+{
+bool XskProcessQuery([[maybe_unused]] ClientState& clientState, [[maybe_unused]] XskPacket& packet)
+{
+ return false;
+}
+}
+#endif /* HAVE_XSK */
+
+bool processResponderPacket([[maybe_unused]] std::shared_ptr& dss, [[maybe_unused]] PacketBuffer& response, [[maybe_unused]] InternalQueryState&& ids)
+{
+ return false;
+}
+
+// NOLINTNEXTLINE(performance-unnecessary-value-param): this is a stub, the real one is not that simple and the performance does not matter
+void responderThread([[maybe_unused]] std::shared_ptr dss)
+{
+}
+
+bool checkQueryHeaders([[maybe_unused]] const struct dnsheader& dnsHeader, [[maybe_unused]] ClientState& clientState)
+{
+ return true;
+}
+
+bool checkDNSCryptQuery([[maybe_unused]] const ClientState& clientState, [[maybe_unused]] PacketBuffer& query, [[maybe_unused]] std::unique_ptr& dnsCryptQuery, [[maybe_unused]] time_t now, [[maybe_unused]] bool tcp)
+{
+ return false;
+}
+
+bool responseContentMatches([[maybe_unused]] const PacketBuffer& response, [[maybe_unused]] const DNSName& qname, [[maybe_unused]] const uint16_t qtype, [[maybe_unused]] const uint16_t qclass, [[maybe_unused]] const std::shared_ptr& remote, [[maybe_unused]] bool allowEmptyResponse)
+{
+ return false;
+}
+
+class UDPTCPCrossQuerySender : public TCPQuerySender
+{
+public:
+ UDPTCPCrossQuerySender() = default;
+ UDPTCPCrossQuerySender(const UDPTCPCrossQuerySender&) = delete;
+ UDPTCPCrossQuerySender& operator=(const UDPTCPCrossQuerySender&) = delete;
+ UDPTCPCrossQuerySender(UDPTCPCrossQuerySender&&) = default;
+ UDPTCPCrossQuerySender& operator=(UDPTCPCrossQuerySender&&) = default;
+ ~UDPTCPCrossQuerySender() override = default;
+
+ [[nodiscard]] bool active() const override
+ {
+ return true;
+ }
+
+ void handleResponse([[maybe_unused]] const struct timeval& now, [[maybe_unused]] TCPResponse&& response) override
+ {
+ }
+
+ void handleXFRResponse([[maybe_unused]] const struct timeval& now, [[maybe_unused]] TCPResponse&& response) override
+ {
+ }
+
+ void notifyIOError([[maybe_unused]] const struct timeval& now, [[maybe_unused]] TCPResponse&& response) override
+ {
+ }
+};
+
+class UDPCrossProtocolQuery : public CrossProtocolQuery
+{
+public:
+ UDPCrossProtocolQuery() = default;
+ UDPCrossProtocolQuery(PacketBuffer&& buffer_, InternalQueryState&& ids_, std::shared_ptr backend) :
+ CrossProtocolQuery(InternalQuery(std::move(buffer_), std::move(ids_)), backend)
+ {
+ }
+ UDPCrossProtocolQuery(const UDPCrossProtocolQuery&) = delete;
+ UDPCrossProtocolQuery& operator=(const UDPCrossProtocolQuery&) = delete;
+ UDPCrossProtocolQuery(UDPCrossProtocolQuery&&) = delete;
+ UDPCrossProtocolQuery& operator=(UDPCrossProtocolQuery&&) = delete;
+ ~UDPCrossProtocolQuery() override = default;
+
+ std::shared_ptr getTCPQuerySender() override
+ {
+ return s_sender;
+ }
+
+private:
+ static std::shared_ptr s_sender;
+};
+
+std::shared_ptr UDPCrossProtocolQuery::s_sender = std::make_shared();
+
+std::unique_ptr getUDPCrossProtocolQueryFromDQ(DNSQuestion& dnsQuestion);
+std::unique_ptr getUDPCrossProtocolQueryFromDQ([[maybe_unused]] DNSQuestion& dnsQuestion)
+{
+ return std::make_unique();
+}
diff -Nru dnsdist-1.9.16/bpf-filter.cc dnsdist-2.1.3/bpf-filter.cc
--- dnsdist-1.9.16/bpf-filter.cc 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/bpf-filter.cc 2026-10-08 15:17:50.000000000 +0000
@@ -33,9 +33,10 @@
#include "misc.hh"
-static __u64 ptr_to_u64(const void *ptr)
+static __u64 ptr_to_u64(const void* ptr)
{
- return (__u64) (unsigned long) ptr;
+ // NOLINTNEXTLINE(cppcoreguidelines-pro-type-cstyle-cast)
+ return (__u64)(unsigned long)ptr;
}
/* these can be static as they are not declared in libbpf.h: */
@@ -58,21 +59,20 @@
static void bpf_check_map_sizes(int descriptor, uint32_t expectedKeySize, uint32_t expectedValueSize)
{
- struct bpf_map_info info;
- uint32_t info_len = sizeof(info);
+ bpf_map_info info{};
memset(&info, 0, sizeof(info));
- union bpf_attr attr;
+ bpf_attr attr{};
memset(&attr, 0, sizeof(attr));
attr.info.bpf_fd = descriptor;
- attr.info.info_len = info_len;
+ attr.info.info_len = sizeof(info);
attr.info.info = ptr_to_u64(&info);
int err = syscall(SYS_bpf, BPF_OBJ_GET_INFO_BY_FD, &attr, sizeof(attr));
if (err != 0) {
throw std::runtime_error("Error checking the size of eBPF map: " + stringerror());
}
- if (info_len != sizeof(info)) {
+ if (attr.info.info_len != sizeof(info)) {
throw std::runtime_error("Error checking the size of eBPF map: invalid info size returned");
}
if (info.key_size != expectedKeySize) {
@@ -97,7 +97,7 @@
return syscall(SYS_bpf, BPF_MAP_CREATE, &attr, sizeof(attr));
}
-static int bpf_update_elem(int descriptor, void *key, void *value, unsigned long long flags)
+static int bpf_update_elem(int descriptor, void* key, void* value, unsigned long long flags)
{
union bpf_attr attr;
memset(&attr, 0, sizeof(attr));
@@ -108,7 +108,7 @@
return syscall(SYS_bpf, BPF_MAP_UPDATE_ELEM, &attr, sizeof(attr));
}
-static int bpf_lookup_elem(int descriptor, void *key, void *value)
+static int bpf_lookup_elem(int descriptor, void* key, void* value)
{
union bpf_attr attr;
memset(&attr, 0, sizeof(attr));
@@ -118,7 +118,7 @@
return syscall(SYS_bpf, BPF_MAP_LOOKUP_ELEM, &attr, sizeof(attr));
}
-static int bpf_delete_elem(int descriptor, void *key)
+static int bpf_delete_elem(int descriptor, void* key)
{
union bpf_attr attr;
memset(&attr, 0, sizeof(attr));
@@ -127,7 +127,7 @@
return syscall(SYS_bpf, BPF_MAP_DELETE_ELEM, &attr, sizeof(attr));
}
-static int bpf_get_next_key(int descriptor, void *key, void *next_key)
+static int bpf_get_next_key(int descriptor, void* key, void* next_key)
{
union bpf_attr attr;
memset(&attr, 0, sizeof(attr));
@@ -138,16 +138,16 @@
}
static int bpf_prog_load(enum bpf_prog_type prog_type,
- const struct bpf_insn *insns, size_t prog_len,
- const char *license, int kern_version)
+ const struct bpf_insn* insns, size_t prog_len,
+ const char* license, int kern_version)
{
char log_buf[65535];
union bpf_attr attr;
memset(&attr, 0, sizeof(attr));
attr.prog_type = prog_type;
- attr.insns = ptr_to_u64((void *) insns);
+ attr.insns = ptr_to_u64((void*)insns);
attr.insn_cnt = static_cast(prog_len / sizeof(struct bpf_insn));
- attr.license = ptr_to_u64((void *) license);
+ attr.license = ptr_to_u64((void*)license);
attr.log_buf = ptr_to_u64(log_buf);
attr.log_size = sizeof(log_buf);
attr.log_level = 1;
@@ -195,8 +195,8 @@
uint16_t qtype{0};
};
-
-BPFFilter::Map::Map(const BPFFilter::MapConfiguration& config, BPFFilter::MapFormat format): d_config(config)
+BPFFilter::Map::Map(BPFFilter::MapConfiguration config, BPFFilter::MapFormat format) :
+ d_config(std::move(config))
{
if (d_config.d_type == BPFFilter::MapType::Filters) {
/* special case, this is a map of eBPF programs */
@@ -349,7 +349,6 @@
return descriptor;
}
-
BPFFilter::BPFFilter(std::unordered_map& configs, BPFFilter::MapFormat format, bool external) :
d_mapFormat(format), d_external(external)
{
@@ -357,7 +356,7 @@
throw std::runtime_error("Unsupported eBPF map format, the current internal implemenation only supports the legacy format");
}
- struct rlimit old_limit;
+ struct rlimit old_limit{};
if (getrlimit(RLIMIT_MEMLOCK, &old_limit) != 0) {
throw std::runtime_error("Unable to get memory lock limit: " + stringerror());
}
@@ -366,14 +365,16 @@
/* Check if the current soft memlock limit is at least the limit */
if (old_limit.rlim_cur < new_limit_size) {
- infolog("The current limit of locked memory (soft: %d, hard: %d) is too low for eBPF, trying to raise it to %d", old_limit.rlim_cur, old_limit.rlim_max, new_limit_size);
+ SLOG(infolog("The current limit of locked memory (soft: %d, hard: %d) is too low for eBPF, trying to raise it to %d", old_limit.rlim_cur, old_limit.rlim_max, new_limit_size),
+ dnsdist::logging::getTopLogger("bpf")->info("The current limit of locked memory is too low for eBPF, trying to raise it", "soft", Logging::Loggable(old_limit.rlim_cur), "hard", Logging::Loggable(old_limit.rlim_max), "target", Logging::Loggable(new_limit_size)));
- struct rlimit new_limit;
+ struct rlimit new_limit{};
new_limit.rlim_cur = new_limit_size;
new_limit.rlim_max = new_limit_size;
if (setrlimit(RLIMIT_MEMLOCK, &new_limit) != 0) {
- warnlog("Unable to raise the maximum amount of locked memory for eBPF from %d to %d, consider raising RLIMIT_MEMLOCK or setting LimitMEMLOCK in the systemd unit: %d", old_limit.rlim_cur, new_limit.rlim_cur, stringerror());
+ SLOG(warnlog("Unable to raise the maximum amount of locked memory for eBPF from %d to %d, consider raising RLIMIT_MEMLOCK or setting LimitMEMLOCK in the systemd unit: %d", old_limit.rlim_cur, new_limit.rlim_cur, stringerror()),
+ dnsdist::logging::getTopLogger("bpf")->info(Logr::Warning, "Unable to raise the maximum amount of locked memory for eBPF, consider raising RLIMIT_MEMLOCK or setting LimitMEMLOCK in the systemd unit", "current", Logging::Loggable(old_limit.rlim_cur), "target", Logging::Loggable(new_limit_size)));
}
}
@@ -392,16 +393,53 @@
BPFFilter::MapConfiguration filters;
filters.d_maxItems = 1;
filters.d_type = BPFFilter::MapType::Filters;
- maps->d_filters = BPFFilter::Map(filters, d_mapFormat);
+ maps->d_filters = BPFFilter::Map(std::move(filters), d_mapFormat);
const struct bpf_insn main_filter[] = {
#include "bpf-filter.main.ebpf"
};
- const struct bpf_insn qname_filter[] = {
+ // ABANDON EVERY HOPE - SCARY CODE STARTS HERE
+
+ // This EBF program is huge, and unfortunately not constant; this causes
+ // the compiler to emit a lot of code (and eat a lot of memory to do so).
+ // Therefore we include an incomplete but constant version of the program
+ // and patch it locally, relying upon the fact that there is only one place
+ // to change.
+ // NOLINTNEXTLINE(cppcoreguidelines-avoid-c-arrays,modernize-avoid-c-arrays)
+ struct bpf_insn qname_filter[] = {
#include "bpf-filter.qname.ebpf"
};
+ // The program above contains
+ // BPF_LD_MAP_FD(BPF_REG_1,0)
+ // instead of
+ // BPF_LD_MAP_FD(BPF_REG_1,maps->d_qnames.d_fd.getHandle())
+ // and this is the only use of BPF_LD_MAP_FD in the program.
+ // We will search for that instruction, relying upon the fact that,
+ // in that particular program, there is only one such instruction.
+ {
+ unsigned int pos{0};
+ unsigned int limit{sizeof(qname_filter) / sizeof(struct bpf_insn)};
+ for (; pos < limit; ++pos) {
+ if (qname_filter[pos].code == (BPF_LD | BPF_DW | BPF_IMM)) { // NOLINT(cppcoreguidelines-pro-bounds-constant-array-index)
+ // We have found our instruction.
+ break;
+ }
+ }
+ // BPF_LD_MAP_FP actually is a sequence of two bpf instructions,
+ // because it loads a 64-bit value. So it can't be the last
+ // instruction either...
+ if (pos >= limit - 1) {
+ throw std::runtime_error("Assumption in the layout of the eBPF filter program no longer stands");
+ }
+ auto data = static_cast<__u64>(maps->d_qnames.d_fd.getHandle());
+ qname_filter[pos].imm = static_cast<__s32>(data); // NOLINT(cppcoreguidelines-pro-bounds-constant-array-index)
+ qname_filter[pos + 1].imm = static_cast<__s32>(data >> 32); // NOLINT(cppcoreguidelines-pro-bounds-constant-array-index)
+ }
+
+ // SCARY CODE ENDS HERE
+
try {
d_mainfilter = loadProgram(main_filter,
sizeof(main_filter));
@@ -549,16 +587,20 @@
throw std::runtime_error("Table full when trying to add this rule: " + addr.toString());
}
+ bool entryExisted = false;
res = bpf_lookup_elem(map.d_fd.getHandle(), &key, &value);
- if (((res != -1 && value.action == action) || (res == -1 && value.action == BPFFilter::MatchAction::Pass)) && !force) {
+ if (((res != -1 && value.action == action) || (res == -1 && action == BPFFilter::MatchAction::Pass)) && !force) {
throw std::runtime_error("Trying to add a useless rule: " + addr.toString());
}
+ if (res != -1) {
+ entryExisted = true;
+ }
value.counter = 0;
value.action = action;
res = bpf_update_elem(map.d_fd.getHandle(), &key, &value, force ? BPF_ANY : BPF_NOEXIST);
- if (res == 0) {
+ if (res == 0 && !entryExisted) {
++map.d_count;
}
}
@@ -574,16 +616,20 @@
throw std::runtime_error("Table full when trying to add this rule: " + addr.toString());
}
+ bool entryExisted = false;
res = bpf_lookup_elem(map.d_fd.getHandle(), &key, &value);
- if (((res != -1 && value.action == action) || (res == -1 && value.action == BPFFilter::MatchAction::Pass)) && !force) {
+ if (((res != -1 && value.action == action) || (res == -1 && action == BPFFilter::MatchAction::Pass)) && !force) {
throw std::runtime_error("Trying to add a useless rule: " + addr.toString());
}
+ if (res != -1) {
+ entryExisted = true;
+ }
value.counter = 0;
value.action = action;
res = bpf_update_elem(map.d_fd.getHandle(), &key, &value, BPF_NOEXIST);
- if (res == 0) {
+ if (res == 0 && !entryExisted) {
map.d_count++;
}
}
@@ -687,7 +733,7 @@
void BPFFilter::unblock(const DNSName& qname, uint16_t qtype)
{
- QNameAndQTypeKey key;
+ QNameAndQTypeKey key{};
memset(&key, 0, sizeof(key));
std::string keyStr = qname.toDNSStringLC();
@@ -710,9 +756,9 @@
}
}
-std::vector > BPFFilter::getAddrStats()
+std::vector> BPFFilter::getAddrStats()
{
- std::vector > result;
+ std::vector> result;
{
auto maps = d_maps.lock();
result.reserve(maps->d_v4.d_count + maps->d_v6.d_count);
@@ -739,13 +785,13 @@
{
auto& map = maps->d_v4;
- int res = bpf_get_next_key(map.d_fd.getHandle(), &v4Key, &nextV4Key);
+ int res = bpf_get_next_key(map.d_fd.getHandle(), nullptr, &nextV4Key);
while (res == 0) {
v4Key = nextV4Key;
if (bpf_lookup_elem(map.d_fd.getHandle(), &v4Key, &value) == 0) {
- v4Addr.sin_addr.s_addr = ntohl(v4Key);
- result.emplace_back(ComboAddress(&v4Addr), value.counter);
+ v4Addr.sin_addr.s_addr = ntohl(v4Key);
+ result.emplace_back(ComboAddress(&v4Addr), value.counter);
}
res = bpf_get_next_key(map.d_fd.getHandle(), &v4Key, &nextV4Key);
@@ -754,7 +800,7 @@
{
auto& map = maps->d_v6;
- int res = bpf_get_next_key(map.d_fd.getHandle(), v6Key.data(), nextV6Key.data());
+ int res = bpf_get_next_key(map.d_fd.getHandle(), nullptr, nextV6Key.data());
while (res == 0) {
if (bpf_lookup_elem(map.d_fd.getHandle(), nextV6Key.data(), &value) == 0) {
@@ -772,16 +818,16 @@
std::vector> BPFFilter::getRangeRule()
{
- CIDR4 cidr4[2];
- CIDR6 cidr6[2];
+ CIDR4 cidr4{};
+ CIDR6 cidr6{};
std::vector> result;
- sockaddr_in v4Addr;
- sockaddr_in6 v6Addr;
+ sockaddr_in v4Addr{};
+ sockaddr_in6 v6Addr{};
CounterAndActionValue value;
- memset(cidr4, 0, sizeof(cidr4));
- memset(cidr6, 0, sizeof(cidr6));
+ memset(&cidr4, 0, sizeof(cidr4));
+ memset(&cidr6, 0, sizeof(cidr6));
memset(&v4Addr, 0, sizeof(v4Addr));
memset(&v6Addr, 0, sizeof(v6Addr));
v4Addr.sin_family = AF_INET;
@@ -790,49 +836,49 @@
result.reserve(maps->d_cidr4.d_count + maps->d_cidr6.d_count);
{
auto& map = maps->d_cidr4;
- int res = bpf_get_next_key(map.d_fd.getHandle(), &cidr4[0], &cidr4[1]);
+ int res = bpf_get_next_key(map.d_fd.getHandle(), nullptr, &cidr4);
while (res == 0) {
- if (bpf_lookup_elem(map.d_fd.getHandle(), &cidr4[1], &value) == 0) {
- v4Addr.sin_addr.s_addr = cidr4[1].addr.s_addr;
- result.emplace_back(Netmask(&v4Addr, cidr4[1].cidr), value);
+ if (bpf_lookup_elem(map.d_fd.getHandle(), &cidr4, &value) == 0) {
+ v4Addr.sin_addr.s_addr = cidr4.addr.s_addr;
+ result.emplace_back(Netmask(&v4Addr, cidr4.cidr), value);
}
- res = bpf_get_next_key(map.d_fd.getHandle(), &cidr4[1], &cidr4[1]);
+ res = bpf_get_next_key(map.d_fd.getHandle(), &cidr4, &cidr4);
}
}
{
auto& map = maps->d_cidr6;
- int res = bpf_get_next_key(map.d_fd.getHandle(), &cidr6[0], &cidr6[1]);
+ int res = bpf_get_next_key(map.d_fd.getHandle(), nullptr, &cidr6);
while (res == 0) {
- if (bpf_lookup_elem(map.d_fd.getHandle(), &cidr6[1], &value) == 0) {
- v6Addr.sin6_addr = cidr6[1].addr;
- result.emplace_back(Netmask(&v6Addr, cidr6[1].cidr), value);
+ if (bpf_lookup_elem(map.d_fd.getHandle(), &cidr6, &value) == 0) {
+ v6Addr.sin6_addr = cidr6.addr;
+ result.emplace_back(Netmask(&v6Addr, cidr6.cidr), value);
}
- res = bpf_get_next_key(map.d_fd.getHandle(), &cidr6[1], &cidr6[1]);
+ res = bpf_get_next_key(map.d_fd.getHandle(), &cidr6, &cidr6);
}
}
return result;
}
-std::vector > BPFFilter::getQNameStats()
+std::vector> BPFFilter::getQNameStats()
{
- std::vector > result;
+ std::vector> result;
if (d_mapFormat == MapFormat::Legacy) {
- QNameKey key = { { 0 } };
- QNameKey nextKey = { { 0 } };
+ QNameKey nextKey = {{0}};
QNameValue value;
auto maps = d_maps.lock();
auto& map = maps->d_qnames;
result.reserve(map.d_count);
- int res = bpf_get_next_key(map.d_fd.getHandle(), &key, &nextKey);
+ int res = bpf_get_next_key(map.d_fd.getHandle(), nullptr, &nextKey);
while (res == 0) {
if (bpf_lookup_elem(map.d_fd.getHandle(), &nextKey, &value) == 0) {
- nextKey.qname[sizeof(nextKey.qname) - 1 ] = '\0';
+ nextKey.qname[sizeof(nextKey.qname) - 1] = '\0';
+ // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast)
result.emplace_back(DNSName(reinterpret_cast(nextKey.qname), sizeof(nextKey.qname), 0, false), value.qtype, value.counter);
}
@@ -840,21 +886,20 @@
}
}
else {
- QNameAndQTypeKey key;
- QNameAndQTypeKey nextKey;
- memset(&key, 0, sizeof(key));
+ QNameAndQTypeKey nextKey{};
memset(&nextKey, 0, sizeof(nextKey));
CounterAndActionValue value;
auto maps = d_maps.lock();
auto& map = maps->d_qnames;
result.reserve(map.d_count);
- int res = bpf_get_next_key(map.d_fd.getHandle(), &key, &nextKey);
+ int res = bpf_get_next_key(map.d_fd.getHandle(), nullptr, &nextKey);
while (res == 0) {
if (bpf_lookup_elem(map.d_fd.getHandle(), &nextKey, &value) == 0) {
- nextKey.qname[sizeof(nextKey.qname) - 1 ] = '\0';
- result.emplace_back(DNSName(reinterpret_cast(nextKey.qname), sizeof(nextKey.qname), 0, false), key.qtype, value.counter);
+ nextKey.qname[sizeof(nextKey.qname) - 1] = '\0';
+ // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast)
+ result.emplace_back(DNSName(reinterpret_cast(nextKey.qname), sizeof(nextKey.qname), 0, false), nextKey.qtype, value.counter);
}
res = bpf_get_next_key(map.d_fd.getHandle(), &nextKey, &nextKey);
@@ -900,6 +945,9 @@
BPFFilter::BPFFilter(std::unordered_map& configs, BPFFilter::MapFormat format, bool external)
{
+ (void)configs;
+ (void)format;
+ (void)external;
}
void BPFFilter::addSocket(int)
@@ -941,19 +989,20 @@
throw std::runtime_error("eBPF support not enabled");
}
-std::vector> BPFFilter::getRangeRule(){
+std::vector> BPFFilter::getRangeRule()
+{
std::vector> result;
return result;
}
-std::vector > BPFFilter::getAddrStats()
+std::vector> BPFFilter::getAddrStats()
{
- std::vector > result;
+ std::vector> result;
return result;
}
-std::vector > BPFFilter::getQNameStats()
+std::vector> BPFFilter::getQNameStats()
{
- std::vector > result;
+ std::vector> result;
return result;
}
@@ -970,8 +1019,10 @@
return true;
}
return d_mapFormat == BPFFilter::MapFormat::WithActions;
-#endif /* HAVE_EBPF */
+#else
+ (void)action;
return false;
+#endif /* HAVE_EBPF */
}
bool BPFFilter::isExternal() const
diff -Nru dnsdist-1.9.16/bpf-filter.ebpf.src dnsdist-2.1.3/bpf-filter.ebpf.src
--- dnsdist-1.9.16/bpf-filter.ebpf.src 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/bpf-filter.ebpf.src 2026-10-08 15:17:50.000000000 +0000
@@ -389,7 +389,7 @@
struct QNameValue* qvalue = qnamefilter.lookup(&qkey);
if (qvalue &&
- (qvalue->qtype == 255 || qtype == qvalue->qtype)) {
+ (qvalue->qtype == 65535 || qtype == qvalue->qtype)) {
__sync_fetch_and_add(&qvalue->counter, 1);
return 0;
}
@@ -479,7 +479,7 @@
struct QNameValue* qvalue = qnamefilter.lookup(&qkey);
if (qvalue &&
- (qvalue->qtype == 255 || qtype == qvalue->qtype)) {
+ (qvalue->qtype == 65535 || qtype == qvalue->qtype)) {
__sync_fetch_and_add(&qvalue->counter, 1);
return 0;
}
diff -Nru dnsdist-1.9.16/bpf-filter.hh dnsdist-2.1.3/bpf-filter.hh
--- dnsdist-1.9.16/bpf-filter.hh 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/bpf-filter.hh 2026-10-08 15:17:50.000000000 +0000
@@ -32,7 +32,8 @@
class BPFFilter
{
public:
- enum class MapType : uint8_t {
+ enum class MapType : uint8_t
+ {
IPv4,
IPv6,
QNames,
@@ -41,12 +42,14 @@
CIDR6
};
- enum class MapFormat : uint8_t {
+ enum class MapFormat : uint8_t
+ {
Legacy = 0,
WithActions = 1
};
- enum class MatchAction : uint8_t {
+ enum class MatchAction : uint8_t
+ {
Pass = 0,
Drop = 1,
Truncate = 2
@@ -76,7 +79,6 @@
uint64_t counter{0};
BPFFilter::MatchAction action{BPFFilter::MatchAction::Pass};
};
-
BPFFilter(std::unordered_map& configs, BPFFilter::MapFormat format, bool external);
BPFFilter(const BPFFilter&) = delete;
@@ -88,14 +90,14 @@
void removeSocket(int sock);
void block(const ComboAddress& addr, MatchAction action);
void addRangeRule(const Netmask& address, bool force, BPFFilter::MatchAction action);
- void block(const DNSName& qname, MatchAction action, uint16_t qtype=255);
+ void block(const DNSName& qname, MatchAction action, uint16_t qtype = 65535);
void unblock(const ComboAddress& addr);
void rmRangeRule(const Netmask& address);
- void unblock(const DNSName& qname, uint16_t qtype=255);
+ void unblock(const DNSName& qname, uint16_t qtype = 65535);
- std::vector > getAddrStats();
+ std::vector> getAddrStats();
std::vector> getRangeRule();
- std::vector > getQNameStats();
+ std::vector> getQNameStats();
uint64_t getHits(const ComboAddress& requestor);
@@ -109,7 +111,7 @@
Map()
{
}
- Map(const MapConfiguration&, MapFormat);
+ Map(MapConfiguration, MapFormat);
MapConfiguration d_config;
uint32_t d_count{0};
FDWrapper d_fd;
diff -Nru dnsdist-1.9.16/bpf-filter.main.ebpf dnsdist-2.1.3/bpf-filter.main.ebpf
--- dnsdist-1.9.16/bpf-filter.main.ebpf 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/bpf-filter.main.ebpf 2026-10-08 15:17:50.000000000 +0000
@@ -104,7 +104,7 @@
BPF_MOV64_IMM(BPF_REG_7,2147483647),
BPF_JMP_IMM(BPF_JEQ,BPF_REG_0,0,7),
BPF_LDX_MEM(BPF_H,BPF_REG_1,BPF_REG_0,8),
-BPF_JMP_IMM(BPF_JEQ,BPF_REG_1,255,2),
+BPF_JMP_IMM(BPF_JEQ,BPF_REG_1,65535,2),
BPF_ALU64_IMM(BPF_AND,BPF_REG_6,65535),
BPF_JMP_REG(BPF_JNE,BPF_REG_1,BPF_REG_6,3),
BPF_MOV64_IMM(BPF_REG_1,1),
diff -Nru dnsdist-1.9.16/bpf-filter.qname.ebpf dnsdist-2.1.3/bpf-filter.qname.ebpf
--- dnsdist-1.9.16/bpf-filter.qname.ebpf 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/bpf-filter.qname.ebpf 2026-10-08 15:17:50.000000000 +0000
@@ -4078,14 +4078,16 @@
BPF_ALU64_REG(BPF_ADD,BPF_REG_9,BPF_REG_7),
BPF_RAW_INSN(BPF_LD|BPF_IND|BPF_H,BPF_REG_0,BPF_REG_9,0,0),
BPF_MOV64_REG(BPF_REG_6,BPF_REG_0),
-BPF_LD_MAP_FD(BPF_REG_1,maps->d_qnames.d_fd.getHandle()),
+// This should be BPF_LD_MAP_FD(BPF_REG_1,maps->d_qnames.d_fd.getHandle())
+// but will be patched at runtime.
+BPF_LD_MAP_FD(BPF_REG_1,0),
BPF_MOV64_REG(BPF_REG_2,BPF_REG_10),
BPF_ALU64_IMM(BPF_ADD,BPF_REG_2,-256),
BPF_RAW_INSN(BPF_JMP|BPF_CALL,0,0,0,BPF_FUNC_map_lookup_elem),
BPF_MOV64_IMM(BPF_REG_1,2147483647),
BPF_JMP_IMM(BPF_JEQ,BPF_REG_0,0,7),
BPF_LDX_MEM(BPF_H,BPF_REG_2,BPF_REG_0,8),
-BPF_JMP_IMM(BPF_JEQ,BPF_REG_2,255,2),
+BPF_JMP_IMM(BPF_JEQ,BPF_REG_2,65535,2),
BPF_ALU64_IMM(BPF_AND,BPF_REG_6,65535),
BPF_JMP_REG(BPF_JNE,BPF_REG_6,BPF_REG_2,3),
BPF_MOV64_IMM(BPF_REG_1,1),
diff -Nru dnsdist-1.9.16/build-aux/gen-version dnsdist-2.1.3/build-aux/gen-version
--- dnsdist-1.9.16/build-aux/gen-version 1970-01-01 00:00:00.000000000 +0000
+++ dnsdist-2.1.3/build-aux/gen-version 2026-10-12 07:14:27.000000000 +0000
@@ -0,0 +1,77 @@
+#!/bin/sh
+if [ ! -z "${BUILDER_VERSION}" ]; then
+ printf ${BUILDER_VERSION}
+ exit 0
+fi
+
+VERSION="unknown"
+
+DIRTY=""
+git status | grep -q clean || DIRTY='.dirty'
+
+# Special environment variable to signal that we are building a release, as this
+# has consequences for the version number.
+if [ "${IS_RELEASE}" = "YES" ]; then
+ TAG="$(git describe --tags --exact-match 2> /dev/null | cut -d- -f 2-)"
+ if [ -n "${TAG}" ]; then
+ # We're on a tag
+ echo "${TAG}${DIRTY}" > .version
+ printf "${TAG}${DIRTY}"
+ exit 0
+ fi
+ echo 'This is not a tag, either tag this commit or do not set $IS_RELEASE' >&2
+ exit 1
+fi
+
+#
+# Generate the version number based on the branch
+#
+if [ ! -z "$(git rev-parse --abbrev-ref HEAD 2> /dev/null)" ]; then
+ if [ -n "${BUILDER_MODULES}" ]; then
+ match=${BUILDER_MODULES}
+ [ $match = "authoritative" ] && match='auth'
+ [ $match = "recursor" ] && match='rec'
+ GIT_VERSION="$(git describe --match=${match}-* --tags | cut -d- -f2-)"
+ if [ $(echo ${GIT_VERSION} | awk -F"-" '{print NF-1}') = '3' ]; then
+ # A prerelease happened before
+ LAST_TAG="$(echo ${GIT_VERSION} | cut -d- -f1-2)"
+ COMMITS_SINCE_TAG="$(echo ${GIT_VERSION} | cut -d- -f3)"
+ GIT_HASH="$(echo ${GIT_VERSION} | cut -d- -f4)"
+ elif [ $(echo ${GIT_VERSION} | awk -F"-" '{print NF-1}') = '1' ]; then
+ # Exactly on a pre-release
+ LAST_TAG="$(echo ${GIT_VERSION} | cut -d- -f1-2)"
+ else
+ LAST_TAG="$(echo ${GIT_VERSION} | cut -d- -f1)"
+ COMMITS_SINCE_TAG="$(echo ${GIT_VERSION} | cut -d- -f2)"
+ GIT_HASH="$(echo ${GIT_VERSION} | cut -d- -f3)"
+ fi
+ fi
+
+ if [ -z "${GIT_VERSION}" ]; then
+ # BUILDER_SUPPORT has more than one product listed, fall back to the 0.0.0 logic
+
+ # We used 0.0.XXXXgHASH for master in the previous incarnation of our build pipeline.
+ # This now becomes 0.0.XXXX.0.gHASH, as 0.0.0.XXXX.gHASH (which is more correct)
+ # would break upgrades for those running master
+ # This _should_ be ok for forever if we stick to X.Y.Z for version numbers
+ LAST_TAG=0.0
+ COMMITS_SINCE_TAG="$(git rev-list --count 12c868770afc20b6cc0da439d881105151d557dd..HEAD 2> /dev/null).0"
+ [ "${COMMITS_SINCE_TAG}" = ".0" ] && COMMITS_SINCE_TAG=0.0
+ GIT_HASH="g$(git rev-parse HEAD | cut -c1-10 2> /dev/null)"
+ fi
+
+ BRANCH=".$(git rev-parse --abbrev-ref HEAD | perl -p -e 's/[^[:alnum:]]//g;')"
+
+ TAG="$(git describe --tags --exact-match 2> /dev/null | cut -d- -f 2-)"
+ if [ -n "${TAG}" ]; then # We're exactly on a tag
+ COMMITS_SINCE_TAG="0"
+ GIT_HASH="g$(git show --no-patch --format=format:%h HEAD 2>/dev/null)"
+ if [ -z "$GIT_HASH" ]; then
+ GIT_HASH="g$(git show --format=format:%h HEAD | head -n1)"
+ fi
+ fi
+
+ VERSION="${LAST_TAG}.${COMMITS_SINCE_TAG}${BRANCH}.${GIT_HASH}${DIRTY}"
+fi
+
+printf $VERSION
diff -Nru dnsdist-1.9.16/builder-support/gen-version dnsdist-2.1.3/builder-support/gen-version
--- dnsdist-1.9.16/builder-support/gen-version 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/builder-support/gen-version 2026-10-08 15:17:50.000000000 +0000
@@ -10,7 +10,7 @@
git status | grep -q clean || DIRTY='.dirty'
# Special environment variable to signal that we are building a release, as this
-# has consequenses for the version number.
+# has consequences for the version number.
if [ "${IS_RELEASE}" = "YES" ]; then
TAG="$(git describe --tags --exact-match 2> /dev/null | cut -d- -f 2-)"
if [ -n "${TAG}" ]; then
@@ -53,7 +53,7 @@
# We used 0.0.XXXXgHASH for master in the previous incarnation of our build pipeline.
# This now becomes 0.0.XXXX.0.gHASH, as 0.0.0.XXXX.gHASH (which is more correct)
# would break upgrades for those running master
- # This _should_ be ok for forever is we stick to X.Y.Z for version numbers
+ # This _should_ be ok for forever if we stick to X.Y.Z for version numbers
LAST_TAG=0.0
COMMITS_SINCE_TAG="$(git rev-list --count 12c868770afc20b6cc0da439d881105151d557dd..HEAD 2> /dev/null).0"
[ "${COMMITS_SINCE_TAG}" = ".0" ] && COMMITS_SINCE_TAG=0.0
diff -Nru dnsdist-1.9.16/burtle.hh dnsdist-2.1.3/burtle.hh
--- dnsdist-1.9.16/burtle.hh 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/burtle.hh 2026-10-12 07:14:27.000000000 +0000
@@ -178,3 +178,9 @@
/*-------------------------------------------- report the result */
return c;
}
+
+template
+inline uint32_t burtleCI(const T& k, uint32_t initval)
+{
+ return burtleCI(reinterpret_cast(k.data()), k.length(), initval); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast): can't static_cast because of sign difference
+}
diff -Nru dnsdist-1.9.16/cachecleaner.hh dnsdist-2.1.3/cachecleaner.hh
--- dnsdist-1.9.16/cachecleaner.hh 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/cachecleaner.hh 2026-10-12 07:14:27.000000000 +0000
@@ -81,13 +81,14 @@
template
void moveCacheItemToFrontOrBack(T& collection, typename T::iterator& iter, bool front)
{
- typedef typename T::template index::type sequence_t;
- sequence_t& sidx = collection.template get();
- typename sequence_t::iterator si = collection.template project(iter);
- if (front)
- sidx.relocate(sidx.begin(), si); // at the beginning of the delete queue
- else
- sidx.relocate(sidx.end(), si); // back
+ auto& sidx = collection.template get();
+ auto siter = collection.template project(iter);
+ if (front) {
+ sidx.relocate(sidx.begin(), siter); // at the beginning of the delete queue
+ }
+ else {
+ sidx.relocate(sidx.end(), siter); // back
+ }
}
template
@@ -108,8 +109,8 @@
uint64_t totErased = 0;
time_t now = time(nullptr);
- for (auto& mc : maps) {
- auto map = mc.d_map.write_lock();
+ for (auto& shard : maps) {
+ auto map = shard.d_map.write_lock();
uint64_t lookAt = (map->size() + 9) / 10; // Look at 10% of this shard
uint64_t erased = 0;
@@ -196,7 +197,7 @@
//
// Suppose we have 10 perfectly balanced shards, each filled with
// 100 entries. So cacheSize is 1000. When cleaning 10%, after shard
- // 0 we still need to processs 900 entries, spread out of 9
+ // 0 we still need to process 900 entries, spread out of 9
// shards. So cacheSize becomes 900, and toTrim 90, since we cleaned
// 10 items from shard 0. Our fraction remains 10%. For the last
// shard, we would end up with cacheSize 100, and to clean 10.
@@ -240,8 +241,8 @@
{
uint64_t delcount = 0;
- for (auto& mc : maps) {
- auto map = mc.d_map.write_lock();
+ for (auto& shard : maps) {
+ auto map = shard.d_map.write_lock();
delcount += map->size();
map->clear();
}
@@ -256,8 +257,8 @@
std::string prefix(match);
prefix.resize(prefix.size() - 1);
DNSName dprefix(prefix);
- for (auto& mc : maps) {
- auto map = mc.d_map.write_lock();
+ for (auto& shard : maps) {
+ auto map = shard.d_map.write_lock();
auto& idx = boost::multi_index::get(*map);
auto iter = idx.lower_bound(dprefix);
auto start = iter;
@@ -275,10 +276,10 @@
}
template
-uint64_t purgeExactLockedCollection(T& mc, const DNSName& qname)
+uint64_t purgeExactLockedCollection(T& shard, const DNSName& qname)
{
uint64_t delcount = 0;
- auto map = mc.d_map.write_lock();
+ auto map = shard.d_map.write_lock();
auto& idx = boost::multi_index::get(*map);
auto range = idx.equal_range(qname);
if (range.first != range.second) {
@@ -290,12 +291,12 @@
}
template
-bool lruReplacingInsert(Index& i, const typename Index::value_type& x)
+bool lruReplacingInsert(Index& index, const typename Index::value_type& value)
{
- auto inserted = i.insert(x);
+ auto inserted = index.insert(value);
if (!inserted.second) {
- moveCacheItemToBack(i, inserted.first);
- i.replace(inserted.first, x);
+ moveCacheItemToBack(index, inserted.first);
+ index.replace(inserted.first, value);
return false;
}
return true;
diff -Nru dnsdist-1.9.16/channel.hh dnsdist-2.1.3/channel.hh
--- dnsdist-1.9.16/channel.hh 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/channel.hh 2026-10-12 07:14:27.000000000 +0000
@@ -24,29 +24,7 @@
#include
#include "misc.hh"
-
-/* g++ defines __SANITIZE_THREAD__
- clang++ supports the nice __has_feature(thread_sanitizer),
- let's merge them */
-#if defined(__has_feature)
-#if __has_feature(thread_sanitizer)
-#define __SANITIZE_THREAD__ 1
-#endif
-#endif
-
-#if __SANITIZE_THREAD__
-#if defined __has_include
-#if __has_include()
-#include
-#else /* __has_include() */
-extern "C" void __tsan_acquire(void* addr);
-extern "C" void __tsan_release(void* addr);
-#endif /* __has_include() */
-#else /* defined __has_include */
-extern "C" void __tsan_acquire(void* addr);
-extern "C" void __tsan_release(void* addr);
-#endif /* defined __has_include */
-#endif /* __SANITIZE_THREAD__ */
+#include "sanitizer.hh"
namespace pdns
{
@@ -243,7 +221,7 @@
not even to release it, so let's transfer it to a local object */
auto localObj = std::move(object);
auto ptr = localObj.get();
- static_assert(sizeof(ptr) <= PIPE_BUF, "Writes up to PIPE_BUF are guaranted not to interleaved and to either fully succeed or fail");
+ static_assert(sizeof(ptr) <= PIPE_BUF, "Writes up to PIPE_BUF are guaranteed not to interleaved and to either fully succeed or fail");
while (true) {
#if __SANITIZE_THREAD__
__tsan_release(ptr);
diff -Nru dnsdist-1.9.16/compile dnsdist-2.1.3/compile
--- dnsdist-1.9.16/compile 2026-08-05 14:29:28.000000000 +0000
+++ dnsdist-2.1.3/compile 2026-10-12 07:14:54.031469800 +0000
@@ -1,9 +1,9 @@
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
-scriptversion=2018-03-07.03; # UTC
+scriptversion=2024-06-19.01; # UTC
-# Copyright (C) 1999-2021 Free Software Foundation, Inc.
+# Copyright (C) 1999-2024 Free Software Foundation, Inc.
# Written by Tom Tromey .
#
# This program is free software; you can redistribute it and/or modify
@@ -143,7 +143,7 @@
# configure might choose to run compile as 'compile cc -o foo foo.c'.
eat=1
case $2 in
- *.o | *.[oO][bB][jJ])
+ *.o | *.lo | *.[oO][bB][jJ])
func_file_conv "$2"
set x "$@" -Fo"$file"
shift
@@ -248,14 +248,17 @@
right script to run: please start by reading the file 'INSTALL'.
Report bugs to .
+GNU Automake home page: .
+General help using GNU software: .
EOF
exit $?
;;
-v | --v*)
- echo "compile $scriptversion"
+ echo "compile (GNU Automake) $scriptversion"
exit $?
;;
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
+ clang-cl | *[/\\]clang-cl | clang-cl.exe | *[/\\]clang-cl.exe | \
icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
func_cl_wrapper "$@" # Doesn't return...
;;
diff -Nru dnsdist-1.9.16/config.guess dnsdist-2.1.3/config.guess
--- dnsdist-1.9.16/config.guess 2026-08-05 14:29:28.000000000 +0000
+++ dnsdist-2.1.3/config.guess 2026-10-12 07:14:54.032470000 +0000
@@ -1,14 +1,14 @@
#! /bin/sh
# Attempt to guess a canonical system name.
-# Copyright 1992-2021 Free Software Foundation, Inc.
+# Copyright 1992-2024 Free Software Foundation, Inc.
# shellcheck disable=SC2006,SC2268 # see below for rationale
-timestamp='2021-06-03'
+timestamp='2024-01-01'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
+# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
@@ -47,7 +47,7 @@
usage="\
Usage: $0 [OPTION]
-Output the configuration name of the system \`$me' is run on.
+Output the configuration name of the system '$me' is run on.
Options:
-h, --help print this help, then exit
@@ -60,13 +60,13 @@
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright 1992-2021 Free Software Foundation, Inc.
+Copyright 1992-2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
help="
-Try \`$me --help' for more information."
+Try '$me --help' for more information."
# Parse command line
while test $# -gt 0 ; do
@@ -102,8 +102,8 @@
# temporary files to be created and, as you can see below, it is a
# headache to deal with in a portable fashion.
-# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
-# use `HOST_CC' if defined, but it is deprecated.
+# Historically, 'CC_FOR_BUILD' used to be named 'HOST_CC'. We still
+# use 'HOST_CC' if defined, but it is deprecated.
# Portable tmp directory creation inspired by the Autoconf team.
@@ -155,6 +155,9 @@
set_cc_for_build
cat <<-EOF > "$dummy.c"
+ #if defined(__ANDROID__)
+ LIBC=android
+ #else
#include
#if defined(__UCLIBC__)
LIBC=uclibc
@@ -162,6 +165,8 @@
LIBC=dietlibc
#elif defined(__GLIBC__)
LIBC=gnu
+ #elif defined(__LLVM_LIBC__)
+ LIBC=llvm
#else
#include
/* First heuristic to detect musl libc. */
@@ -169,6 +174,7 @@
LIBC=musl
#endif
#endif
+ #endif
EOF
cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
eval "$cc_set_libc"
@@ -437,7 +443,7 @@
# This test works for both compilers.
if test "$CC_FOR_BUILD" != no_compiler_found; then
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
- (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
+ (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then
SUN_ARCH=x86_64
@@ -459,7 +465,7 @@
UNAME_RELEASE=`uname -v`
;;
esac
- # Japanese Language versions have a version number like `4.1.3-JL'.
+ # Japanese Language versions have a version number like '4.1.3-JL'.
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
GUESS=sparc-sun-sunos$SUN_REL
;;
@@ -904,7 +910,7 @@
fi
;;
*:FreeBSD:*:*)
- UNAME_PROCESSOR=`/usr/bin/uname -p`
+ UNAME_PROCESSOR=`uname -p`
case $UNAME_PROCESSOR in
amd64)
UNAME_PROCESSOR=x86_64 ;;
@@ -929,6 +935,9 @@
i*:PW*:*)
GUESS=$UNAME_MACHINE-pc-pw32
;;
+ *:SerenityOS:*:*)
+ GUESS=$UNAME_MACHINE-pc-serenity
+ ;;
*:Interix*:*)
case $UNAME_MACHINE in
x86)
@@ -963,11 +972,37 @@
GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC
;;
+ x86_64:[Mm]anagarm:*:*|i?86:[Mm]anagarm:*:*)
+ GUESS="$UNAME_MACHINE-pc-managarm-mlibc"
+ ;;
+ *:[Mm]anagarm:*:*)
+ GUESS="$UNAME_MACHINE-unknown-managarm-mlibc"
+ ;;
*:Minix:*:*)
GUESS=$UNAME_MACHINE-unknown-minix
;;
aarch64:Linux:*:*)
- GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
+ set_cc_for_build
+ CPU=$UNAME_MACHINE
+ LIBCABI=$LIBC
+ if test "$CC_FOR_BUILD" != no_compiler_found; then
+ ABI=64
+ sed 's/^ //' << EOF > "$dummy.c"
+ #ifdef __ARM_EABI__
+ #ifdef __ARM_PCS_VFP
+ ABI=eabihf
+ #else
+ ABI=eabi
+ #endif
+ #endif
+EOF
+ cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
+ eval "$cc_set_abi"
+ case $ABI in
+ eabi | eabihf) CPU=armv8l; LIBCABI=$LIBC$ABI ;;
+ esac
+ fi
+ GUESS=$CPU-unknown-linux-$LIBCABI
;;
aarch64_be:Linux:*:*)
UNAME_MACHINE=aarch64_be
@@ -1033,7 +1068,16 @@
k1om:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
- loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
+ kvx:Linux:*:*)
+ GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
+ ;;
+ kvx:cos:*:*)
+ GUESS=$UNAME_MACHINE-unknown-cos
+ ;;
+ kvx:mbr:*:*)
+ GUESS=$UNAME_MACHINE-unknown-mbr
+ ;;
+ loongarch32:Linux:*:* | loongarch64:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
m32r*:Linux:*:*)
@@ -1148,16 +1192,27 @@
;;
x86_64:Linux:*:*)
set_cc_for_build
+ CPU=$UNAME_MACHINE
LIBCABI=$LIBC
if test "$CC_FOR_BUILD" != no_compiler_found; then
- if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \
- (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
- grep IS_X32 >/dev/null
- then
- LIBCABI=${LIBC}x32
- fi
+ ABI=64
+ sed 's/^ //' << EOF > "$dummy.c"
+ #ifdef __i386__
+ ABI=x86
+ #else
+ #ifdef __ILP32__
+ ABI=x32
+ #endif
+ #endif
+EOF
+ cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
+ eval "$cc_set_abi"
+ case $ABI in
+ x86) CPU=i686 ;;
+ x32) LIBCABI=${LIBC}x32 ;;
+ esac
fi
- GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI
+ GUESS=$CPU-pc-linux-$LIBCABI
;;
xtensa*:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
@@ -1177,7 +1232,7 @@
GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION
;;
i*86:OS/2:*:*)
- # If we were able to find `uname', then EMX Unix compatibility
+ # If we were able to find 'uname', then EMX Unix compatibility
# is probably installed.
GUESS=$UNAME_MACHINE-pc-os2-emx
;;
@@ -1318,7 +1373,7 @@
GUESS=ns32k-sni-sysv
fi
;;
- PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+ PENTIUM:*:4.0*:*) # Unisys 'ClearPath HMP IX 4000' SVR4/MP effort
# says
GUESS=i586-unisys-sysv4
;;
@@ -1364,8 +1419,11 @@
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
GUESS=i586-pc-haiku
;;
- x86_64:Haiku:*:*)
- GUESS=x86_64-unknown-haiku
+ ppc:Haiku:*:*) # Haiku running on Apple PowerPC
+ GUESS=powerpc-apple-haiku
+ ;;
+ *:Haiku:*:*) # Haiku modern gcc (not bound by BeOS compat)
+ GUESS=$UNAME_MACHINE-unknown-haiku
;;
SX-4:SUPER-UX:*:*)
GUESS=sx4-nec-superux$UNAME_RELEASE
@@ -1522,6 +1580,9 @@
i*86:rdos:*:*)
GUESS=$UNAME_MACHINE-pc-rdos
;;
+ i*86:Fiwix:*:*)
+ GUESS=$UNAME_MACHINE-pc-fiwix
+ ;;
*:AROS:*:*)
GUESS=$UNAME_MACHINE-unknown-aros
;;
@@ -1534,6 +1595,9 @@
*:Unleashed:*:*)
GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE
;;
+ *:Ironclad:*:*)
+ GUESS=$UNAME_MACHINE-unknown-ironclad
+ ;;
esac
# Do we have a guess based on uname results?
diff -Nru dnsdist-1.9.16/config.h.in dnsdist-2.1.3/config.h.in
--- dnsdist-1.9.16/config.h.in 2026-08-05 14:29:28.000000000 +0000
+++ dnsdist-2.1.3/config.h.in 2026-10-12 07:14:53.710453500 +0000
@@ -1,18 +1,18 @@
/* config.h.in. Generated from configure.ac by autoheader. */
-/* This is dnsdist */
-#undef DNSDIST
+/* pdns configure arguments */
+#undef DNSDIST_CONFIG_ARGS
-/* Define to 1 if you have the `accept4' function. */
+/* Define to 1 if you have the 'accept4' function. */
#undef HAVE_ACCEPT4
-/* Define to 1 if you have the `arc4random' function. */
+/* Define to 1 if you have the 'arc4random' function. */
#undef HAVE_ARC4RANDOM
-/* Define to 1 if you have the `arc4random_buf' function. */
+/* Define to 1 if you have the 'arc4random_buf' function. */
#undef HAVE_ARC4RANDOM_BUF
-/* Define to 1 if you have the `arc4random_uniform' function. */
+/* Define to 1 if you have the 'arc4random_uniform' function. */
#undef HAVE_ARC4RANDOM_UNIFORM
/* Defined if the requested minimum BOOST version is satisfied */
@@ -27,7 +27,7 @@
/* Define to 1 if you have the BPF library */
#undef HAVE_BPF
-/* Define to 1 if you have the `bpf_xdp_query' function. */
+/* Define to 1 if you have the 'bpf_xdp_query' function. */
#undef HAVE_BPF_XDP_QUERY
/* Define to 1 if you have CDB */
@@ -39,31 +39,27 @@
/* Define to 1 if you have clock_gettime */
#undef HAVE_CLOCK_GETTIME
-/* Define to 1 if you have the `crypto_box_curve25519xchacha20poly1305_easy'
+/* Define to 1 if you have the 'crypto_box_curve25519xchacha20poly1305_easy'
function. */
#undef HAVE_CRYPTO_BOX_CURVE25519XCHACHA20POLY1305_EASY
-/* Define to 1 if you have the `crypto_box_easy_afternm' function. */
+/* Define to 1 if you have the 'crypto_box_easy_afternm' function. */
#undef HAVE_CRYPTO_BOX_EASY_AFTERNM
-/* Define to 1 if you have the `CRYPTO_memcmp' function. */
+/* Define to 1 if you have the 'CRYPTO_memcmp' function. */
#undef HAVE_CRYPTO_MEMCMP
-/* Define to 1 if you have the `crypto_shorthash' function. */
+/* Define to 1 if you have the 'crypto_shorthash' function. */
#undef HAVE_CRYPTO_SHORTHASH
/* define if the compiler supports basic C++17 syntax */
#undef HAVE_CXX17
-/* Define to 1 if you have the declaration of
- `h2o_socket_get_ssl_server_name', and to 0 if you don't. */
-#undef HAVE_DECL_H2O_SOCKET_GET_SSL_SERVER_NAME
-
-/* Define to 1 if you have the declaration of `snmp_select_info2', and to 0 if
+/* Define to 1 if you have the declaration of 'snmp_select_info2', and to 0 if
you don't. */
#undef HAVE_DECL_SNMP_SELECT_INFO2
-/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
+/* Define to 1 if you have the declaration of 'strerror_r', and to 0 if you
don't. */
#undef HAVE_DECL_STRERROR_R
@@ -88,19 +84,19 @@
/* Define if using eBPF. */
#undef HAVE_EBPF
-/* Define to 1 if you have the `EVP_MD_CTX_free' function. */
+/* Define to 1 if you have the 'EVP_MD_CTX_free' function. */
#undef HAVE_EVP_MD_CTX_FREE
-/* Define to 1 if you have the `EVP_MD_CTX_new' function. */
+/* Define to 1 if you have the 'EVP_MD_CTX_new' function. */
#undef HAVE_EVP_MD_CTX_NEW
/* Define to 1 if you have EVP_PKEY_CTX_set1_scrypt_salt */
#undef HAVE_EVP_PKEY_CTX_SET1_SCRYPT_SALT
-/* Define to 1 if you have the `explicit_bzero' function. */
+/* Define to 1 if you have the 'explicit_bzero' function. */
#undef HAVE_EXPLICIT_BZERO
-/* Define to 1 if you have the `explicit_memset' function. */
+/* Define to 1 if you have the 'explicit_memset' function. */
#undef HAVE_EXPLICIT_MEMSET
/* Define if ASAN fiber annotation interface is available. */
@@ -109,46 +105,49 @@
/* Define to 1 if you have libfstrm */
#undef HAVE_FSTRM
-/* Define to 1 if you have the `fstrm_tcp_writer_init' function. */
+/* Define to 1 if you have the 'fstrm_tcp_writer_init' function. */
#undef HAVE_FSTRM_TCP_WRITER_INIT
-/* Define to 1 if you have the `getentropy' function. */
+/* Define to 1 if you have the 'getentropy' function. */
#undef HAVE_GETENTROPY
/* Define to 1 if you have getifaddrs */
#undef HAVE_GETIFADDRS
-/* Define to 1 if you have the `getrandom' function. */
+/* Define to 1 if you have the 'getrandom' function. */
#undef HAVE_GETRANDOM
-/* Define to 1 if you have the `gmtime_r' function. */
+/* Define to 1 if you have the 'gmtime_r' function. */
#undef HAVE_GMTIME_R
/* Define to 1 if you have GnuTLS */
#undef HAVE_GNUTLS
-/* Define to 1 if you have the `gnutls_alpn_set_protocols' function. */
+/* Define to 1 if you have the 'gnutls_alpn_set_protocols' function. */
#undef HAVE_GNUTLS_ALPN_SET_PROTOCOLS
-/* Define to 1 if you have the `gnutls_memset' function. */
+/* Define to 1 if you have the 'gnutls_memset' function. */
#undef HAVE_GNUTLS_MEMSET
-/* Define to 1 if you have the `gnutls_session_get_verify_cert_status'
+/* Define to 1 if you have the 'gnutls_session_get_verify_cert_status'
function. */
#undef HAVE_GNUTLS_SESSION_GET_VERIFY_CERT_STATUS
-/* Define to 1 if you have the `gnutls_session_set_verify_cert' function. */
+/* Define to 1 if you have the 'gnutls_session_set_verify_cert' function. */
#undef HAVE_GNUTLS_SESSION_SET_VERIFY_CERT
-/* define to 1 if h2o_socket_get_ssl_server_name is available. */
-#undef HAVE_H2O_SOCKET_GET_SSL_SERVER_NAME
-
/* Define to 1 if you have the header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you enable ipcipher support */
#undef HAVE_IPCIPHER
+/* Define to 1 if you enable ipcrypt2 support */
+#undef HAVE_IPCRYPT2
+
+/* Define if LSAN interface is available. */
+#undef HAVE_LEAK_SANITIZER_INTERFACE
+
/* Define to 1 if you have libcap */
#undef HAVE_LIBCAP
@@ -158,9 +157,6 @@
/* Define to 1 if you have libedit */
#undef HAVE_LIBEDIT
-/* Define to 1 if you enable h2o-evloop support */
-#undef HAVE_LIBH2OEVLOOP
-
/* Define to 1 if you have libsodium */
#undef HAVE_LIBSODIUM
@@ -179,13 +175,13 @@
/* Define to 1 if you have the header file. */
#undef HAVE_LMDB_H
-/* Define to 1 if you have the `localtime_r' function. */
+/* Define to 1 if you have the 'localtime_r' function. */
#undef HAVE_LOCALTIME_R
/* Define to 1 if you have lua */
#undef HAVE_LUA
-/* Define to 1 if you have the `memset_s' function. */
+/* Define to 1 if you have the 'memset_s' function. */
#undef HAVE_MEMSET_S
/* Define if using Net SNMP. */
@@ -194,20 +190,20 @@
/* Define to 1 if you have nghttp2 */
#undef HAVE_NGHTTP2
-/* Define to 1 if you have the `nghttp2_check_header_value_rfc9113' function.
+/* Define to 1 if you have the 'nghttp2_check_header_value_rfc9113' function.
*/
#undef HAVE_NGHTTP2_CHECK_HEADER_VALUE_RFC9113
-/* Define to 1 if you have the `nghttp2_check_method' function. */
+/* Define to 1 if you have the 'nghttp2_check_method' function. */
#undef HAVE_NGHTTP2_CHECK_METHOD
-/* Define to 1 if you have the `nghttp2_check_path' function. */
+/* Define to 1 if you have the 'nghttp2_check_path' function. */
#undef HAVE_NGHTTP2_CHECK_PATH
-/* Define to 1 if you have the `OCSP_basic_sign' function. */
+/* Define to 1 if you have the 'OCSP_basic_sign' function. */
#undef HAVE_OCSP_BASIC_SIGN
-/* Define to 1 if you have the `OPENSSL_init_crypto' function. */
+/* Define to 1 if you have the 'OPENSSL_init_crypto' function. */
#undef HAVE_OPENSSL_INIT_CRYPTO
/* Define to 1 if you have pthread_getattr_np */
@@ -243,6 +239,9 @@
/* Define to 1 if you have quiche */
#undef HAVE_QUICHE
+/* Define to 1 if you have the 'quiche_conn_server_name' function. */
+#undef HAVE_QUICHE_CONN_SERVER_NAME
+
/* Define to 1 if the Quiche API has quiche_h3_event_headers_has_more_frames
instead of quiche_h3_event_headers_has_body */
#undef HAVE_QUICHE_H3_EVENT_HEADERS_HAS_MORE_FRAMES
@@ -251,22 +250,22 @@
quiche_conn_stream_recv and quiche_conn_stream_send */
#undef HAVE_QUICHE_STREAM_ERROR_CODES
-/* Define to 1 if you have the `randombytes_stir' function. */
+/* Define to 1 if you have the 'randombytes_stir' function. */
#undef HAVE_RANDOMBYTES_STIR
-/* Define to 1 if you have the `RAND_bytes' function. */
+/* Define to 1 if you have the 'RAND_bytes' function. */
#undef HAVE_RAND_BYTES
-/* Define to 1 if you have the `RAND_pseudo_bytes' function. */
+/* Define to 1 if you have the 'RAND_pseudo_bytes' function. */
#undef HAVE_RAND_PSEUDO_BYTES
/* Define if using RE2. */
#undef HAVE_RE2
-/* Define to 1 if you have the `recvmmsg' function. */
+/* Define to 1 if you have the 'recvmmsg' function. */
#undef HAVE_RECVMMSG
-/* Define to 1 if you have the `RSA_get0_key' function. */
+/* Define to 1 if you have the 'RSA_get0_key' function. */
#undef HAVE_RSA_GET0_KEY
/* Define to 1 if you have the header
@@ -279,49 +278,52 @@
/* Define to 1 if __sanitizer_finish_switch_fiber takes three pointers */
#undef HAVE_SANITIZER_FINISH_SWITCH_FIBER_THREE_PTRS
-/* Define to 1 if you have the `sendmmsg' function. */
+/* Define to 1 if you have the header file. */
+#undef HAVE_SANITIZER_LSAN_INTERFACE_H
+
+/* Define to 1 if you have the 'sendmmsg' function. */
#undef HAVE_SENDMMSG
/* define to 1 if snmp_select_info2 is available. */
#undef HAVE_SNMP_SELECT_INFO2
-/* Define to 1 if you have the `sodium_memcmp' function. */
+/* Define to 1 if you have the 'sodium_memcmp' function. */
#undef HAVE_SODIUM_MEMCMP
-/* Define to 1 if you have the `SSL_CTX_get0_privatekey' function. */
+/* Define to 1 if you have the 'SSL_CTX_get0_privatekey' function. */
#undef HAVE_SSL_CTX_GET0_PRIVATEKEY
-/* Define to 1 if you have the `SSL_CTX_set_alpn_protos' function. */
+/* Define to 1 if you have the 'SSL_CTX_set_alpn_protos' function. */
#undef HAVE_SSL_CTX_SET_ALPN_PROTOS
-/* Define to 1 if you have the `SSL_CTX_set_alpn_select_cb' function. */
+/* Define to 1 if you have the 'SSL_CTX_set_alpn_select_cb' function. */
#undef HAVE_SSL_CTX_SET_ALPN_SELECT_CB
-/* Define to 1 if you have the `SSL_CTX_set_ciphersuites' function. */
+/* Define to 1 if you have the 'SSL_CTX_set_ciphersuites' function. */
#undef HAVE_SSL_CTX_SET_CIPHERSUITES
-/* Define to 1 if you have the `SSL_CTX_set_keylog_callback' function. */
+/* Define to 1 if you have the 'SSL_CTX_set_keylog_callback' function. */
#undef HAVE_SSL_CTX_SET_KEYLOG_CALLBACK
-/* Define to 1 if you have the `SSL_CTX_set_min_proto_version' function. */
+/* Define to 1 if you have the 'SSL_CTX_set_min_proto_version' function. */
#undef HAVE_SSL_CTX_SET_MIN_PROTO_VERSION
-/* Define to 1 if you have the `SSL_CTX_set_next_proto_select_cb' function. */
+/* Define to 1 if you have the 'SSL_CTX_set_next_proto_select_cb' function. */
#undef HAVE_SSL_CTX_SET_NEXT_PROTO_SELECT_CB
-/* Define to 1 if you have the `SSL_CTX_set_num_tickets' function. */
+/* Define to 1 if you have the 'SSL_CTX_set_num_tickets' function. */
#undef HAVE_SSL_CTX_SET_NUM_TICKETS
-/* Define to 1 if you have the `SSL_CTX_use_cert_and_key' function. */
+/* Define to 1 if you have the 'SSL_CTX_use_cert_and_key' function. */
#undef HAVE_SSL_CTX_USE_CERT_AND_KEY
-/* Define to 1 if you have the `SSL_get0_alpn_selected' function. */
+/* Define to 1 if you have the 'SSL_get0_alpn_selected' function. */
#undef HAVE_SSL_GET0_ALPN_SELECTED
-/* Define to 1 if you have the `SSL_get0_next_proto_negotiated' function. */
+/* Define to 1 if you have the 'SSL_get0_next_proto_negotiated' function. */
#undef HAVE_SSL_GET0_NEXT_PROTO_NEGOTIATED
-/* Define to 1 if you have the `SSL_set_hostflags' function. */
+/* Define to 1 if you have the 'SSL_set_hostflags' function. */
#undef HAVE_SSL_SET_HOSTFLAGS
/* Define to 1 if you have the header file. */
@@ -333,7 +335,7 @@
/* Define to 1 if you have the header file. */
#undef HAVE_STDLIB_H
-/* Define if you have `strerror_r'. */
+/* Define if you have 'strerror_r'. */
#undef HAVE_STRERROR_R
/* Define to 1 if you have the header file. */
@@ -366,6 +368,9 @@
/* Define to 1 if you have AF_XDP (XSK) support enabled */
#undef HAVE_XSK
+/* Define to 1 if you enable YAML configuration support */
+#undef HAVE_YAML_CONFIGURATION
+
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#undef LT_OBJDIR
@@ -399,7 +404,7 @@
/* Define to the version of this package. */
#undef PACKAGE_VERSION
-/* Define to 1 if all of the C90 standard headers exist (not just the ones
+/* Define to 1 if all of the C89 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#undef STDC_HEADERS
diff -Nru dnsdist-1.9.16/config.sub dnsdist-2.1.3/config.sub
--- dnsdist-1.9.16/config.sub 2026-08-05 14:29:28.000000000 +0000
+++ dnsdist-2.1.3/config.sub 2026-10-12 07:14:54.034469800 +0000
@@ -1,14 +1,14 @@
#! /bin/sh
# Configuration validation subroutine script.
-# Copyright 1992-2021 Free Software Foundation, Inc.
+# Copyright 1992-2024 Free Software Foundation, Inc.
# shellcheck disable=SC2006,SC2268 # see below for rationale
-timestamp='2021-08-14'
+timestamp='2024-01-01'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
+# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
@@ -76,13 +76,13 @@
version="\
GNU config.sub ($timestamp)
-Copyright 1992-2021 Free Software Foundation, Inc.
+Copyright 1992-2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
help="
-Try \`$me --help' for more information."
+Try '$me --help' for more information."
# Parse command line
while test $# -gt 0 ; do
@@ -130,7 +130,7 @@
# Separate into logical components for further validation
case $1 in
*-*-*-*-*)
- echo Invalid configuration \`"$1"\': more than four components >&2
+ echo "Invalid configuration '$1': more than four components" >&2
exit 1
;;
*-*-*-*)
@@ -145,7 +145,8 @@
nto-qnx* | linux-* | uclinux-uclibc* \
| uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
| netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
- | storm-chaos* | os2-emx* | rtmk-nova*)
+ | storm-chaos* | os2-emx* | rtmk-nova* | managarm-* \
+ | windows-* )
basic_machine=$field1
basic_os=$maybe_os
;;
@@ -943,7 +944,7 @@
EOF
IFS=$saved_IFS
;;
- # We use `pc' rather than `unknown'
+ # We use 'pc' rather than 'unknown'
# because (1) that's what they normally are, and
# (2) the word "unknown" tends to confuse beginning users.
i*86 | x86_64)
@@ -1020,6 +1021,11 @@
;;
# Here we normalize CPU types with a missing or matching vendor
+ armh-unknown | armh-alt)
+ cpu=armv7l
+ vendor=alt
+ basic_os=${basic_os:-linux-gnueabihf}
+ ;;
dpx20-unknown | dpx20-bull)
cpu=rs6000
vendor=bull
@@ -1070,7 +1076,7 @@
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
cpu=i586
;;
- pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*)
+ pentiumpro-* | p6-* | 6x86-* | athlon-* | athlon_*-*)
cpu=i686
;;
pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
@@ -1121,7 +1127,7 @@
xscale-* | xscalee[bl]-*)
cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
;;
- arm64-*)
+ arm64-* | aarch64le-*)
cpu=aarch64
;;
@@ -1175,7 +1181,7 @@
case $cpu in
1750a | 580 \
| a29k \
- | aarch64 | aarch64_be \
+ | aarch64 | aarch64_be | aarch64c | arm64ec \
| abacus \
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \
@@ -1194,50 +1200,29 @@
| d10v | d30v | dlx | dsp16xx \
| e2k | elxsi | epiphany \
| f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \
+ | javascript \
| h8300 | h8500 \
| hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| hexagon \
| i370 | i*86 | i860 | i960 | ia16 | ia64 \
| ip2k | iq2000 \
| k1om \
+ | kvx \
| le32 | le64 \
| lm32 \
- | loongarch32 | loongarch64 | loongarchx32 \
+ | loongarch32 | loongarch64 \
| m32c | m32r | m32rle \
| m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \
| m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
| m88110 | m88k | maxq | mb | mcore | mep | metag \
| microblaze | microblazeel \
- | mips | mipsbe | mipseb | mipsel | mipsle \
- | mips16 \
- | mips64 | mips64eb | mips64el \
- | mips64octeon | mips64octeonel \
- | mips64orion | mips64orionel \
- | mips64r5900 | mips64r5900el \
- | mips64vr | mips64vrel \
- | mips64vr4100 | mips64vr4100el \
- | mips64vr4300 | mips64vr4300el \
- | mips64vr5000 | mips64vr5000el \
- | mips64vr5900 | mips64vr5900el \
- | mipsisa32 | mipsisa32el \
- | mipsisa32r2 | mipsisa32r2el \
- | mipsisa32r3 | mipsisa32r3el \
- | mipsisa32r5 | mipsisa32r5el \
- | mipsisa32r6 | mipsisa32r6el \
- | mipsisa64 | mipsisa64el \
- | mipsisa64r2 | mipsisa64r2el \
- | mipsisa64r3 | mipsisa64r3el \
- | mipsisa64r5 | mipsisa64r5el \
- | mipsisa64r6 | mipsisa64r6el \
- | mipsisa64sb1 | mipsisa64sb1el \
- | mipsisa64sr71k | mipsisa64sr71kel \
- | mipsr5900 | mipsr5900el \
- | mipstx39 | mipstx39el \
+ | mips* \
| mmix \
| mn10200 | mn10300 \
| moxie \
| mt \
| msp430 \
+ | nanomips* \
| nds32 | nds32le | nds32be \
| nfp \
| nios | nios2 | nios2eb | nios2el \
@@ -1269,6 +1254,7 @@
| ubicom32 \
| v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \
| vax \
+ | vc4 \
| visium \
| w65 \
| wasm32 | wasm64 \
@@ -1280,7 +1266,7 @@
;;
*)
- echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2
+ echo "Invalid configuration '$1': machine '$cpu-$vendor' not recognized" 1>&2
exit 1
;;
esac
@@ -1301,11 +1287,12 @@
# Decode manufacturer-specific aliases for certain operating systems.
-if test x$basic_os != x
+if test x"$basic_os" != x
then
-# First recognize some ad-hoc caes, or perhaps split kernel-os, or else just
+# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just
# set os.
+obj=
case $basic_os in
gnu/linux*)
kernel=linux
@@ -1336,6 +1323,10 @@
kernel=linux
os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
;;
+ managarm*)
+ kernel=managarm
+ os=`echo "$basic_os" | sed -e 's|managarm|mlibc|'`
+ ;;
*)
kernel=
os=$basic_os
@@ -1501,10 +1492,16 @@
os=eabi
;;
*)
- os=elf
+ os=
+ obj=elf
;;
esac
;;
+ aout* | coff* | elf* | pe*)
+ # These are machine code file formats, not OSes
+ obj=$os
+ os=
+ ;;
*)
# No normalization, but not necessarily accepted, that comes below.
;;
@@ -1523,12 +1520,15 @@
# system, and we'll never get to this point.
kernel=
+obj=
case $cpu-$vendor in
score-*)
- os=elf
+ os=
+ obj=elf
;;
spu-*)
- os=elf
+ os=
+ obj=elf
;;
*-acorn)
os=riscix1.2
@@ -1538,28 +1538,35 @@
os=gnu
;;
arm*-semi)
- os=aout
+ os=
+ obj=aout
;;
c4x-* | tic4x-*)
- os=coff
+ os=
+ obj=coff
;;
c8051-*)
- os=elf
+ os=
+ obj=elf
;;
clipper-intergraph)
os=clix
;;
hexagon-*)
- os=elf
+ os=
+ obj=elf
;;
tic54x-*)
- os=coff
+ os=
+ obj=coff
;;
tic55x-*)
- os=coff
+ os=
+ obj=coff
;;
tic6x-*)
- os=coff
+ os=
+ obj=coff
;;
# This must come before the *-dec entry.
pdp10-*)
@@ -1581,19 +1588,24 @@
os=sunos3
;;
m68*-cisco)
- os=aout
+ os=
+ obj=aout
;;
mep-*)
- os=elf
+ os=
+ obj=elf
;;
mips*-cisco)
- os=elf
+ os=
+ obj=elf
;;
- mips*-*)
- os=elf
+ mips*-*|nanomips*-*)
+ os=
+ obj=elf
;;
or32-*)
- os=coff
+ os=
+ obj=coff
;;
*-tti) # must be before sparc entry or we get the wrong os.
os=sysv3
@@ -1602,7 +1614,8 @@
os=sunos4.1.1
;;
pru-*)
- os=elf
+ os=
+ obj=elf
;;
*-be)
os=beos
@@ -1683,10 +1696,12 @@
os=uxpv
;;
*-rom68k)
- os=coff
+ os=
+ obj=coff
;;
*-*bug)
- os=coff
+ os=
+ obj=coff
;;
*-apple)
os=macos
@@ -1704,10 +1719,11 @@
fi
-# Now, validate our (potentially fixed-up) OS.
+# Now, validate our (potentially fixed-up) individual pieces (OS, OBJ).
+
case $os in
# Sometimes we do "kernel-libc", so those need to count as OSes.
- musl* | newlib* | relibc* | uclibc*)
+ llvm* | musl* | newlib* | relibc* | uclibc*)
;;
# Likewise for "kernel-abi"
eabi* | gnueabi*)
@@ -1715,6 +1731,9 @@
# VxWorks passes extra cpu info in the 4th filed.
simlinux | simwindows | spe)
;;
+ # See `case $cpu-$os` validation below
+ ghcjs)
+ ;;
# Now accept the basic system types.
# The portable systems comes first.
# Each alternative MUST end in a * to match a version number.
@@ -1723,7 +1742,7 @@
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
| hiux* | abug | nacl* | netware* | windows* \
- | os9* | macos* | osx* | ios* \
+ | os9* | macos* | osx* | ios* | tvos* | watchos* \
| mpw* | magic* | mmixware* | mon960* | lnews* \
| amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \
| aos* | aros* | cloudabi* | sortix* | twizzler* \
@@ -1732,11 +1751,11 @@
| mirbsd* | netbsd* | dicos* | openedition* | ose* \
| bitrig* | openbsd* | secbsd* | solidbsd* | libertybsd* | os108* \
| ekkobsd* | freebsd* | riscix* | lynxos* | os400* \
- | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \
- | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \
+ | bosx* | nextstep* | cxux* | oabi* \
+ | ptx* | ecoff* | winnt* | domain* | vsta* \
| udi* | lites* | ieee* | go32* | aux* | hcos* \
| chorusrdb* | cegcc* | glidix* | serenity* \
- | cygwin* | msys* | pe* | moss* | proelf* | rtems* \
+ | cygwin* | msys* | moss* | proelf* | rtems* \
| midipix* | mingw32* | mingw64* | mint* \
| uxpv* | beos* | mpeix* | udk* | moxiebox* \
| interix* | uwin* | mks* | rhapsody* | darwin* \
@@ -1748,49 +1767,117 @@
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
- | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*)
+ | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
+ | fiwix* | mlibc* | cos* | mbr* | ironclad* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
# Don't forget version if it is 3.2v4 or newer.
;;
+ # This refers to builds using the UEFI calling convention
+ # (which depends on the architecture) and PE file format.
+ # Note that this is both a different calling convention and
+ # different file format than that of GNU-EFI
+ # (x86_64-w64-mingw32).
+ uefi)
+ ;;
none)
;;
+ kernel* | msvc* )
+ # Restricted further below
+ ;;
+ '')
+ if test x"$obj" = x
+ then
+ echo "Invalid configuration '$1': Blank OS only allowed with explicit machine code file format" 1>&2
+ fi
+ ;;
*)
- echo Invalid configuration \`"$1"\': OS \`"$os"\' not recognized 1>&2
+ echo "Invalid configuration '$1': OS '$os' not recognized" 1>&2
+ exit 1
+ ;;
+esac
+
+case $obj in
+ aout* | coff* | elf* | pe*)
+ ;;
+ '')
+ # empty is fine
+ ;;
+ *)
+ echo "Invalid configuration '$1': Machine code format '$obj' not recognized" 1>&2
+ exit 1
+ ;;
+esac
+
+# Here we handle the constraint that a (synthetic) cpu and os are
+# valid only in combination with each other and nowhere else.
+case $cpu-$os in
+ # The "javascript-unknown-ghcjs" triple is used by GHC; we
+ # accept it here in order to tolerate that, but reject any
+ # variations.
+ javascript-ghcjs)
+ ;;
+ javascript-* | *-ghcjs)
+ echo "Invalid configuration '$1': cpu '$cpu' is not valid with os '$os$obj'" 1>&2
exit 1
;;
esac
# As a final step for OS-related things, validate the OS-kernel combination
# (given a valid OS), if there is a kernel.
-case $kernel-$os in
- linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
- | linux-musl* | linux-relibc* | linux-uclibc* )
+case $kernel-$os-$obj in
+ linux-gnu*- | linux-android*- | linux-dietlibc*- | linux-llvm*- \
+ | linux-mlibc*- | linux-musl*- | linux-newlib*- \
+ | linux-relibc*- | linux-uclibc*- )
+ ;;
+ uclinux-uclibc*- )
+ ;;
+ managarm-mlibc*- | managarm-kernel*- )
;;
- uclinux-uclibc* )
+ windows*-msvc*-)
;;
- -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
+ -dietlibc*- | -llvm*- | -mlibc*- | -musl*- | -newlib*- | -relibc*- \
+ | -uclibc*- )
# These are just libc implementations, not actual OSes, and thus
# require a kernel.
- echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2
+ echo "Invalid configuration '$1': libc '$os' needs explicit kernel." 1>&2
exit 1
;;
- kfreebsd*-gnu* | kopensolaris*-gnu*)
+ -kernel*- )
+ echo "Invalid configuration '$1': '$os' needs explicit kernel." 1>&2
+ exit 1
;;
- vxworks-simlinux | vxworks-simwindows | vxworks-spe)
+ *-kernel*- )
+ echo "Invalid configuration '$1': '$kernel' does not support '$os'." 1>&2
+ exit 1
;;
- nto-qnx*)
+ *-msvc*- )
+ echo "Invalid configuration '$1': '$os' needs 'windows'." 1>&2
+ exit 1
;;
- os2-emx)
+ kfreebsd*-gnu*- | kopensolaris*-gnu*-)
+ ;;
+ vxworks-simlinux- | vxworks-simwindows- | vxworks-spe-)
+ ;;
+ nto-qnx*-)
+ ;;
+ os2-emx-)
;;
- *-eabi* | *-gnueabi*)
+ *-eabi*- | *-gnueabi*-)
;;
- -*)
+ none--*)
+ # None (no kernel, i.e. freestanding / bare metal),
+ # can be paired with an machine code file format
+ ;;
+ -*-)
# Blank kernel with real OS is always fine.
;;
- *-*)
- echo "Invalid configuration \`$1': Kernel \`$kernel' not known to work with OS \`$os'." 1>&2
+ --*)
+ # Blank kernel and OS with real machine code file format is always fine.
+ ;;
+ *-*-*)
+ echo "Invalid configuration '$1': Kernel '$kernel' not known to work with OS '$os'." 1>&2
exit 1
;;
esac
@@ -1873,7 +1960,7 @@
;;
esac
-echo "$cpu-$vendor-${kernel:+$kernel-}$os"
+echo "$cpu-$vendor${kernel:+-$kernel}${os:+-$os}${obj:+-$obj}"
exit
# Local variables:
diff -Nru dnsdist-1.9.16/configure dnsdist-2.1.3/configure
--- dnsdist-1.9.16/configure 2026-08-05 14:29:27.000000000 +0000
+++ dnsdist-2.1.3/configure 2026-10-12 07:14:52.793438700 +0000
@@ -1,9 +1,9 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for dnsdist 1.9.16.
+# Generated by GNU Autoconf 2.72 for dnsdist 2.1.3.
#
#
-# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
+# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
# Inc.
#
#
@@ -15,7 +15,6 @@
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
-as_nop=:
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
emulate sh
@@ -24,12 +23,13 @@
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
-else $as_nop
- case `(set -o) 2>/dev/null` in #(
+else case e in #(
+ e) case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
+esac ;;
esac
fi
@@ -101,7 +101,7 @@
;;
esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
+# We did not find ourselves, most probably we were run as 'sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
@@ -131,15 +131,14 @@
esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
+# out after a failed 'exec'.
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
fi
# We don't want this to propagate to other subprocesses.
{ _as_can_reexec=; unset _as_can_reexec;}
if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="as_nop=:
-if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
+ as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
emulate sh
NULLCMD=:
@@ -147,12 +146,13 @@
# is contrary to our usage. Disable this feature.
alias -g '\${1+\"\$@\"}'='\"\$@\"'
setopt NO_GLOB_SUBST
-else \$as_nop
- case \`(set -o) 2>/dev/null\` in #(
+else case e in #(
+ e) case \`(set -o) 2>/dev/null\` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
+esac ;;
esac
fi
"
@@ -170,8 +170,9 @@
if ( set x; as_fn_ret_success y && test x = \"\$1\" )
then :
-else \$as_nop
- exitcode=1; echo positional parameters were not saved.
+else case e in #(
+ e) exitcode=1; echo positional parameters were not saved. ;;
+esac
fi
test x\$exitcode = x0 || exit 1
blah=\$(echo \$(echo blah))
@@ -193,14 +194,15 @@
if (eval "$as_required") 2>/dev/null
then :
as_have_required=yes
-else $as_nop
- as_have_required=no
+else case e in #(
+ e) as_have_required=no ;;
+esac
fi
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
then :
-else $as_nop
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+else case e in #(
+ e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_found=false
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
@@ -233,12 +235,13 @@
if $as_found
then :
-else $as_nop
- if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+else case e in #(
+ e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
then :
CONFIG_SHELL=$SHELL as_have_required=yes
-fi
+fi ;;
+esac
fi
@@ -260,7 +263,7 @@
esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
+# out after a failed 'exec'.
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
fi
@@ -279,7 +282,8 @@
$0: the script under such a shell if you do have one."
fi
exit 1
-fi
+fi ;;
+esac
fi
fi
SHELL=${CONFIG_SHELL-/bin/sh}
@@ -318,14 +322,6 @@
as_fn_set_status $1
exit $1
} # as_fn_exit
-# as_fn_nop
-# ---------
-# Do nothing but, unlike ":", preserve the value of $?.
-as_fn_nop ()
-{
- return $?
-}
-as_nop=as_fn_nop
# as_fn_mkdir_p
# -------------
@@ -394,11 +390,12 @@
{
eval $1+=\$2
}'
-else $as_nop
- as_fn_append ()
+else case e in #(
+ e) as_fn_append ()
{
eval $1=\$$1\$2
- }
+ } ;;
+esac
fi # as_fn_append
# as_fn_arith ARG...
@@ -412,21 +409,14 @@
{
as_val=$(( $* ))
}'
-else $as_nop
- as_fn_arith ()
+else case e in #(
+ e) as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
- }
+ } ;;
+esac
fi # as_fn_arith
-# as_fn_nop
-# ---------
-# Do nothing but, unlike ":", preserve the value of $?.
-as_fn_nop ()
-{
- return $?
-}
-as_nop=as_fn_nop
# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ----------------------------------------
@@ -500,6 +490,8 @@
/[$]LINENO/=
' <$as_myself |
sed '
+ t clear
+ :clear
s/[$]LINENO.*/&-/
t lineno
b
@@ -548,7 +540,6 @@
as_echo='printf %s\n'
as_echo_n='printf %s'
-
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
@@ -560,9 +551,9 @@
if ln -s conf$$.file conf$$ 2>/dev/null; then
as_ln_s='ln -s'
# ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
+ # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
+ # In both cases, we have to default to 'cp -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
@@ -587,10 +578,12 @@
as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
+as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
+as_tr_sh="eval sed '$as_sed_sh'" # deprecated
SHELL=${CONFIG_SHELL-/bin/sh}
@@ -618,8 +611,8 @@
# Identity of this package.
PACKAGE_NAME='dnsdist'
PACKAGE_TARNAME='dnsdist'
-PACKAGE_VERSION='1.9.16'
-PACKAGE_STRING='dnsdist 1.9.16'
+PACKAGE_VERSION='2.1.3'
+PACKAGE_STRING='dnsdist 2.1.3'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -682,14 +675,17 @@
PIE_LDFLAGS
PIE_CFLAGS
HAVE_CXX17
+HAVE_IPCRYPT2_FALSE
+HAVE_IPCRYPT2_TRUE
IPCIPHER_FALSE
IPCIPHER_TRUE
LMDB_LIBS
LMDB_CFLAGS
CDB_LIBS
CDB_CFLAGS
-LIBH2OEVLOOP_LIBS
-LIBH2OEVLOOP_CFLAGS
+CARGO
+HAVE_YAML_CONFIGURATION_FALSE
+HAVE_YAML_CONFIGURATION_TRUE
NGHTTP2_LIBS
NGHTTP2_CFLAGS
GNUTLS_LIBS
@@ -717,8 +713,6 @@
HAVE_LMDB_TRUE
HAVE_LIBSSL_FALSE
HAVE_LIBSSL_TRUE
-HAVE_LIBH2OEVLOOP_FALSE
-HAVE_LIBH2OEVLOOP_TRUE
HAVE_GNUTLS_FALSE
HAVE_GNUTLS_TRUE
HAVE_CDB_FALSE
@@ -730,6 +724,8 @@
LUA_LIBS
LUA_CFLAGS
ARC4RANDOM_LIBS
+IPCRYPT2_LIBS
+IPCRYPT2_CFLAGS
IPCRYPT_LIBS
IPCRYPT_CFLAGS
YAHTTP_LIBS
@@ -863,6 +859,8 @@
PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH
PKG_CONFIG
+pdns_configure_args
+LIBDL
CXXCPP
LT_SYS_LIBRARY_PATH
OTOOL64
@@ -917,6 +915,8 @@
LDFLAGS
CFLAGS
CC
+am__xargs_n
+am__rm_f_notfound
AM_BACKSLASH
AM_DEFAULT_VERBOSITY
AM_DEFAULT_V
@@ -1028,10 +1028,11 @@
with_libssl
with_gnutls
with_nghttp2
-with_h2o
+enable_yaml
with_cdb
with_lmdb
enable_ipcipher
+enable_ipcrypt2
enable_hardening
enable_fortify_source
enable_auto_var_init
@@ -1089,8 +1090,6 @@
GNUTLS_LIBS
NGHTTP2_CFLAGS
NGHTTP2_LIBS
-LIBH2OEVLOOP_CFLAGS
-LIBH2OEVLOOP_LIBS
CDB_CFLAGS
CDB_LIBS
LMDB_CFLAGS
@@ -1205,7 +1204,7 @@
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: \`$ac_useropt'"
+ as_fn_error $? "invalid feature name: '$ac_useropt'"
ac_useropt_orig=$ac_useropt
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
@@ -1231,7 +1230,7 @@
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: \`$ac_useropt'"
+ as_fn_error $? "invalid feature name: '$ac_useropt'"
ac_useropt_orig=$ac_useropt
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
@@ -1444,7 +1443,7 @@
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: \`$ac_useropt'"
+ as_fn_error $? "invalid package name: '$ac_useropt'"
ac_useropt_orig=$ac_useropt
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
@@ -1460,7 +1459,7 @@
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: \`$ac_useropt'"
+ as_fn_error $? "invalid package name: '$ac_useropt'"
ac_useropt_orig=$ac_useropt
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
@@ -1490,8 +1489,8 @@
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
x_libraries=$ac_optarg ;;
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
+ -*) as_fn_error $? "unrecognized option: '$ac_option'
+Try '$0 --help' for more information"
;;
*=*)
@@ -1499,7 +1498,7 @@
# Reject names that are not valid shell variable names.
case $ac_envvar in #(
'' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
esac
eval $ac_envvar=\$ac_optarg
export $ac_envvar ;;
@@ -1549,7 +1548,7 @@
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
done
-# There might be people who depend on the old broken behavior: `$host'
+# There might be people who depend on the old broken behavior: '$host'
# used to hold the argument of --host etc.
# FIXME: To remove some day.
build=$build_alias
@@ -1617,7 +1616,7 @@
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
ac_abs_confdir=`(
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
pwd)`
@@ -1645,7 +1644,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures dnsdist 1.9.16 to adapt to many kinds of systems.
+'configure' configures dnsdist 2.1.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1659,11 +1658,11 @@
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
+ -q, --quiet, --silent do not print 'checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
+ -C, --config-cache alias for '--cache-file=config.cache'
-n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
+ --srcdir=DIR find the sources in DIR [configure dir or '..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
@@ -1671,10 +1670,10 @@
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
+By default, 'make install' will install all the files in
+'$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than '$ac_default_prefix' using '--prefix',
+for instance '--prefix=\$HOME'.
For better control, use the options below.
@@ -1716,7 +1715,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of dnsdist 1.9.16:";;
+ short | recursive ) echo "Configuration of dnsdist 2.1.3:";;
esac
cat <<\_ACEOF
@@ -1749,13 +1748,16 @@
--enable-dns-over-tls enable DNS over TLS support (requires GnuTLS or
OpenSSL) [default=no]
--enable-dns-over-https enable incoming DNS over HTTPS (DoH) support
- (requires libh2o or nghttp2) [default=no]
+ (requires nghttp2) [default=no]
--enable-dns-over-quic enable incoming DNS over QUIC (DoQ) support
(requires quiche) [default=no]
--enable-dns-over-http3 enable incoming DNS over HTTP3 (DoH3) support
(requires quiche) [default=no]
+ --enable-yaml enable YAML configuration (requires Rust and Cargo)
+ [default=no]
--enable-ipcipher enable ipcipher support (requires libcrypto)
[default=auto]
+ --enable-ipcrypt2 enable ipcrypt2 support [default=no]
--disable-hardening disable compiler security checks [default=no]
--enable-fortify-source enable FORTIFY_SOURCE support [default=2]
--enable-auto-var-init enable initialization of automatic variables (zero,
@@ -1783,7 +1785,7 @@
--with-libsodium use libsodium [default=auto]
--with-quiche use quiche [default=auto]
--with-libedit enable libedit support [default=yes]
- --with-boost=DIR prefix of Boost 1.42 [guess]
+ --with-boost=DIR prefix of Boost 1.54 [guess]
--with-re2 with libre2 [default=no]
--with-ebpf enable eBPF support [default=auto]
--with-xsk enable AF_XDP (XDK) support [default=auto]
@@ -1805,7 +1807,6 @@
--with-libssl use OpenSSL libssl [default=auto]
--with-gnutls use GnuTLS [default=auto]
--with-nghttp2 use nghttp2 [default=auto]
- --with-h2o use libh2o-evloop [default=no]
--with-cdb use CDB [default=auto]
--with-lmdb lmdb library to use [default=auto]
--with-python-sys-prefix
@@ -1872,10 +1873,6 @@
C compiler flags for NGHTTP2, overriding pkg-config
NGHTTP2_LIBS
linker flags for NGHTTP2, overriding pkg-config
- LIBH2OEVLOOP_CFLAGS
- C compiler flags for LIBH2OEVLOOP, overriding pkg-config
- LIBH2OEVLOOP_LIBS
- linker flags for LIBH2OEVLOOP, overriding pkg-config
CDB_CFLAGS C compiler flags for CDB, overriding pkg-config
CDB_LIBS linker flags for CDB, overriding pkg-config
LMDB_CFLAGS C compiler flags for LMDB, overriding pkg-config
@@ -1884,7 +1881,7 @@
PACKAGEVERSION
The version used in secpoll queries
-Use these variables to override the choices made by `configure' or to help
+Use these variables to override the choices made by 'configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to the package provider.
@@ -1951,10 +1948,10 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-dnsdist configure 1.9.16
-generated by GNU Autoconf 2.71
+dnsdist configure 2.1.3
+generated by GNU Autoconf 2.72
-Copyright (C) 2021 Free Software Foundation, Inc.
+Copyright (C) 2023 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
@@ -1993,11 +1990,12 @@
} && test -s conftest.$ac_objext
then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else case e in #(
+ e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_retval=1
+ ac_retval=1 ;;
+esac
fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
@@ -2032,11 +2030,12 @@
} && test -s conftest.$ac_objext
then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else case e in #(
+ e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_retval=1
+ ac_retval=1 ;;
+esac
fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
@@ -2074,11 +2073,12 @@
}
then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else case e in #(
+ e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_retval=1
+ ac_retval=1 ;;
+esac
fi
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
@@ -2102,8 +2102,8 @@
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
#include <$2>
@@ -2111,10 +2111,12 @@
if ac_fn_c_try_compile "$LINENO"
then :
eval "$3=yes"
-else $as_nop
- eval "$3=no"
+else case e in #(
+ e) eval "$3=no" ;;
+esac
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
eval ac_res=\$$3
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
@@ -2134,15 +2136,15 @@
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Define $2 to an innocuous variant, in case declares $2.
For example, HP-UX 11i declares gettimeofday. */
#define $2 innocuous_$2
/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $2 (); below. */
+ which can conflict with char $2 (void); below. */
#include
#undef $2
@@ -2153,7 +2155,7 @@
#ifdef __cplusplus
extern "C"
#endif
-char $2 ();
+char $2 (void);
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
@@ -2172,11 +2174,13 @@
if ac_fn_c_try_link "$LINENO"
then :
eval "$3=yes"
-else $as_nop
- eval "$3=no"
+else case e in #(
+ e) eval "$3=no" ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
- conftest$ac_exeext conftest.$ac_ext
+ conftest$ac_exeext conftest.$ac_ext ;;
+esac
fi
eval ac_res=\$$3
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
@@ -2212,11 +2216,12 @@
}
then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else case e in #(
+ e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_retval=1
+ ac_retval=1 ;;
+esac
fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
@@ -2254,11 +2259,12 @@
}
then :
ac_retval=0
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else case e in #(
+ e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_retval=1
+ ac_retval=1 ;;
+esac
fi
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
@@ -2281,15 +2287,15 @@
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Define $2 to an innocuous variant, in case declares $2.
For example, HP-UX 11i declares gettimeofday. */
#define $2 innocuous_$2
/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $2 (); below. */
+ which can conflict with char $2 (void); below. */
#include
#undef $2
@@ -2300,7 +2306,7 @@
#ifdef __cplusplus
extern "C"
#endif
-char $2 ();
+char $2 (void);
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
@@ -2319,11 +2325,13 @@
if ac_fn_cxx_try_link "$LINENO"
then :
eval "$3=yes"
-else $as_nop
- eval "$3=no"
+else case e in #(
+ e) eval "$3=no" ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
- conftest$ac_exeext conftest.$ac_ext
+ conftest$ac_exeext conftest.$ac_ext ;;
+esac
fi
eval ac_res=\$$3
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
@@ -2344,8 +2352,8 @@
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
#include <$2>
@@ -2353,10 +2361,12 @@
if ac_fn_cxx_try_compile "$LINENO"
then :
eval "$3=yes"
-else $as_nop
- eval "$3=no"
+else case e in #(
+ e) eval "$3=no" ;;
+esac
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
eval ac_res=\$$3
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
@@ -2378,8 +2388,8 @@
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
+else case e in #(
+ e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
eval ac_save_FLAGS=\$$6
as_fn_append $6 " $5"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2403,12 +2413,14 @@
if ac_fn_cxx_try_compile "$LINENO"
then :
eval "$3=yes"
-else $as_nop
- eval "$3=no"
+else case e in #(
+ e) eval "$3=no" ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
eval $6=\$ac_save_FLAGS
-
+ ;;
+esac
fi
eval ac_res=\$$3
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
@@ -2440,8 +2452,8 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by dnsdist $as_me 1.9.16, which was
-generated by GNU Autoconf 2.71. Invocation command line was
+It was created by dnsdist $as_me 2.1.3, which was
+generated by GNU Autoconf 2.72. Invocation command line was
$ $0$ac_configure_args_raw
@@ -2687,10 +2699,10 @@
printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
sed 's/^/| /' "$ac_site_file" >&5
. "$ac_site_file" \
- || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
+See 'config.log' for more details" "$LINENO" 5; }
fi
done
@@ -2726,9 +2738,7 @@
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
struct buf { int x; };
struct buf * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
- char **p;
- int i;
+static char *e (char **p, int i)
{
return p[i];
}
@@ -2742,6 +2752,21 @@
return s;
}
+/* C89 style stringification. */
+#define noexpand_stringify(a) #a
+const char *stringified = noexpand_stringify(arbitrary+token=sequence);
+
+/* C89 style token pasting. Exercises some of the corner cases that
+ e.g. old MSVC gets wrong, but not very hard. */
+#define noexpand_concat(a,b) a##b
+#define expand_concat(a,b) noexpand_concat(a,b)
+extern int vA;
+extern int vbee;
+#define aye A
+#define bee B
+int *pvA = &expand_concat(v,aye);
+int *pvbee = &noexpand_concat(v,bee);
+
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
function prototypes and stuff, but not \xHH hex character constants.
These do not provoke an error unfortunately, instead are silently treated
@@ -2769,16 +2794,19 @@
# Test code for whether the C compiler supports C99 (global declarations)
ac_c_conftest_c99_globals='
-// Does the compiler advertise C99 conformance?
+/* Does the compiler advertise C99 conformance? */
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
# error "Compiler does not advertise C99 conformance"
#endif
+// See if C++-style comments work.
+
#include
extern int puts (const char *);
extern int printf (const char *, ...);
extern int dprintf (int, const char *, ...);
extern void *malloc (size_t);
+extern void free (void *);
// Check varargs macros. These examples are taken from C99 6.10.3.5.
// dprintf is used instead of fprintf to avoid needing to declare
@@ -2828,7 +2856,6 @@
static inline int
test_restrict (ccp restrict text)
{
- // See if C++-style comments work.
// Iterate through items via the restricted pointer.
// Also check for declarations in for loops.
for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
@@ -2894,6 +2921,8 @@
ia->datasize = 10;
for (int i = 0; i < ia->datasize; ++i)
ia->data[i] = i * 1.234;
+ // Work around memory leak warnings.
+ free (ia);
// Check named initializers.
struct named_init ni = {
@@ -2915,7 +2944,7 @@
# Test code for whether the C compiler supports C11 (global declarations)
ac_c_conftest_c11_globals='
-// Does the compiler advertise C11 conformance?
+/* Does the compiler advertise C11 conformance? */
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
# error "Compiler does not advertise C11 conformance"
#endif
@@ -3330,8 +3359,9 @@
if $as_found
then :
-else $as_nop
- as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
+else case e in #(
+ e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
+esac
fi
@@ -3359,12 +3389,12 @@
eval ac_new_val=\$ac_env_${ac_var}_value
case $ac_old_set,$ac_new_set in
set,)
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
+printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
ac_cache_corrupted=: ;;
,set)
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
+printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
ac_cache_corrupted=: ;;
,);;
*)
@@ -3373,18 +3403,18 @@
ac_old_val_w=`echo x $ac_old_val`
ac_new_val_w=`echo x $ac_new_val`
if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
+printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
ac_cache_corrupted=:
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
+printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
eval $ac_var=\$ac_old_val
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
+printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
+printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
fi;;
esac
# Pass precious variables to config.status.
@@ -3400,11 +3430,11 @@
fi
done
if $ac_cache_corrupted; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
+ as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
and start over" "$LINENO" 5
fi
## -------------------- ##
@@ -3418,7 +3448,7 @@
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-am__api_version='1.16'
+am__api_version='1.17'
@@ -3442,8 +3472,8 @@
if test ${ac_cv_path_install+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+else case e in #(
+ e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
@@ -3497,7 +3527,8 @@
IFS=$as_save_IFS
rm -rf conftest.one conftest.two conftest.dir
-
+ ;;
+esac
fi
if test ${ac_cv_path_install+y}; then
INSTALL=$ac_cv_path_install
@@ -3520,6 +3551,165 @@
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
+printf %s "checking whether sleep supports fractional seconds... " >&6; }
+if test ${am_cv_sleep_fractional_seconds+y}
+then :
+ printf %s "(cached) " >&6
+else case e in #(
+ e) if sleep 0.001 2>/dev/null
+then :
+ am_cv_sleep_fractional_seconds=yes
+else case e in #(
+ e) am_cv_sleep_fractional_seconds=no ;;
+esac
+fi
+ ;;
+esac
+fi
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
+printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
+
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
+printf %s "checking filesystem timestamp resolution... " >&6; }
+if test ${am_cv_filesystem_timestamp_resolution+y}
+then :
+ printf %s "(cached) " >&6
+else case e in #(
+ e) # Default to the worst case.
+am_cv_filesystem_timestamp_resolution=2
+
+# Only try to go finer than 1 sec if sleep can do it.
+# Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
+# - 1 sec is not much of a win compared to 2 sec, and
+# - it takes 2 seconds to perform the test whether 1 sec works.
+#
+# Instead, just use the default 2s on platforms that have 1s resolution,
+# accept the extra 1s delay when using $sleep in the Automake tests, in
+# exchange for not incurring the 2s delay for running the test for all
+# packages.
+#
+am_try_resolutions=
+if test "$am_cv_sleep_fractional_seconds" = yes; then
+ # Even a millisecond often causes a bunch of false positives,
+ # so just try a hundredth of a second. The time saved between .001 and
+ # .01 is not terribly consequential.
+ am_try_resolutions="0.01 0.1 $am_try_resolutions"
+fi
+
+# In order to catch current-generation FAT out, we must *modify* files
+# that already exist; the *creation* timestamp is finer. Use names
+# that make ls -t sort them differently when they have equal
+# timestamps than when they have distinct timestamps, keeping
+# in mind that ls -t prints the *newest* file first.
+rm -f conftest.ts?
+: > conftest.ts1
+: > conftest.ts2
+: > conftest.ts3
+
+# Make sure ls -t actually works. Do 'set' in a subshell so we don't
+# clobber the current shell's arguments. (Outer-level square brackets
+# are removed by m4; they're present so that m4 does not expand
+# ; be careful, easy to get confused.)
+if (
+ set X `ls -t conftest.ts[12]` &&
+ {
+ test "$*" != "X conftest.ts1 conftest.ts2" ||
+ test "$*" != "X conftest.ts2 conftest.ts1";
+ }
+); then :; else
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
+as_fn_error $? "ls -t produces unexpected output.
+Make sure there is not a broken ls alias in your environment.
+See 'config.log' for more details" "$LINENO" 5; }
+fi
+
+for am_try_res in $am_try_resolutions; do
+ # Any one fine-grained sleep might happen to cross the boundary
+ # between two values of a coarser actual resolution, but if we do
+ # two fine-grained sleeps in a row, at least one of them will fall
+ # entirely within a coarse interval.
+ echo alpha > conftest.ts1
+ sleep $am_try_res
+ echo beta > conftest.ts2
+ sleep $am_try_res
+ echo gamma > conftest.ts3
+
+ # We assume that 'ls -t' will make use of high-resolution
+ # timestamps if the operating system supports them at all.
+ if (set X `ls -t conftest.ts?` &&
+ test "$2" = conftest.ts3 &&
+ test "$3" = conftest.ts2 &&
+ test "$4" = conftest.ts1); then
+ #
+ # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
+ # because we don't need to test make.
+ make_ok=true
+ if test $am_try_res != 1; then
+ # But if we've succeeded so far with a subsecond resolution, we
+ # have one more thing to check: make. It can happen that
+ # everything else supports the subsecond mtimes, but make doesn't;
+ # notably on macOS, which ships make 3.81 from 2006 (the last one
+ # released under GPLv2). https://bugs.gnu.org/68808
+ #
+ # We test $MAKE if it is defined in the environment, else "make".
+ # It might get overridden later, but our hope is that in practice
+ # it does not matter: it is the system "make" which is (by far)
+ # the most likely to be broken, whereas if the user overrides it,
+ # probably they did so with a better, or at least not worse, make.
+ # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
+ #
+ # Create a Makefile (real tab character here):
+ rm -f conftest.mk
+ echo 'conftest.ts1: conftest.ts2' >conftest.mk
+ echo ' touch conftest.ts2' >>conftest.mk
+ #
+ # Now, running
+ # touch conftest.ts1; touch conftest.ts2; make
+ # should touch ts1 because ts2 is newer. This could happen by luck,
+ # but most often, it will fail if make's support is insufficient. So
+ # test for several consecutive successes.
+ #
+ # (We reuse conftest.ts[12] because we still want to modify existing
+ # files, not create new ones, per above.)
+ n=0
+ make=${MAKE-make}
+ until test $n -eq 3; do
+ echo one > conftest.ts1
+ sleep $am_try_res
+ echo two > conftest.ts2 # ts2 should now be newer than ts1
+ if $make -f conftest.mk | grep 'up to date' >/dev/null; then
+ make_ok=false
+ break # out of $n loop
+ fi
+ n=`expr $n + 1`
+ done
+ fi
+ #
+ if $make_ok; then
+ # Everything we know to check worked out, so call this resolution good.
+ am_cv_filesystem_timestamp_resolution=$am_try_res
+ break # out of $am_try_res loop
+ fi
+ # Otherwise, we'll go on to check the next resolution.
+ fi
+done
+rm -f conftest.ts?
+# (end _am_filesystem_timestamp_resolution)
+ ;;
+esac
+fi
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
+printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
+
+# This check should not be cached, as it may vary across builds of
+# different projects.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
printf %s "checking whether build environment is sane... " >&6; }
# Reject unsafe characters in $srcdir or the absolute working directory
@@ -3540,49 +3730,45 @@
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
-if (
- am_has_slept=no
- for am_try in 1 2; do
- echo "timestamp, slept: $am_has_slept" > conftest.file
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- if test "$*" != "X $srcdir/configure conftest.file" \
- && test "$*" != "X conftest.file $srcdir/configure"; then
+am_build_env_is_sane=no
+am_has_slept=no
+rm -f conftest.file
+for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ if (
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ test "$2" = conftest.file
+ ); then
+ am_build_env_is_sane=yes
+ break
+ fi
+ # Just in case.
+ sleep "$am_cv_filesystem_timestamp_resolution"
+ am_has_slept=yes
+done
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
- alias in your environment" "$LINENO" 5
- fi
- if test "$2" = conftest.file || test $am_try -eq 2; then
- break
- fi
- # Just in case.
- sleep 1
- am_has_slept=yes
- done
- test "$2" = conftest.file
- )
-then
- # Ok.
- :
-else
- as_fn_error $? "newly created file is older than distributed files!
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
+printf "%s\n" "$am_build_env_is_sane" >&6; }
+if test "$am_build_env_is_sane" = no; then
+ as_fn_error $? "newly created file is older than distributed files!
Check your system clock" "$LINENO" 5
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-printf "%s\n" "yes" >&6; }
+
# If we didn't sleep, we still need to ensure time stamps of config.status and
# generated files are strictly newer.
am_sleep_pid=
-if grep 'slept: no' conftest.file >/dev/null 2>&1; then
- ( sleep 1 ) &
+if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
+then :
+
+else case e in #(
+ e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
am_sleep_pid=$!
+ ;;
+esac
fi
rm -f conftest.file
@@ -3593,7 +3779,7 @@
test "$program_suffix" != NONE &&
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
+# By default was 's,x,x', remove it if useless.
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
@@ -3636,8 +3822,8 @@
if test ${ac_cv_prog_STRIP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$STRIP"; then
+else case e in #(
+ e) if test -n "$STRIP"; then
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3659,7 +3845,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
@@ -3681,8 +3868,8 @@
if test ${ac_cv_prog_ac_ct_STRIP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_STRIP"; then
+else case e in #(
+ e) if test -n "$ac_ct_STRIP"; then
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3704,7 +3891,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
if test -n "$ac_ct_STRIP"; then
@@ -3740,8 +3928,8 @@
if test ${ac_cv_path_mkdir+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+else case e in #(
+ e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
do
IFS=$as_save_IFS
@@ -3755,7 +3943,7 @@
as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
'mkdir ('*'coreutils) '* | \
- 'BusyBox '* | \
+ *'BusyBox '* | \
'mkdir (fileutils) '4.1*)
ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
break 3;;
@@ -3764,18 +3952,17 @@
done
done
IFS=$as_save_IFS
-
+ ;;
+esac
fi
test -d ./--version && rmdir ./--version
if test ${ac_cv_path_mkdir+y}; then
MKDIR_P="$ac_cv_path_mkdir -p"
else
- # As a last resort, use the slow shell script. Don't cache a
- # value for MKDIR_P within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- MKDIR_P="$ac_install_sh -d"
+ # As a last resort, use plain mkdir -p,
+ # in the hope it doesn't have the bugs of ancient mkdir.
+ MKDIR_P='mkdir -p'
fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
@@ -3790,8 +3977,8 @@
if test ${ac_cv_prog_AWK+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$AWK"; then
+else case e in #(
+ e) if test -n "$AWK"; then
ac_cv_prog_AWK="$AWK" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3813,7 +4000,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
@@ -3835,8 +4023,8 @@
if eval test \${ac_cv_prog_make_${ac_make}_set+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat >conftest.make <<\_ACEOF
+else case e in #(
+ e) cat >conftest.make <<\_ACEOF
SHELL = /bin/sh
all:
@echo '@@@%%%=$(MAKE)=@@@%%%'
@@ -3848,7 +4036,8 @@
*)
eval ac_cv_prog_make_${ac_make}_set=no;;
esac
-rm -f conftest.make
+rm -f conftest.make ;;
+esac
fi
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -3869,25 +4058,21 @@
fi
rmdir .tst 2>/dev/null
+AM_DEFAULT_VERBOSITY=1
# Check whether --enable-silent-rules was given.
if test ${enable_silent_rules+y}
then :
enableval=$enable_silent_rules;
fi
-case $enable_silent_rules in # (((
- yes) AM_DEFAULT_VERBOSITY=0;;
- no) AM_DEFAULT_VERBOSITY=1;;
- *) AM_DEFAULT_VERBOSITY=1;;
-esac
am_make=${MAKE-make}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
printf %s "checking whether $am_make supports nested variables... " >&6; }
if test ${am_cv_make_support_nested_variables+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if printf "%s\n" 'TRUE=$(BAR$(V))
+else case e in #(
+ e) if printf "%s\n" 'TRUE=$(BAR$(V))
BAR0=false
BAR1=true
V=1
@@ -3897,19 +4082,50 @@
am_cv_make_support_nested_variables=yes
else
am_cv_make_support_nested_variables=no
-fi
+fi ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
-if test $am_cv_make_support_nested_variables = yes; then
- AM_V='$(V)'
- AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
-else
- AM_V=$AM_DEFAULT_VERBOSITY
- AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
-fi
AM_BACKSLASH='\'
+am__rm_f_notfound=
+if (rm -f && rm -fr && rm -rf) 2>/dev/null
+then :
+
+else case e in #(
+ e) am__rm_f_notfound='""' ;;
+esac
+fi
+
+
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
+printf %s "checking xargs -n works... " >&6; }
+if test ${am_cv_xargs_n_works+y}
+then :
+ printf %s "(cached) " >&6
+else case e in #(
+ e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
+3"
+then :
+ am_cv_xargs_n_works=yes
+else case e in #(
+ e) am_cv_xargs_n_works=no ;;
+esac
+fi ;;
+esac
+fi
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
+printf "%s\n" "$am_cv_xargs_n_works" >&6; }
+if test "$am_cv_xargs_n_works" = yes
+then :
+ am__xargs_n='xargs -n'
+else case e in #(
+ e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
+ ;;
+esac
+fi
+
if test "`cd $srcdir && pwd`" != "`pwd`"; then
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
# is not polluted with repeated "-I."
@@ -3932,7 +4148,7 @@
# Define the identity of the package.
PACKAGE='dnsdist'
- VERSION='1.9.16'
+ VERSION='2.1.3'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -3986,18 +4202,24 @@
am_gid=`id -g || echo unknown`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
- if test $am_uid -le $am_max_uid; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ if test x$am_uid = xunknown; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
+printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
+ elif test $am_uid -le $am_max_uid; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
else
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
- _am_tools=none
+ _am_tools=none
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
- if test $am_gid -le $am_max_gid; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ if test x$gm_gid = xunknown; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
+printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
+ elif test $am_gid -le $am_max_gid; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
@@ -4084,8 +4306,9 @@
if test ${am_cv_prog_tar_ustar+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- am_cv_prog_tar_ustar=$_am_tool
+else case e in #(
+ e) am_cv_prog_tar_ustar=$_am_tool ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
@@ -4110,89 +4333,12 @@
-# POSIX will say in a future version that running "rm -f" with no argument
-# is OK; and we want to be able to make that assumption in our Makefile
-# recipes. So use an aggressive probe to check that the usage we want is
-# actually supported "in the wild" to an acceptable degree.
-# See automake bug#10828.
-# To make any issue more visible, cause the running configure to be aborted
-# by default if the 'rm' program in use doesn't match our expectations; the
-# user can still override this though.
-if rm -f && rm -fr && rm -rf; then : OK; else
- cat >&2 <<'END'
-Oops!
-
-Your 'rm' program seems unable to run without file operands specified
-on the command line, even when the '-f' option is present. This is contrary
-to the behaviour of most rm programs out there, and not conforming with
-the upcoming POSIX standard:
-
-Please tell bug-automake@gnu.org about your system, including the value
-of your $PATH and any error possibly output before this message. This
-can help us improve future automake versions.
-END
- if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
- echo 'Configuration will proceed anyway, since you have set the' >&2
- echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
- echo >&2
- else
- cat >&2 <<'END'
-Aborting the configuration process, to ensure you take notice of the issue.
-
-You can download and install GNU coreutils to get an 'rm' implementation
-that behaves properly: .
-
-If you want to complete the configuration process using your problematic
-'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
-to "yes", and re-run configure.
-END
- as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
- fi
-fi
-# Check whether --enable-silent-rules was given.
-if test ${enable_silent_rules+y}
-then :
- enableval=$enable_silent_rules;
-fi
-case $enable_silent_rules in # (((
- yes) AM_DEFAULT_VERBOSITY=0;;
- no) AM_DEFAULT_VERBOSITY=1;;
- *) AM_DEFAULT_VERBOSITY=0;;
-esac
-am_make=${MAKE-make}
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
-printf %s "checking whether $am_make supports nested variables... " >&6; }
-if test ${am_cv_make_support_nested_variables+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- if printf "%s\n" 'TRUE=$(BAR$(V))
-BAR0=false
-BAR1=true
-V=1
-am__doit:
- @$(TRUE)
-.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
- am_cv_make_support_nested_variables=yes
-else
- am_cv_make_support_nested_variables=no
-fi
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
-printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
-if test $am_cv_make_support_nested_variables = yes; then
- AM_V='$(V)'
- AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
-else
- AM_V=$AM_DEFAULT_VERBOSITY
- AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
-fi
-AM_BACKSLASH='\'
+AM_DEFAULT_VERBOSITY=0
ac_config_headers="$ac_config_headers config.h"
@@ -4218,8 +4364,8 @@
if test ${ac_cv_prog_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$CC"; then
+else case e in #(
+ e) if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4241,7 +4387,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
@@ -4263,8 +4410,8 @@
if test ${ac_cv_prog_ac_ct_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_CC"; then
+else case e in #(
+ e) if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4286,7 +4433,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
@@ -4321,8 +4469,8 @@
if test ${ac_cv_prog_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$CC"; then
+else case e in #(
+ e) if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4344,7 +4492,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
@@ -4366,8 +4515,8 @@
if test ${ac_cv_prog_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$CC"; then
+else case e in #(
+ e) if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
ac_prog_rejected=no
@@ -4406,7 +4555,8 @@
ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
fi
fi
-fi
+fi ;;
+esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
@@ -4430,8 +4580,8 @@
if test ${ac_cv_prog_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$CC"; then
+else case e in #(
+ e) if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4453,7 +4603,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
@@ -4479,8 +4630,8 @@
if test ${ac_cv_prog_ac_ct_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_CC"; then
+else case e in #(
+ e) if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4502,7 +4653,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
@@ -4540,8 +4692,8 @@
if test ${ac_cv_prog_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$CC"; then
+else case e in #(
+ e) if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4563,7 +4715,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
@@ -4585,8 +4738,8 @@
if test ${ac_cv_prog_ac_ct_CC+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_CC"; then
+else case e in #(
+ e) if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4608,7 +4761,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
@@ -4637,10 +4791,10 @@
fi
-test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5; }
+See 'config.log' for more details" "$LINENO" 5; }
# Provide some information about the compiler.
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -4712,8 +4866,8 @@
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
then :
- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+ # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
+# So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
# in a Makefile. We should not override ac_cv_exeext if it was cached,
# so that the user can short-circuit this test for compilers unknown to
# Autoconf.
@@ -4733,7 +4887,7 @@
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
fi
# We set ac_cv_exeext here because the later test for it is not
- # safe: cross compilers may not add the suffix if given an `-o'
+ # safe: cross compilers may not add the suffix if given an '-o'
# argument, so we may need to know it at that point already.
# Even if this section looks crufty: it has the advantage of
# actually working.
@@ -4744,8 +4898,9 @@
done
test "$ac_cv_exeext" = no && ac_cv_exeext=
-else $as_nop
- ac_file=''
+else case e in #(
+ e) ac_file='' ;;
+esac
fi
if test -z "$ac_file"
then :
@@ -4754,13 +4909,14 @@
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error 77 "C compiler cannot create executables
-See \`config.log' for more details" "$LINENO" 5; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-printf "%s\n" "yes" >&6; }
+See 'config.log' for more details" "$LINENO" 5; }
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+printf "%s\n" "yes" >&6; } ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
printf %s "checking for C compiler default output file name... " >&6; }
@@ -4784,10 +4940,10 @@
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
then :
- # If both `conftest.exe' and `conftest' are `present' (well, observable)
-# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
-# work properly (i.e., refer to `conftest.exe'), while it won't with
-# `rm'.
+ # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
+# catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
+# work properly (i.e., refer to 'conftest.exe'), while it won't with
+# 'rm'.
for ac_file in conftest.exe conftest conftest.*; do
test -f "$ac_file" || continue
case $ac_file in
@@ -4797,11 +4953,12 @@
* ) break;;
esac
done
-else $as_nop
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+else case e in #(
+ e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details" "$LINENO" 5; }
+See 'config.log' for more details" "$LINENO" 5; } ;;
+esac
fi
rm -f conftest conftest$ac_cv_exeext
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -4817,6 +4974,8 @@
main (void)
{
FILE *f = fopen ("conftest.out", "w");
+ if (!f)
+ return 1;
return ferror (f) || fclose (f) != 0;
;
@@ -4856,26 +5015,27 @@
if test "$cross_compiling" = maybe; then
cross_compiling=yes
else
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error 77 "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details" "$LINENO" 5; }
+If you meant to cross compile, use '--host'.
+See 'config.log' for more details" "$LINENO" 5; }
fi
fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
printf "%s\n" "$cross_compiling" >&6; }
-rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+rm -f conftest.$ac_ext conftest$ac_cv_exeext \
+ conftest.o conftest.obj conftest.out
ac_clean_files=$ac_clean_files_save
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
printf %s "checking for suffix of object files... " >&6; }
if test ${ac_cv_objext+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -4907,16 +5067,18 @@
break;;
esac
done
-else $as_nop
- printf "%s\n" "$as_me: failed program was:" >&5
+else case e in #(
+ e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details" "$LINENO" 5; }
+See 'config.log' for more details" "$LINENO" 5; } ;;
+esac
fi
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
+rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
printf "%s\n" "$ac_cv_objext" >&6; }
@@ -4927,8 +5089,8 @@
if test ${ac_cv_c_compiler_gnu+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -4945,12 +5107,14 @@
if ac_fn_c_try_compile "$LINENO"
then :
ac_compiler_gnu=yes
-else $as_nop
- ac_compiler_gnu=no
+else case e in #(
+ e) ac_compiler_gnu=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
@@ -4968,8 +5132,8 @@
if test ${ac_cv_prog_cc_g+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_save_c_werror_flag=$ac_c_werror_flag
+else case e in #(
+ e) ac_save_c_werror_flag=$ac_c_werror_flag
ac_c_werror_flag=yes
ac_cv_prog_cc_g=no
CFLAGS="-g"
@@ -4987,8 +5151,8 @@
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_prog_cc_g=yes
-else $as_nop
- CFLAGS=""
+else case e in #(
+ e) CFLAGS=""
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -5003,8 +5167,8 @@
if ac_fn_c_try_compile "$LINENO"
then :
-else $as_nop
- ac_c_werror_flag=$ac_save_c_werror_flag
+else case e in #(
+ e) ac_c_werror_flag=$ac_save_c_werror_flag
CFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -5021,12 +5185,15 @@
then :
ac_cv_prog_cc_g=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
+ ac_c_werror_flag=$ac_save_c_werror_flag ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
@@ -5053,8 +5220,8 @@
if test ${ac_cv_prog_cc_c11+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cc_c11=no
+else case e in #(
+ e) ac_cv_prog_cc_c11=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -5071,25 +5238,28 @@
test "x$ac_cv_prog_cc_c11" != "xno" && break
done
rm -f conftest.$ac_ext
-CC=$ac_save_CC
+CC=$ac_save_CC ;;
+esac
fi
if test "x$ac_cv_prog_cc_c11" = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cc_c11" = x
+else case e in #(
+ e) if test "x$ac_cv_prog_cc_c11" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
- CC="$CC $ac_cv_prog_cc_c11"
+ CC="$CC $ac_cv_prog_cc_c11" ;;
+esac
fi
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
- ac_prog_cc_stdc=c11
+ ac_prog_cc_stdc=c11 ;;
+esac
fi
fi
if test x$ac_prog_cc_stdc = xno
@@ -5099,8 +5269,8 @@
if test ${ac_cv_prog_cc_c99+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cc_c99=no
+else case e in #(
+ e) ac_cv_prog_cc_c99=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -5117,25 +5287,28 @@
test "x$ac_cv_prog_cc_c99" != "xno" && break
done
rm -f conftest.$ac_ext
-CC=$ac_save_CC
+CC=$ac_save_CC ;;
+esac
fi
if test "x$ac_cv_prog_cc_c99" = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cc_c99" = x
+else case e in #(
+ e) if test "x$ac_cv_prog_cc_c99" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
- CC="$CC $ac_cv_prog_cc_c99"
+ CC="$CC $ac_cv_prog_cc_c99" ;;
+esac
fi
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
- ac_prog_cc_stdc=c99
+ ac_prog_cc_stdc=c99 ;;
+esac
fi
fi
if test x$ac_prog_cc_stdc = xno
@@ -5145,8 +5318,8 @@
if test ${ac_cv_prog_cc_c89+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cc_c89=no
+else case e in #(
+ e) ac_cv_prog_cc_c89=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -5163,25 +5336,28 @@
test "x$ac_cv_prog_cc_c89" != "xno" && break
done
rm -f conftest.$ac_ext
-CC=$ac_save_CC
+CC=$ac_save_CC ;;
+esac
fi
if test "x$ac_cv_prog_cc_c89" = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cc_c89" = x
+else case e in #(
+ e) if test "x$ac_cv_prog_cc_c89" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
- CC="$CC $ac_cv_prog_cc_c89"
+ CC="$CC $ac_cv_prog_cc_c89" ;;
+esac
fi
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
- ac_prog_cc_stdc=c89
+ ac_prog_cc_stdc=c89 ;;
+esac
fi
fi
@@ -5202,8 +5378,8 @@
if test ${am_cv_prog_cc_c_o+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -5233,7 +5409,8 @@
fi
done
rm -f core conftest*
- unset am_i
+ unset am_i ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
@@ -5323,8 +5500,8 @@
if test ${am_cv_CC_dependencies_compiler_type+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+else case e in #(
+ e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
@@ -5411,7 +5588,7 @@
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # When given -MP, icc 7.0 and 7.1 complain thus:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
@@ -5428,7 +5605,8 @@
else
am_cv_CC_dependencies_compiler_type=none
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
@@ -5470,8 +5648,8 @@
if test ${ac_cv_prog_CXX+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$CXX"; then
+else case e in #(
+ e) if test -n "$CXX"; then
ac_cv_prog_CXX="$CXX" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5493,7 +5671,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
CXX=$ac_cv_prog_CXX
if test -n "$CXX"; then
@@ -5519,8 +5698,8 @@
if test ${ac_cv_prog_ac_ct_CXX+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_CXX"; then
+else case e in #(
+ e) if test -n "$ac_ct_CXX"; then
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5542,7 +5721,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
if test -n "$ac_ct_CXX"; then
@@ -5602,8 +5782,8 @@
if test ${ac_cv_cxx_compiler_gnu+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -5620,12 +5800,14 @@
if ac_fn_cxx_try_compile "$LINENO"
then :
ac_compiler_gnu=yes
-else $as_nop
- ac_compiler_gnu=no
+else case e in #(
+ e) ac_compiler_gnu=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
@@ -5643,8 +5825,8 @@
if test ${ac_cv_prog_cxx_g+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_save_cxx_werror_flag=$ac_cxx_werror_flag
+else case e in #(
+ e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag
ac_cxx_werror_flag=yes
ac_cv_prog_cxx_g=no
CXXFLAGS="-g"
@@ -5662,8 +5844,8 @@
if ac_fn_cxx_try_compile "$LINENO"
then :
ac_cv_prog_cxx_g=yes
-else $as_nop
- CXXFLAGS=""
+else case e in #(
+ e) CXXFLAGS=""
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -5678,8 +5860,8 @@
if ac_fn_cxx_try_compile "$LINENO"
then :
-else $as_nop
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+else case e in #(
+ e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag
CXXFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -5696,12 +5878,15 @@
then :
ac_cv_prog_cxx_g=yes
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
@@ -5725,11 +5910,11 @@
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
printf %s "checking for $CXX option to enable C++11 features... " >&6; }
-if test ${ac_cv_prog_cxx_11+y}
+if test ${ac_cv_prog_cxx_cxx11+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cxx_11=no
+else case e in #(
+ e) ac_cv_prog_cxx_cxx11=no
ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -5746,36 +5931,39 @@
test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
done
rm -f conftest.$ac_ext
-CXX=$ac_save_CXX
+CXX=$ac_save_CXX ;;
+esac
fi
if test "x$ac_cv_prog_cxx_cxx11" = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cxx_cxx11" = x
+else case e in #(
+ e) if test "x$ac_cv_prog_cxx_cxx11" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
- CXX="$CXX $ac_cv_prog_cxx_cxx11"
+ CXX="$CXX $ac_cv_prog_cxx_cxx11" ;;
+esac
fi
ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
- ac_prog_cxx_stdcxx=cxx11
+ ac_prog_cxx_stdcxx=cxx11 ;;
+esac
fi
fi
if test x$ac_prog_cxx_stdcxx = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
printf %s "checking for $CXX option to enable C++98 features... " >&6; }
-if test ${ac_cv_prog_cxx_98+y}
+if test ${ac_cv_prog_cxx_cxx98+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_cv_prog_cxx_98=no
+else case e in #(
+ e) ac_cv_prog_cxx_cxx98=no
ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -5792,25 +5980,28 @@
test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
done
rm -f conftest.$ac_ext
-CXX=$ac_save_CXX
+CXX=$ac_save_CXX ;;
+esac
fi
if test "x$ac_cv_prog_cxx_cxx98" = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
-else $as_nop
- if test "x$ac_cv_prog_cxx_cxx98" = x
+else case e in #(
+ e) if test "x$ac_cv_prog_cxx_cxx98" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
- CXX="$CXX $ac_cv_prog_cxx_cxx98"
+ CXX="$CXX $ac_cv_prog_cxx_cxx98" ;;
+esac
fi
ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
- ac_prog_cxx_stdcxx=cxx98
+ ac_prog_cxx_stdcxx=cxx98 ;;
+esac
fi
fi
@@ -5827,8 +6018,8 @@
if test ${am_cv_CXX_dependencies_compiler_type+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+else case e in #(
+ e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
@@ -5915,7 +6106,7 @@
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # When given -MP, icc 7.0 and 7.1 complain thus:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
@@ -5932,7 +6123,8 @@
else
am_cv_CXX_dependencies_compiler_type=none
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
@@ -5956,11 +6148,13 @@
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+CPPFLAGS="-DDNSDIST $CPPFLAGS"
-printf "%s\n" "#define DNSDIST 1" >>confdefs.h
+# Warn when pkg.m4 is missing
+# Rust runtime uses dlopen from its static lib
case `pwd` in
*\ * | *\ *)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
@@ -5998,15 +6192,16 @@
if test ${ac_cv_build+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_build_alias=$build_alias
+else case e in #(
+ e) ac_build_alias=$build_alias
test "x$ac_build_alias" = x &&
ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
test "x$ac_build_alias" = x &&
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
printf "%s\n" "$ac_cv_build" >&6; }
@@ -6033,14 +6228,15 @@
if test ${ac_cv_host+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test "x$host_alias" = x; then
+else case e in #(
+ e) if test "x$host_alias" = x; then
ac_cv_host=$ac_cv_build
else
ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
printf "%s\n" "$ac_cv_host" >&6; }
@@ -6136,8 +6332,8 @@
if test ${ac_cv_path_SED+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+else case e in #(
+ e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
for ac_i in 1 2 3 4 5 6 7; do
ac_script="$ac_script$as_nl$ac_script"
done
@@ -6162,9 +6358,10 @@
as_fn_executable_p "$ac_path_SED" || continue
# Check for GNU ac_path_SED and select it if it is found.
# Check for GNU $ac_path_SED
-case `"$ac_path_SED" --version 2>&1` in
+case `"$ac_path_SED" --version 2>&1` in #(
*GNU*)
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+#(
*)
ac_count=0
printf %s 0123456789 >"conftest.in"
@@ -6199,7 +6396,8 @@
else
ac_cv_path_SED=$SED
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
printf "%s\n" "$ac_cv_path_SED" >&6; }
@@ -6224,8 +6422,8 @@
if test ${ac_cv_path_GREP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -z "$GREP"; then
+else case e in #(
+ e) if test -z "$GREP"; then
ac_path_GREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -6244,9 +6442,10 @@
as_fn_executable_p "$ac_path_GREP" || continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
+case `"$ac_path_GREP" --version 2>&1` in #(
*GNU*)
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+#(
*)
ac_count=0
printf %s 0123456789 >"conftest.in"
@@ -6281,7 +6480,8 @@
else
ac_cv_path_GREP=$GREP
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
printf "%s\n" "$ac_cv_path_GREP" >&6; }
@@ -6293,8 +6493,8 @@
if test ${ac_cv_path_EGREP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+else case e in #(
+ e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
then ac_cv_path_EGREP="$GREP -E"
else
if test -z "$EGREP"; then
@@ -6316,9 +6516,10 @@
as_fn_executable_p "$ac_path_EGREP" || continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
+case `"$ac_path_EGREP" --version 2>&1` in #(
*GNU*)
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+#(
*)
ac_count=0
printf %s 0123456789 >"conftest.in"
@@ -6354,20 +6555,23 @@
ac_cv_path_EGREP=$EGREP
fi
- fi
+ fi ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
printf "%s\n" "$ac_cv_path_EGREP" >&6; }
EGREP="$ac_cv_path_EGREP"
+ EGREP_TRADITIONAL=$EGREP
+ ac_cv_path_EGREP_TRADITIONAL=$EGREP
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
printf %s "checking for fgrep... " >&6; }
if test ${ac_cv_path_FGREP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
+else case e in #(
+ e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
then ac_cv_path_FGREP="$GREP -F"
else
if test -z "$FGREP"; then
@@ -6389,9 +6593,10 @@
as_fn_executable_p "$ac_path_FGREP" || continue
# Check for GNU ac_path_FGREP and select it if it is found.
# Check for GNU $ac_path_FGREP
-case `"$ac_path_FGREP" --version 2>&1` in
+case `"$ac_path_FGREP" --version 2>&1` in #(
*GNU*)
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
+#(
*)
ac_count=0
printf %s 0123456789 >"conftest.in"
@@ -6427,7 +6632,8 @@
ac_cv_path_FGREP=$FGREP
fi
- fi
+ fi ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
printf "%s\n" "$ac_cv_path_FGREP" >&6; }
@@ -6458,8 +6664,9 @@
if test ${with_gnu_ld+y}
then :
withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
-else $as_nop
- with_gnu_ld=no
+else case e in #(
+ e) with_gnu_ld=no ;;
+esac
fi
ac_prog=ld
@@ -6504,8 +6711,8 @@
if test ${lt_cv_path_LD+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -z "$LD"; then
+else case e in #(
+ e) if test -z "$LD"; then
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
for ac_dir in $PATH; do
IFS=$lt_save_ifs
@@ -6528,7 +6735,8 @@
IFS=$lt_save_ifs
else
lt_cv_path_LD=$LD # Let the user override the test with a path.
-fi
+fi ;;
+esac
fi
LD=$lt_cv_path_LD
@@ -6545,8 +6753,8 @@
if test ${lt_cv_prog_gnu_ld+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- # I'd rather use --version here, but apparently some GNU lds only accept -v.
+else case e in #(
+ e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
case `$LD -v 2>&1 &5
@@ -6573,8 +6782,8 @@
if test ${lt_cv_path_NM+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$NM"; then
+else case e in #(
+ e) if test -n "$NM"; then
# Let the user override the test.
lt_cv_path_NM=$NM
else
@@ -6621,7 +6830,8 @@
IFS=$lt_save_ifs
done
: ${lt_cv_path_NM=no}
-fi
+fi ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
printf "%s\n" "$lt_cv_path_NM" >&6; }
@@ -6642,8 +6852,8 @@
if test ${ac_cv_prog_DUMPBIN+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$DUMPBIN"; then
+else case e in #(
+ e) if test -n "$DUMPBIN"; then
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -6665,7 +6875,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
DUMPBIN=$ac_cv_prog_DUMPBIN
if test -n "$DUMPBIN"; then
@@ -6691,8 +6902,8 @@
if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_DUMPBIN"; then
+else case e in #(
+ e) if test -n "$ac_ct_DUMPBIN"; then
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -6714,7 +6925,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
if test -n "$ac_ct_DUMPBIN"; then
@@ -6768,8 +6980,8 @@
if test ${lt_cv_nm_interface+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_nm_interface="BSD nm"
+else case e in #(
+ e) lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
@@ -6782,7 +6994,8 @@
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
fi
- rm -f conftest*
+ rm -f conftest* ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
printf "%s\n" "$lt_cv_nm_interface" >&6; }
@@ -6804,8 +7017,8 @@
if test ${lt_cv_sys_max_cmd_len+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- i=0
+else case e in #(
+ e) i=0
teststring=ABCD
case $build_os in
@@ -6927,7 +7140,8 @@
fi
;;
esac
-
+ ;;
+esac
fi
if test -n "$lt_cv_sys_max_cmd_len"; then
@@ -6984,8 +7198,8 @@
if test ${lt_cv_to_host_file_cmd+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- case $host in
+else case e in #(
+ e) case $host in
*-*-mingw* )
case $build in
*-*-mingw* ) # actually msys
@@ -7016,7 +7230,8 @@
lt_cv_to_host_file_cmd=func_convert_file_noop
;;
esac
-
+ ;;
+esac
fi
to_host_file_cmd=$lt_cv_to_host_file_cmd
@@ -7032,8 +7247,8 @@
if test ${lt_cv_to_tool_file_cmd+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- #assume ordinary cross tools, or native build.
+else case e in #(
+ e) #assume ordinary cross tools, or native build.
lt_cv_to_tool_file_cmd=func_convert_file_noop
case $host in
*-*-mingw* )
@@ -7044,7 +7259,8 @@
esac
;;
esac
-
+ ;;
+esac
fi
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
@@ -7060,8 +7276,9 @@
if test ${lt_cv_ld_reload_flag+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_ld_reload_flag='-r'
+else case e in #(
+ e) lt_cv_ld_reload_flag='-r' ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
@@ -7102,8 +7319,8 @@
if test ${ac_cv_prog_FILECMD+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$FILECMD"; then
+else case e in #(
+ e) if test -n "$FILECMD"; then
ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7125,7 +7342,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
FILECMD=$ac_cv_prog_FILECMD
if test -n "$FILECMD"; then
@@ -7147,8 +7365,8 @@
if test ${ac_cv_prog_ac_ct_FILECMD+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_FILECMD"; then
+else case e in #(
+ e) if test -n "$ac_ct_FILECMD"; then
ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7170,7 +7388,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
if test -n "$ac_ct_FILECMD"; then
@@ -7210,8 +7429,8 @@
if test ${ac_cv_prog_OBJDUMP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$OBJDUMP"; then
+else case e in #(
+ e) if test -n "$OBJDUMP"; then
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7233,7 +7452,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
OBJDUMP=$ac_cv_prog_OBJDUMP
if test -n "$OBJDUMP"; then
@@ -7255,8 +7475,8 @@
if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_OBJDUMP"; then
+else case e in #(
+ e) if test -n "$ac_ct_OBJDUMP"; then
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7278,7 +7498,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
if test -n "$ac_ct_OBJDUMP"; then
@@ -7319,8 +7540,8 @@
if test ${lt_cv_deplibs_check_method+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_file_magic_cmd='$MAGIC_CMD'
+else case e in #(
+ e) lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_deplibs_check_method='unknown'
# Need to set the preceding variable on all platforms that support
@@ -7513,7 +7734,8 @@
lt_cv_deplibs_check_method=pass_all
;;
esac
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
@@ -7565,8 +7787,8 @@
if test ${ac_cv_prog_DLLTOOL+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$DLLTOOL"; then
+else case e in #(
+ e) if test -n "$DLLTOOL"; then
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7588,7 +7810,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
DLLTOOL=$ac_cv_prog_DLLTOOL
if test -n "$DLLTOOL"; then
@@ -7610,8 +7833,8 @@
if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_DLLTOOL"; then
+else case e in #(
+ e) if test -n "$ac_ct_DLLTOOL"; then
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7633,7 +7856,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
if test -n "$ac_ct_DLLTOOL"; then
@@ -7675,8 +7899,8 @@
if test ${lt_cv_sharedlib_from_linklib_cmd+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_sharedlib_from_linklib_cmd='unknown'
+else case e in #(
+ e) lt_cv_sharedlib_from_linklib_cmd='unknown'
case $host_os in
cygwin* | mingw* | pw32* | cegcc*)
@@ -7696,7 +7920,8 @@
lt_cv_sharedlib_from_linklib_cmd=$ECHO
;;
esac
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
@@ -7720,8 +7945,8 @@
if test ${ac_cv_prog_AR+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$AR"; then
+else case e in #(
+ e) if test -n "$AR"; then
ac_cv_prog_AR="$AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7743,7 +7968,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
AR=$ac_cv_prog_AR
if test -n "$AR"; then
@@ -7769,8 +7995,8 @@
if test ${ac_cv_prog_ac_ct_AR+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_AR"; then
+else case e in #(
+ e) if test -n "$ac_ct_AR"; then
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7792,7 +8018,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
@@ -7854,8 +8081,8 @@
if test ${lt_cv_ar_at_file+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_ar_at_file=no
+else case e in #(
+ e) lt_cv_ar_at_file=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -7892,7 +8119,8 @@
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
printf "%s\n" "$lt_cv_ar_at_file" >&6; }
@@ -7917,8 +8145,8 @@
if test ${ac_cv_prog_STRIP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$STRIP"; then
+else case e in #(
+ e) if test -n "$STRIP"; then
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7940,7 +8168,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
@@ -7962,8 +8191,8 @@
if test ${ac_cv_prog_ac_ct_STRIP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_STRIP"; then
+else case e in #(
+ e) if test -n "$ac_ct_STRIP"; then
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -7985,7 +8214,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
if test -n "$ac_ct_STRIP"; then
@@ -8026,8 +8256,8 @@
if test ${ac_cv_prog_RANLIB+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$RANLIB"; then
+else case e in #(
+ e) if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -8049,7 +8279,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
@@ -8071,8 +8302,8 @@
if test ${ac_cv_prog_ac_ct_RANLIB+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_RANLIB"; then
+else case e in #(
+ e) if test -n "$ac_ct_RANLIB"; then
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -8094,7 +8325,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
@@ -8205,8 +8437,8 @@
if test ${lt_cv_sys_global_symbol_pipe+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
# These are sane defaults that work on at least a few old systems.
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
@@ -8461,7 +8693,8 @@
lt_cv_sys_global_symbol_pipe=
fi
done
-
+ ;;
+esac
fi
if test -z "$lt_cv_sys_global_symbol_pipe"; then
@@ -8525,8 +8758,9 @@
if test ${with_sysroot+y}
then :
withval=$with_sysroot;
-else $as_nop
- with_sysroot=no
+else case e in #(
+ e) with_sysroot=no ;;
+esac
fi
@@ -8561,8 +8795,8 @@
if test ${ac_cv_path_lt_DD+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- printf 0123456789abcdef0123456789abcdef >conftest.i
+else case e in #(
+ e) printf 0123456789abcdef0123456789abcdef >conftest.i
cat conftest.i conftest.i >conftest2.i
: ${lt_DD:=$DD}
if test -z "$lt_DD"; then
@@ -8598,7 +8832,8 @@
ac_cv_path_lt_DD=$lt_DD
fi
-rm -f conftest.i conftest2.i conftest.out
+rm -f conftest.i conftest2.i conftest.out ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
@@ -8609,8 +8844,8 @@
if test ${lt_cv_truncate_bin+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- printf 0123456789abcdef0123456789abcdef >conftest.i
+else case e in #(
+ e) printf 0123456789abcdef0123456789abcdef >conftest.i
cat conftest.i conftest.i >conftest2.i
lt_cv_truncate_bin=
if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then
@@ -8618,7 +8853,8 @@
&& lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
fi
rm -f conftest.i conftest2.i conftest.out
-test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
+test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
printf "%s\n" "$lt_cv_truncate_bin" >&6; }
@@ -8829,8 +9065,8 @@
if test ${lt_cv_cc_needs_belf+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_ext=c
+else case e in #(
+ e) ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
@@ -8850,8 +9086,9 @@
if ac_fn_c_try_link "$LINENO"
then :
lt_cv_cc_needs_belf=yes
-else $as_nop
- lt_cv_cc_needs_belf=no
+else case e in #(
+ e) lt_cv_cc_needs_belf=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
@@ -8860,7 +9097,8 @@
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
@@ -8918,8 +9156,8 @@
if test ${ac_cv_prog_MANIFEST_TOOL+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$MANIFEST_TOOL"; then
+else case e in #(
+ e) if test -n "$MANIFEST_TOOL"; then
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -8941,7 +9179,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
if test -n "$MANIFEST_TOOL"; then
@@ -8963,8 +9202,8 @@
if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_MANIFEST_TOOL"; then
+else case e in #(
+ e) if test -n "$ac_ct_MANIFEST_TOOL"; then
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -8986,7 +9225,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
if test -n "$ac_ct_MANIFEST_TOOL"; then
@@ -9018,15 +9258,16 @@
if test ${lt_cv_path_mainfest_tool+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_path_mainfest_tool=no
+else case e in #(
+ e) lt_cv_path_mainfest_tool=no
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
cat conftest.err >&5
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
lt_cv_path_mainfest_tool=yes
fi
- rm -f conftest*
+ rm -f conftest* ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
@@ -9049,8 +9290,8 @@
if test ${ac_cv_prog_DSYMUTIL+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$DSYMUTIL"; then
+else case e in #(
+ e) if test -n "$DSYMUTIL"; then
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -9072,7 +9313,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
DSYMUTIL=$ac_cv_prog_DSYMUTIL
if test -n "$DSYMUTIL"; then
@@ -9094,8 +9336,8 @@
if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_DSYMUTIL"; then
+else case e in #(
+ e) if test -n "$ac_ct_DSYMUTIL"; then
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -9117,7 +9359,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
if test -n "$ac_ct_DSYMUTIL"; then
@@ -9151,8 +9394,8 @@
if test ${ac_cv_prog_NMEDIT+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$NMEDIT"; then
+else case e in #(
+ e) if test -n "$NMEDIT"; then
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -9174,7 +9417,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
NMEDIT=$ac_cv_prog_NMEDIT
if test -n "$NMEDIT"; then
@@ -9196,8 +9440,8 @@
if test ${ac_cv_prog_ac_ct_NMEDIT+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_NMEDIT"; then
+else case e in #(
+ e) if test -n "$ac_ct_NMEDIT"; then
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -9219,7 +9463,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
if test -n "$ac_ct_NMEDIT"; then
@@ -9253,8 +9498,8 @@
if test ${ac_cv_prog_LIPO+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$LIPO"; then
+else case e in #(
+ e) if test -n "$LIPO"; then
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -9276,7 +9521,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
LIPO=$ac_cv_prog_LIPO
if test -n "$LIPO"; then
@@ -9298,8 +9544,8 @@
if test ${ac_cv_prog_ac_ct_LIPO+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_LIPO"; then
+else case e in #(
+ e) if test -n "$ac_ct_LIPO"; then
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -9321,7 +9567,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
if test -n "$ac_ct_LIPO"; then
@@ -9355,8 +9602,8 @@
if test ${ac_cv_prog_OTOOL+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$OTOOL"; then
+else case e in #(
+ e) if test -n "$OTOOL"; then
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -9378,7 +9625,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
OTOOL=$ac_cv_prog_OTOOL
if test -n "$OTOOL"; then
@@ -9400,8 +9648,8 @@
if test ${ac_cv_prog_ac_ct_OTOOL+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_OTOOL"; then
+else case e in #(
+ e) if test -n "$ac_ct_OTOOL"; then
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -9423,7 +9671,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
if test -n "$ac_ct_OTOOL"; then
@@ -9457,8 +9706,8 @@
if test ${ac_cv_prog_OTOOL64+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$OTOOL64"; then
+else case e in #(
+ e) if test -n "$OTOOL64"; then
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -9480,7 +9729,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
OTOOL64=$ac_cv_prog_OTOOL64
if test -n "$OTOOL64"; then
@@ -9502,8 +9752,8 @@
if test ${ac_cv_prog_ac_ct_OTOOL64+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_OTOOL64"; then
+else case e in #(
+ e) if test -n "$ac_ct_OTOOL64"; then
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -9525,7 +9775,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
if test -n "$ac_ct_OTOOL64"; then
@@ -9582,8 +9833,8 @@
if test ${lt_cv_apple_cc_single_mod+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_apple_cc_single_mod=no
+else case e in #(
+ e) lt_cv_apple_cc_single_mod=no
if test -z "$LT_MULTI_MODULE"; then
# By default we will add the -single_module flag. You can override
# by either setting the environment variable LT_MULTI_MODULE
@@ -9609,7 +9860,8 @@
fi
rm -rf libconftest.dylib*
rm -f conftest.*
- fi
+ fi ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
@@ -9619,8 +9871,8 @@
if test ${lt_cv_ld_exported_symbols_list+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_ld_exported_symbols_list=no
+else case e in #(
+ e) lt_cv_ld_exported_symbols_list=no
save_LDFLAGS=$LDFLAGS
echo "_main" > conftest.sym
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
@@ -9638,13 +9890,15 @@
if ac_fn_c_try_link "$LINENO"
then :
lt_cv_ld_exported_symbols_list=yes
-else $as_nop
- lt_cv_ld_exported_symbols_list=no
+else case e in #(
+ e) lt_cv_ld_exported_symbols_list=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
LDFLAGS=$save_LDFLAGS
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
@@ -9654,8 +9908,8 @@
if test ${lt_cv_ld_force_load+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_ld_force_load=no
+else case e in #(
+ e) lt_cv_ld_force_load=no
cat > conftest.c << _LT_EOF
int forced_loaded() { return 2;}
_LT_EOF
@@ -9680,7 +9934,8 @@
fi
rm -f conftest.err libconftest.a conftest conftest.c
rm -rf conftest.dSYM
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
printf "%s\n" "$lt_cv_ld_force_load" >&6; }
@@ -9821,8 +10076,9 @@
IFS=$lt_save_ifs
;;
esac
-else $as_nop
- enable_static=no
+else case e in #(
+ e) enable_static=no ;;
+esac
fi
@@ -9831,11 +10087,10 @@
+enable_dlopen=yes
- enable_dlopen=no
-
enable_win32_dll=no
@@ -9860,8 +10115,9 @@
IFS=$lt_save_ifs
;;
esac
-else $as_nop
- enable_shared=yes
+else case e in #(
+ e) enable_shared=yes ;;
+esac
fi
@@ -9893,8 +10149,9 @@
IFS=$lt_save_ifs
;;
esac
-else $as_nop
- pic_mode=default
+else case e in #(
+ e) pic_mode=default ;;
+esac
fi
@@ -9924,8 +10181,9 @@
IFS=$lt_save_ifs
;;
esac
-else $as_nop
- enable_fast_install=yes
+else case e in #(
+ e) enable_fast_install=yes ;;
+esac
fi
@@ -9952,15 +10210,17 @@
;;
esac
lt_cv_with_aix_soname=$with_aix_soname
-else $as_nop
- if test ${lt_cv_with_aix_soname+y}
+else case e in #(
+ e) if test ${lt_cv_with_aix_soname+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_with_aix_soname=aix
+else case e in #(
+ e) lt_cv_with_aix_soname=aix ;;
+esac
fi
- with_aix_soname=$lt_cv_with_aix_soname
+ with_aix_soname=$lt_cv_with_aix_soname ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
@@ -10051,8 +10311,8 @@
if test ${lt_cv_objdir+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- rm -f .libs 2>/dev/null
+else case e in #(
+ e) rm -f .libs 2>/dev/null
mkdir .libs 2>/dev/null
if test -d .libs; then
lt_cv_objdir=.libs
@@ -10060,7 +10320,8 @@
# MS-DOS does not allow filenames that begin with a dot.
lt_cv_objdir=_libs
fi
-rmdir .libs 2>/dev/null
+rmdir .libs 2>/dev/null ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
printf "%s\n" "$lt_cv_objdir" >&6; }
@@ -10121,8 +10382,8 @@
if test ${lt_cv_path_MAGIC_CMD+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- case $MAGIC_CMD in
+else case e in #(
+ e) case $MAGIC_CMD in
[\\/*] | ?:[\\/]*)
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
;;
@@ -10165,6 +10426,7 @@
IFS=$lt_save_ifs
MAGIC_CMD=$lt_save_MAGIC_CMD
;;
+esac ;;
esac
fi
@@ -10188,8 +10450,8 @@
if test ${lt_cv_path_MAGIC_CMD+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- case $MAGIC_CMD in
+else case e in #(
+ e) case $MAGIC_CMD in
[\\/*] | ?:[\\/]*)
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
;;
@@ -10232,6 +10494,7 @@
IFS=$lt_save_ifs
MAGIC_CMD=$lt_save_MAGIC_CMD
;;
+esac ;;
esac
fi
@@ -10331,8 +10594,8 @@
if test ${lt_cv_prog_compiler_rtti_exceptions+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_prog_compiler_rtti_exceptions=no
+else case e in #(
+ e) lt_cv_prog_compiler_rtti_exceptions=no
ac_outfile=conftest.$ac_objext
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
@@ -10360,7 +10623,8 @@
fi
fi
$RM conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
@@ -10725,8 +10989,9 @@
if test ${lt_cv_prog_compiler_pic+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
+else case e in #(
+ e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
@@ -10741,8 +11006,8 @@
if test ${lt_cv_prog_compiler_pic_works+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_prog_compiler_pic_works=no
+else case e in #(
+ e) lt_cv_prog_compiler_pic_works=no
ac_outfile=conftest.$ac_objext
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
@@ -10770,7 +11035,8 @@
fi
fi
$RM conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
@@ -10806,8 +11072,8 @@
if test ${lt_cv_prog_compiler_static_works+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_prog_compiler_static_works=no
+else case e in #(
+ e) lt_cv_prog_compiler_static_works=no
save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
echo "$lt_simple_link_test_code" > conftest.$ac_ext
@@ -10828,7 +11094,8 @@
fi
$RM -r conftest*
LDFLAGS=$save_LDFLAGS
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
@@ -10850,8 +11117,8 @@
if test ${lt_cv_prog_compiler_c_o+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_prog_compiler_c_o=no
+else case e in #(
+ e) lt_cv_prog_compiler_c_o=no
$RM -r conftest 2>/dev/null
mkdir conftest
cd conftest
@@ -10891,7 +11158,8 @@
cd ..
$RM -r conftest
$RM conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
@@ -10906,8 +11174,8 @@
if test ${lt_cv_prog_compiler_c_o+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_prog_compiler_c_o=no
+else case e in #(
+ e) lt_cv_prog_compiler_c_o=no
$RM -r conftest 2>/dev/null
mkdir conftest
cd conftest
@@ -10947,7 +11215,8 @@
cd ..
$RM -r conftest
$RM conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
@@ -11542,8 +11811,8 @@
if test ${lt_cv_aix_libpath_+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -11575,7 +11844,8 @@
if test -z "$lt_cv_aix_libpath_"; then
lt_cv_aix_libpath_=/usr/lib:/lib
fi
-
+ ;;
+esac
fi
aix_libpath=$lt_cv_aix_libpath_
@@ -11597,8 +11867,8 @@
if test ${lt_cv_aix_libpath_+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -11630,7 +11900,8 @@
if test -z "$lt_cv_aix_libpath_"; then
lt_cv_aix_libpath_=/usr/lib:/lib
fi
-
+ ;;
+esac
fi
aix_libpath=$lt_cv_aix_libpath_
@@ -11881,8 +12152,8 @@
if test ${lt_cv_prog_compiler__b+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_prog_compiler__b=no
+else case e in #(
+ e) lt_cv_prog_compiler__b=no
save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -b"
echo "$lt_simple_link_test_code" > conftest.$ac_ext
@@ -11903,7 +12174,8 @@
fi
$RM -r conftest*
LDFLAGS=$save_LDFLAGS
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
@@ -11951,8 +12223,8 @@
if test ${lt_cv_irix_exported_symbol+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- save_LDFLAGS=$LDFLAGS
+else case e in #(
+ e) save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -11961,12 +12233,14 @@
if ac_fn_c_try_link "$LINENO"
then :
lt_cv_irix_exported_symbol=yes
-else $as_nop
- lt_cv_irix_exported_symbol=no
+else case e in #(
+ e) lt_cv_irix_exported_symbol=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
- LDFLAGS=$save_LDFLAGS
+ LDFLAGS=$save_LDFLAGS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
@@ -12292,8 +12566,8 @@
if test ${lt_cv_archive_cmds_need_lc+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- $RM conftest*
+else case e in #(
+ e) $RM conftest*
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
@@ -12329,7 +12603,8 @@
cat conftest.err 1>&5
fi
$RM conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
@@ -13056,8 +13331,8 @@
if test ${lt_cv_shlibpath_overrides_runpath+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_shlibpath_overrides_runpath=no
+else case e in #(
+ e) lt_cv_shlibpath_overrides_runpath=no
save_LDFLAGS=$LDFLAGS
save_libdir=$libdir
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
@@ -13084,7 +13359,8 @@
conftest$ac_exeext conftest.$ac_ext
LDFLAGS=$save_LDFLAGS
libdir=$save_libdir
-
+ ;;
+esac
fi
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
@@ -13509,16 +13785,22 @@
if test ${ac_cv_lib_dl_dlopen+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char dlopen ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen (void);
int
main (void)
{
@@ -13530,24 +13812,27 @@
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_dl_dlopen=yes
-else $as_nop
- ac_cv_lib_dl_dlopen=no
+else case e in #(
+ e) ac_cv_lib_dl_dlopen=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
if test "x$ac_cv_lib_dl_dlopen" = xyes
then :
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
-else $as_nop
-
+else case e in #(
+ e)
lt_cv_dlopen=dyld
lt_cv_dlopen_libs=
lt_cv_dlopen_self=yes
-
+ ;;
+esac
fi
;;
@@ -13565,22 +13850,28 @@
if test "x$ac_cv_func_shl_load" = xyes
then :
lt_cv_dlopen=shl_load
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
printf %s "checking for shl_load in -ldld... " >&6; }
if test ${ac_cv_lib_dld_shl_load+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-ldld $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char shl_load ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load (void);
int
main (void)
{
@@ -13592,39 +13883,47 @@
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_dld_shl_load=yes
-else $as_nop
- ac_cv_lib_dld_shl_load=no
+else case e in #(
+ e) ac_cv_lib_dld_shl_load=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
if test "x$ac_cv_lib_dld_shl_load" = xyes
then :
lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
-else $as_nop
- ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
+else case e in #(
+ e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
if test "x$ac_cv_func_dlopen" = xyes
then :
lt_cv_dlopen=dlopen
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
printf %s "checking for dlopen in -ldl... " >&6; }
if test ${ac_cv_lib_dl_dlopen+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char dlopen ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen (void);
int
main (void)
{
@@ -13636,34 +13935,42 @@
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_dl_dlopen=yes
-else $as_nop
- ac_cv_lib_dl_dlopen=no
+else case e in #(
+ e) ac_cv_lib_dl_dlopen=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
if test "x$ac_cv_lib_dl_dlopen" = xyes
then :
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
printf %s "checking for dlopen in -lsvld... " >&6; }
if test ${ac_cv_lib_svld_dlopen+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-lsvld $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char dlopen ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen (void);
int
main (void)
{
@@ -13675,34 +13982,42 @@
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_svld_dlopen=yes
-else $as_nop
- ac_cv_lib_svld_dlopen=no
+else case e in #(
+ e) ac_cv_lib_svld_dlopen=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
if test "x$ac_cv_lib_svld_dlopen" = xyes
then :
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
printf %s "checking for dld_link in -ldld... " >&6; }
if test ${ac_cv_lib_dld_dld_link+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-ldld $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char dld_link ();
+ builtin and then its argument prototype would still apply.
+ The 'extern "C"' is for builds by C++ compilers;
+ although this is not generally supported in C code supporting it here
+ has little cost and some practical benefit (sr 110532). */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dld_link (void);
int
main (void)
{
@@ -13714,12 +14029,14 @@
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_dld_dld_link=yes
-else $as_nop
- ac_cv_lib_dld_dld_link=no
+else case e in #(
+ e) ac_cv_lib_dld_dld_link=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
@@ -13728,19 +14045,24 @@
lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
fi
-
+ ;;
+esac
fi
-
+ ;;
+esac
fi
-
+ ;;
+esac
fi
-
+ ;;
+esac
fi
-
+ ;;
+esac
fi
;;
@@ -13768,8 +14090,8 @@
if test ${lt_cv_dlopen_self+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test yes = "$cross_compiling"; then :
+else case e in #(
+ e) if test yes = "$cross_compiling"; then :
lt_cv_dlopen_self=cross
else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
@@ -13863,7 +14185,8 @@
fi
rm -fr conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
printf "%s\n" "$lt_cv_dlopen_self" >&6; }
@@ -13875,8 +14198,8 @@
if test ${lt_cv_dlopen_self_static+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test yes = "$cross_compiling"; then :
+else case e in #(
+ e) if test yes = "$cross_compiling"; then :
lt_cv_dlopen_self_static=cross
else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
@@ -13970,7 +14293,8 @@
fi
rm -fr conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
@@ -14128,8 +14452,8 @@
if test ${ac_cv_prog_CXXCPP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- # Double quotes because $CXX needs to be expanded
+else case e in #(
+ e) # Double quotes because $CXX needs to be expanded
for CXXCPP in "$CXX -E" cpp /lib/cpp
do
ac_preproc_ok=false
@@ -14147,9 +14471,10 @@
if ac_fn_cxx_try_cpp "$LINENO"
then :
-else $as_nop
- # Broken: fails on valid input.
-continue
+else case e in #(
+ e) # Broken: fails on valid input.
+continue ;;
+esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext
@@ -14163,15 +14488,16 @@
then :
# Broken: success on invalid input.
continue
-else $as_nop
- # Passes both tests.
+else case e in #(
+ e) # Passes both tests.
ac_preproc_ok=:
-break
+break ;;
+esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext
done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.i conftest.err conftest.$ac_ext
if $ac_preproc_ok
then :
@@ -14180,7 +14506,8 @@
done
ac_cv_prog_CXXCPP=$CXXCPP
-
+ ;;
+esac
fi
CXXCPP=$ac_cv_prog_CXXCPP
else
@@ -14203,9 +14530,10 @@
if ac_fn_cxx_try_cpp "$LINENO"
then :
-else $as_nop
- # Broken: fails on valid input.
-continue
+else case e in #(
+ e) # Broken: fails on valid input.
+continue ;;
+esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext
@@ -14219,24 +14547,26 @@
then :
# Broken: success on invalid input.
continue
-else $as_nop
- # Passes both tests.
+else case e in #(
+ e) # Passes both tests.
ac_preproc_ok=:
-break
+break ;;
+esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext
done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.i conftest.err conftest.$ac_ext
if $ac_preproc_ok
then :
-else $as_nop
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+else case e in #(
+ e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5; }
+See 'config.log' for more details" "$LINENO" 5; } ;;
+esac
fi
ac_ext=cpp
@@ -14373,8 +14703,9 @@
if test ${with_gnu_ld+y}
then :
withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
-else $as_nop
- with_gnu_ld=no
+else case e in #(
+ e) with_gnu_ld=no ;;
+esac
fi
ac_prog=ld
@@ -14419,8 +14750,8 @@
if test ${lt_cv_path_LD+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -z "$LD"; then
+else case e in #(
+ e) if test -z "$LD"; then
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
for ac_dir in $PATH; do
IFS=$lt_save_ifs
@@ -14443,7 +14774,8 @@
IFS=$lt_save_ifs
else
lt_cv_path_LD=$LD # Let the user override the test with a path.
-fi
+fi ;;
+esac
fi
LD=$lt_cv_path_LD
@@ -14460,8 +14792,8 @@
if test ${lt_cv_prog_gnu_ld+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- # I'd rather use --version here, but apparently some GNU lds only accept -v.
+else case e in #(
+ e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
case `$LD -v 2>&1 &5
@@ -14668,8 +15001,8 @@
if test ${lt_cv_aix_libpath__CXX+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -14701,7 +15034,8 @@
if test -z "$lt_cv_aix_libpath__CXX"; then
lt_cv_aix_libpath__CXX=/usr/lib:/lib
fi
-
+ ;;
+esac
fi
aix_libpath=$lt_cv_aix_libpath__CXX
@@ -14724,8 +15058,8 @@
if test ${lt_cv_aix_libpath__CXX+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else case e in #(
+ e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -14757,7 +15091,8 @@
if test -z "$lt_cv_aix_libpath__CXX"; then
lt_cv_aix_libpath__CXX=/usr/lib:/lib
fi
-
+ ;;
+esac
fi
aix_libpath=$lt_cv_aix_libpath__CXX
@@ -16129,8 +16464,9 @@
if test ${lt_cv_prog_compiler_pic_CXX+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
+else case e in #(
+ e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
@@ -16145,8 +16481,8 @@
if test ${lt_cv_prog_compiler_pic_works_CXX+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_prog_compiler_pic_works_CXX=no
+else case e in #(
+ e) lt_cv_prog_compiler_pic_works_CXX=no
ac_outfile=conftest.$ac_objext
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
@@ -16174,7 +16510,8 @@
fi
fi
$RM conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
@@ -16204,8 +16541,8 @@
if test ${lt_cv_prog_compiler_static_works_CXX+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_prog_compiler_static_works_CXX=no
+else case e in #(
+ e) lt_cv_prog_compiler_static_works_CXX=no
save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
echo "$lt_simple_link_test_code" > conftest.$ac_ext
@@ -16226,7 +16563,8 @@
fi
$RM -r conftest*
LDFLAGS=$save_LDFLAGS
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
@@ -16245,8 +16583,8 @@
if test ${lt_cv_prog_compiler_c_o_CXX+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_prog_compiler_c_o_CXX=no
+else case e in #(
+ e) lt_cv_prog_compiler_c_o_CXX=no
$RM -r conftest 2>/dev/null
mkdir conftest
cd conftest
@@ -16286,7 +16624,8 @@
cd ..
$RM -r conftest
$RM conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
@@ -16298,8 +16637,8 @@
if test ${lt_cv_prog_compiler_c_o_CXX+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_prog_compiler_c_o_CXX=no
+else case e in #(
+ e) lt_cv_prog_compiler_c_o_CXX=no
$RM -r conftest 2>/dev/null
mkdir conftest
cd conftest
@@ -16339,7 +16678,8 @@
cd ..
$RM -r conftest
$RM conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
@@ -16444,8 +16784,8 @@
if test ${lt_cv_archive_cmds_need_lc_CXX+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- $RM conftest*
+else case e in #(
+ e) $RM conftest*
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
@@ -16481,7 +16821,8 @@
cat conftest.err 1>&5
fi
$RM conftest*
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
@@ -17045,8 +17386,8 @@
if test ${lt_cv_shlibpath_overrides_runpath+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- lt_cv_shlibpath_overrides_runpath=no
+else case e in #(
+ e) lt_cv_shlibpath_overrides_runpath=no
save_LDFLAGS=$LDFLAGS
save_libdir=$libdir
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
@@ -17073,7 +17414,8 @@
conftest$ac_exeext conftest.$ac_ext
LDFLAGS=$save_LDFLAGS
libdir=$save_libdir
-
+ ;;
+esac
fi
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
@@ -17452,9 +17794,17 @@
# Only expand once:
+LIBDL=$lt_cv_dlopen_libs
+
+
+CFLAGS="-g -O3 -Wall -Wextra -Wshadow -fvisibility=hidden $CFLAGS"
+CXXFLAGS="-g -O3 -Wall -Wextra -Wshadow -Wmissing-declarations -Wredundant-decls -fvisibility=hidden $CXXFLAGS"
+
+pdns_configure_args="$ac_configure_args"
+
+
+printf "%s\n" "#define DNSDIST_CONFIG_ARGS \"$pdns_configure_args\"" >>confdefs.h
-CFLAGS="-g -O3 -Wall -Wextra -Wshadow -Wno-unused-parameter -fvisibility=hidden $CFLAGS"
-CXXFLAGS="-g -O3 -Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -fvisibility=hidden $CXXFLAGS"
@@ -17472,8 +17822,8 @@
if test ${ac_cv_path_PKG_CONFIG+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- case $PKG_CONFIG in
+else case e in #(
+ e) case $PKG_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
;;
@@ -17498,6 +17848,7 @@
IFS=$as_save_IFS
;;
+esac ;;
esac
fi
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
@@ -17520,8 +17871,8 @@
if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- case $ac_pt_PKG_CONFIG in
+else case e in #(
+ e) case $ac_pt_PKG_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
;;
@@ -17546,6 +17897,7 @@
IFS=$as_save_IFS
;;
+esac ;;
esac
fi
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
@@ -17586,6 +17938,9 @@
PKG_CONFIG=""
fi
fi
+if test -z "$PKG_CONFIG"; then
+ as_fn_error $? "pkg-config not found" "$LINENO" 5
+fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we will be linking in libsodium" >&5
printf %s "checking whether we will be linking in libsodium... " >&6; }
@@ -17594,8 +17949,9 @@
if test ${with_libsodium+y}
then :
withval=$with_libsodium; with_libsodium=$withval
-else $as_nop
- with_libsodium=auto
+else case e in #(
+ e) with_libsodium=auto ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_libsodium" >&5
@@ -17752,8 +18108,9 @@
if test ${with_quiche+y}
then :
withval=$with_quiche; with_quiche=$withval
-else $as_nop
- with_quiche=auto
+else case e in #(
+ e) with_quiche=auto ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_quiche" >&5
@@ -18319,6 +18676,25 @@
fi
+ if test "x$HAVE_QUICHE" = "x1"
+then :
+
+ save_CFLAGS=$CFLAGS
+ save_LIBS=$LIBS
+ CFLAGS="$QUICHE_CFLAGS $CFLAGS"
+ LIBS="$QUICHE_LIBS $LIBS"
+ ac_fn_cxx_check_func "$LINENO" "quiche_conn_server_name" "ac_cv_func_quiche_conn_server_name"
+if test "x$ac_cv_func_quiche_conn_server_name" = xyes
+then :
+ printf "%s\n" "#define HAVE_QUICHE_CONN_SERVER_NAME 1" >>confdefs.h
+
+fi
+
+ CFLAGS=$save_CFLAGS
+ LIBS=$save_LIBS
+
+
+fi
fi
@@ -18350,8 +18726,9 @@
if test ${enable_dnstap+y}
then :
enableval=$enable_dnstap; enable_dnstap=$enableval
-else $as_nop
- enable_dnstap=auto
+else case e in #(
+ e) enable_dnstap=auto ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_dnstap" >&5
@@ -18484,8 +18861,8 @@
if test ${ac_cv_prog_RAGEL+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$RAGEL"; then
+else case e in #(
+ e) if test -n "$RAGEL"; then
ac_cv_prog_RAGEL="$RAGEL" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -18507,7 +18884,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
RAGEL=$ac_cv_prog_RAGEL
if test -n "$RAGEL"; then
@@ -18533,9 +18911,10 @@
if test ${with_libedit+y}
then :
withval=$with_libedit; with_libedit=$enableval
-else $as_nop
- with_libedit=yes
-
+else case e in #(
+ e) with_libedit=yes
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_libedit" >&5
@@ -18654,8 +19033,8 @@
if test ${ac_cv_search_clock_gettime+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -18692,11 +19071,13 @@
if test ${ac_cv_search_clock_gettime+y}
then :
-else $as_nop
- ac_cv_search_clock_gettime=no
+else case e in #(
+ e) ac_cv_search_clock_gettime=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
@@ -18815,8 +19196,8 @@
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
-else $as_nop
- LIBS="$LIBS -latomic"
+else case e in #(
+ e) LIBS="$LIBS -latomic"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include
@@ -18833,16 +19214,18 @@
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
-else $as_nop
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+else case e in #(
+ e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "libatomic needed, but linking with -latomic failed, cannot continue
-See \`config.log' for more details" "$LINENO" 5; }
-
+See 'config.log' for more details" "$LINENO" 5; }
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
@@ -18894,8 +19277,8 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
-else $as_nop
-
+else case e in #(
+ e)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
@@ -18929,8 +19312,8 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
-else $as_nop
-
+else case e in #(
+ e)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
@@ -18964,8 +19347,8 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
-else $as_nop
-
+else case e in #(
+ e)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
@@ -18999,8 +19382,8 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
-else $as_nop
-
+else case e in #(
+ e)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
@@ -19034,27 +19417,32 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
-else $as_nop
-
+else case e in #(
+ e)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
-
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
@@ -19065,8 +19453,8 @@
if test ${ac_cv_cxx_undeclared_builtin_options+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_save_CFLAGS=$CFLAGS
+else case e in #(
+ e) ac_save_CFLAGS=$CFLAGS
ac_cv_cxx_undeclared_builtin_options='cannot detect'
for ac_arg in '' -fno-builtin; do
CFLAGS="$ac_save_CFLAGS $ac_arg"
@@ -19085,8 +19473,8 @@
if ac_fn_cxx_try_compile "$LINENO"
then :
-else $as_nop
- # This test program should compile successfully.
+else case e in #(
+ e) # This test program should compile successfully.
# No library function is consistently available on
# freestanding implementations, so test against a dummy
# declaration. Include always-available headers on the
@@ -19114,26 +19502,29 @@
if test x"$ac_arg" = x
then :
ac_cv_cxx_undeclared_builtin_options='none needed'
-else $as_nop
- ac_cv_cxx_undeclared_builtin_options=$ac_arg
+else case e in #(
+ e) ac_cv_cxx_undeclared_builtin_options=$ac_arg ;;
+esac
fi
break
fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
done
CFLAGS=$ac_save_CFLAGS
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_undeclared_builtin_options" >&5
printf "%s\n" "$ac_cv_cxx_undeclared_builtin_options" >&6; }
case $ac_cv_cxx_undeclared_builtin_options in #(
'cannot detect') :
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "cannot make $CXX report undeclared builtins
-See \`config.log' for more details" "$LINENO" 5; } ;; #(
+See 'config.log' for more details" "$LINENO" 5; } ;; #(
'none needed') :
ac_cxx_undeclared_builtin_options='' ;; #(
*) :
@@ -19146,8 +19537,8 @@
if test ${ac_cv_search_inet_aton+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -19184,11 +19575,13 @@
if test ${ac_cv_search_inet_aton+y}
then :
-else $as_nop
- ac_cv_search_inet_aton=no
+else case e in #(
+ e) ac_cv_search_inet_aton=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
@@ -19204,8 +19597,8 @@
if test ${ac_cv_search_gethostbyname+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -19242,11 +19635,13 @@
if test ${ac_cv_search_gethostbyname+y}
then :
-else $as_nop
- ac_cv_search_gethostbyname=no
+else case e in #(
+ e) ac_cv_search_gethostbyname=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
@@ -19262,8 +19657,8 @@
if test ${ac_cv_search_socket+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -19300,11 +19695,13 @@
if test ${ac_cv_search_socket+y}
then :
-else $as_nop
- ac_cv_search_socket=no
+else case e in #(
+ e) ac_cv_search_socket=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
printf "%s\n" "$ac_cv_search_socket" >&6; }
@@ -19320,8 +19717,8 @@
if test ${ac_cv_search_gethostent+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -19358,11 +19755,13 @@
if test ${ac_cv_search_gethostent+y}
then :
-else $as_nop
- ac_cv_search_gethostent=no
+else case e in #(
+ e) ac_cv_search_gethostent=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
printf "%s\n" "$ac_cv_search_gethostent" >&6; }
@@ -19407,8 +19806,8 @@
if test ${ac_cv_search_pthread_setaffinity_np+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -19445,11 +19844,13 @@
if test ${ac_cv_search_pthread_setaffinity_np+y}
then :
-else $as_nop
- ac_cv_search_pthread_setaffinity_np=no
+else case e in #(
+ e) ac_cv_search_pthread_setaffinity_np=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_setaffinity_np" >&5
printf "%s\n" "$ac_cv_search_pthread_setaffinity_np" >&6; }
@@ -19467,8 +19868,8 @@
if test ${ac_cv_search_pthread_getattr_np+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -19505,11 +19906,13 @@
if test ${ac_cv_search_pthread_getattr_np+y}
then :
-else $as_nop
- ac_cv_search_pthread_getattr_np=no
+else case e in #(
+ e) ac_cv_search_pthread_getattr_np=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_getattr_np" >&5
printf "%s\n" "$ac_cv_search_pthread_getattr_np" >&6; }
@@ -19527,8 +19930,8 @@
if test ${ac_cv_search_pthread_get_stackaddr_np+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -19565,11 +19968,13 @@
if test ${ac_cv_search_pthread_get_stackaddr_np+y}
then :
-else $as_nop
- ac_cv_search_pthread_get_stackaddr_np=no
+else case e in #(
+ e) ac_cv_search_pthread_get_stackaddr_np=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_get_stackaddr_np" >&5
printf "%s\n" "$ac_cv_search_pthread_get_stackaddr_np" >&6; }
@@ -19587,8 +19992,8 @@
if test ${ac_cv_search_pthread_get_stacksize_np+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -19625,11 +20030,13 @@
if test ${ac_cv_search_pthread_get_stacksize_np+y}
then :
-else $as_nop
- ac_cv_search_pthread_get_stacksize_np=no
+else case e in #(
+ e) ac_cv_search_pthread_get_stacksize_np=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_get_stacksize_np" >&5
printf "%s\n" "$ac_cv_search_pthread_get_stacksize_np" >&6; }
@@ -19668,8 +20075,9 @@
if test "x$ac_cv_have_decl_strerror_r" = xyes
then :
ac_have_decl=1
-else $as_nop
- ac_have_decl=0
+else case e in #(
+ e) ac_have_decl=0 ;;
+esac
fi
printf "%s\n" "#define HAVE_DECL_STRERROR_R $ac_have_decl" >>confdefs.h
@@ -19688,8 +20096,8 @@
if test ${ac_cv_func_strerror_r_char_p+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
ac_cv_func_strerror_r_char_p=no
if test $ac_cv_have_decl_strerror_r = yes; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -19715,7 +20123,8 @@
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
printf "%s\n" "$ac_cv_func_strerror_r_char_p" >&6; }
@@ -19727,9 +20136,9 @@
-echo "$as_me: this is boost.m4 serial 38" >&5
+echo "$as_me: this is boost.m4 serial 39" >&5
boost_save_IFS=$IFS
-boost_version_req=1.42
+boost_version_req=1.54
IFS=.
set x $boost_version_req 0 0 0
IFS=$boost_save_IFS
@@ -19761,8 +20170,8 @@
if test ${boost_cv_inc_path+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- boost_cv_inc_path=no
+else case e in #(
+ e) boost_cv_inc_path=no
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -19831,8 +20240,9 @@
if ac_fn_cxx_try_compile "$LINENO"
then :
boost_cv_inc_path=yes
-else $as_nop
- boost_cv_version=no
+else case e in #(
+ e) boost_cv_version=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
if test x"$boost_cv_inc_path" = xyes; then
@@ -19848,7 +20258,8 @@
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $boost_cv_inc_path" >&5
printf "%s\n" "$boost_cv_inc_path" >&6; }
@@ -19874,8 +20285,8 @@
if test ${boost_cv_lib_version+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_ext=cpp
+else case e in #(
+ e) ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
@@ -19890,7 +20301,7 @@
grep -v '^[[:space:]]*$' |
tr -d '\r' |
tr -s '\n' ' ' |
- $SED -n -e "/^boost-lib-version = /{s///;s/[\" ]//g;p;q;}" >conftest.i 2>&1
+ $SED -n -e "/^.*boost-lib-version = /{s///;s/[\" ]//g;p;q;}" >conftest.i 2>&1
then :
boost_cv_lib_version=`cat conftest.i`
fi
@@ -19900,7 +20311,8 @@
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
printf "%s\n" "$boost_cv_lib_version" >&6; }
@@ -19920,8 +20332,8 @@
if test ${boost_cv_lib_tag+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- boost_cv_lib_tag=unknown
+else case e in #(
+ e) boost_cv_lib_tag=unknown
if test x$boost_cv_inc_path != xno; then
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -19942,6 +20354,7 @@
# I'm not sure about my test for `il' (be careful: Intel's ICC pre-defines
# the same defines as GCC's).
for i in \
+ "defined __clang__ && __clang_major__ == 18 && __clang_minor__ == 1 @ clang181" \
"defined __clang__ && __clang_major__ == 17 && __clang_minor__ == 0 @ clang170" \
"defined __clang__ && __clang_major__ == 16 && __clang_minor__ == 0 @ clang160" \
"defined __clang__ && __clang_major__ == 15 && __clang_minor__ == 0 @ clang150" \
@@ -19960,10 +20373,50 @@
"defined __clang__ && __clang_major__ == 3 && __clang_minor__ == 9 @ clang39" \
"defined __clang__ && __clang_major__ == 3 && __clang_minor__ == 8 @ clang38" \
"defined __clang__ && __clang_major__ == 3 && __clang_minor__ == 7 @ clang37" \
+ "defined __GNUC__ && __GNUC__ == 13 && __GNUC_MINOR__ == 2 && !defined __ICC && \
+ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
+ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw132" \
+ "defined __GNUC__ && __GNUC__ == 13 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc132" \
+ "defined __GNUC__ && __GNUC__ == 13 && __GNUC_MINOR__ == 1 && !defined __ICC && \
+ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
+ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw131" \
+ "defined __GNUC__ && __GNUC__ == 13 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc131" \
+ "defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ == 3 && !defined __ICC && \
+ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
+ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw123" \
+ "defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc123" \
+ "defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ == 2 && !defined __ICC && \
+ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
+ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw122" \
+ "defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc122" \
+ "defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ == 1 && !defined __ICC && \
+ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
+ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw121" \
+ "defined __GNUC__ && __GNUC__ == 12 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc121" \
+ "defined __GNUC__ && __GNUC__ == 11 && __GNUC_MINOR__ == 4 && !defined __ICC && \
+ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
+ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw114" \
+ "defined __GNUC__ && __GNUC__ == 11 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc114" \
+ "defined __GNUC__ && __GNUC__ == 11 && __GNUC_MINOR__ == 3 && !defined __ICC && \
+ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
+ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw113" \
+ "defined __GNUC__ && __GNUC__ == 11 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc113" \
+ "defined __GNUC__ && __GNUC__ == 11 && __GNUC_MINOR__ == 2 && !defined __ICC && \
+ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
+ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw112" \
+ "defined __GNUC__ && __GNUC__ == 11 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc112" \
"defined __GNUC__ && __GNUC__ == 11 && __GNUC_MINOR__ == 1 && !defined __ICC && \
(defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
|| defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw111" \
"defined __GNUC__ && __GNUC__ == 11 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc111" \
+ "defined __GNUC__ && __GNUC__ == 10 && __GNUC_MINOR__ == 5 && !defined __ICC && \
+ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
+ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw105" \
+ "defined __GNUC__ && __GNUC__ == 10 && __GNUC_MINOR__ == 5 && !defined __ICC @ gcc105" \
+ "defined __GNUC__ && __GNUC__ == 10 && __GNUC_MINOR__ == 4 && !defined __ICC && \
+ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
+ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw104" \
+ "defined __GNUC__ && __GNUC__ == 10 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc104" \
"defined __GNUC__ && __GNUC__ == 10 && __GNUC_MINOR__ == 3 && !defined __ICC && \
(defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
|| defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw103" \
@@ -19976,6 +20429,14 @@
(defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
|| defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw101" \
"defined __GNUC__ && __GNUC__ == 10 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc101" \
+ "defined __GNUC__ && __GNUC__ == 9 && __GNUC_MINOR__ == 5 && !defined __ICC && \
+ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
+ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw95" \
+ "defined __GNUC__ && __GNUC__ == 9 && __GNUC_MINOR__ == 5 && !defined __ICC @ gcc95" \
+ "defined __GNUC__ && __GNUC__ == 9 && __GNUC_MINOR__ == 4 && !defined __ICC && \
+ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
+ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw94" \
+ "defined __GNUC__ && __GNUC__ == 9 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc94" \
"defined __GNUC__ && __GNUC__ == 9 && __GNUC_MINOR__ == 3 && !defined __ICC && \
(defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
|| defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw93" \
@@ -20202,7 +20663,8 @@
boost_cv_lib_tag=
;;
esac
-fi
+fi ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_tag" >&5
printf "%s\n" "$boost_cv_lib_tag" >&6; }
@@ -20210,8 +20672,9 @@
if test ${enable_static_boost+y}
then :
enableval=$enable_static_boost; enable_static_boost=yes
-else $as_nop
- enable_static_boost=no
+else case e in #(
+ e) enable_static_boost=no ;;
+esac
fi
# Check whether we do better use `mt' even though we weren't ask to.
@@ -20240,8 +20703,9 @@
if ac_fn_cxx_try_compile "$LINENO"
then :
boost_guess_use_mt=:
-else $as_nop
- boost_guess_use_mt=false
+else case e in #(
+ e) boost_guess_use_mt=false ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
ac_ext=cpp
@@ -20257,9 +20721,10 @@
if test ${enable_unit_tests+y}
then :
enableval=$enable_unit_tests; enable_unit_tests=$enableval
-else $as_nop
- enable_unit_tests=no
-
+else case e in #(
+ e) enable_unit_tests=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
@@ -20305,8 +20770,9 @@
printf "%s\n" "#define HAVE_BOOST_TEST_UNIT_TEST_HPP 1" >>confdefs.h
-else $as_nop
- $not_found_header
+else case e in #(
+ e) $not_found_header ;;
+esac
fi
CPPFLAGS=$boost_save_CPPFLAGS
@@ -20324,8 +20790,8 @@
if test ${boost_cv_lib_unit_test_framework+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- boost_cv_lib_unit_test_framework=no
+else case e in #(
+ e) boost_cv_lib_unit_test_framework=no
case "mt" in #(
(mt | mt-) boost_mt=-mt; boost_rtopt=;; #(
(mt* | mt-*) boost_mt=-mt; boost_rtopt=`expr "Xmt" : 'Xmt-*\(.*\)'`;; #(
@@ -20368,14 +20834,15 @@
if ac_fn_cxx_try_compile "$LINENO"
then :
ac_objext=do_not_rm_me_plz
-else $as_nop
- if test x"" != x"no"
+else case e in #(
+ e) if test x"" != x"no"
then :
as_fn_error $? "cannot compile a test that uses Boost unit_test_framework" "$LINENO" 5
fi
-
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
ac_objext=$boost_save_ac_objext
@@ -20455,13 +20922,14 @@
}
then :
boost_cv_lib_unit_test_framework=yes
-else $as_nop
- if $boost_use_source; then
+else case e in #(
+ e) if $boost_use_source; then
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
- boost_cv_lib_unit_test_framework=no
+ boost_cv_lib_unit_test_framework=no ;;
+esac
fi
ac_objext=$boost_save_ac_objext
ac_ext=$boost_save_ac_ext
@@ -20478,8 +20946,8 @@
if test ${boost_cv_rpath_link_ldflag+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- case $boost_ldpath in
+else case e in #(
+ e) case $boost_ldpath in
'') # Nothing to do.
boost_cv_rpath_link_ldflag=
boost_rpath_link_ldflag_found=yes;;
@@ -20519,13 +20987,14 @@
then :
boost_rpath_link_ldflag_found=yes
break
-else $as_nop
- if $boost_use_source; then
+else case e in #(
+ e) if $boost_use_source; then
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
- boost_rpath_link_ldflag_found=no
+ boost_rpath_link_ldflag_found=no ;;
+esac
fi
ac_objext=$boost_save_ac_objext
ac_ext=$boost_save_ac_ext
@@ -20540,7 +21009,8 @@
fi
LDFLAGS=$boost_save_LDFLAGS
LIBS=$boost_save_LIBS
-
+ ;;
+esac
fi
test x"$boost_ldpath" != x &&
@@ -20559,7 +21029,8 @@
done
done # boost_lib_
rm -f conftest.$ac_objext
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_unit_test_framework" >&5
printf "%s\n" "$boost_cv_lib_unit_test_framework" >&6; }
@@ -20611,9 +21082,10 @@
if test ${enable_fuzz_targets+y}
then :
enableval=$enable_fuzz_targets; enable_fuzz_targets=$enableval
-else $as_nop
- enable_fuzz_targets=no
-
+else case e in #(
+ e) enable_fuzz_targets=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_fuzz_targets" >&5
@@ -20636,9 +21108,10 @@
if test ${with_re2+y}
then :
withval=$with_re2; with_re2=$withval
-else $as_nop
- with_re2=no
-
+else case e in #(
+ e) with_re2=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_re2" >&5
@@ -20715,8 +21188,8 @@
if test ${ac_cv_lib_re2_main+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-lre2 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -20735,12 +21208,14 @@
if ac_fn_cxx_try_link "$LINENO"
then :
ac_cv_lib_re2_main=yes
-else $as_nop
- ac_cv_lib_re2_main=no
+else case e in #(
+ e) ac_cv_lib_re2_main=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_re2_main" >&5
printf "%s\n" "$ac_cv_lib_re2_main" >&6; }
@@ -20749,8 +21224,9 @@
HAVE_RE2=1
RE2_LIBS="-lre2"
-else $as_nop
- :
+else case e in #(
+ e) : ;;
+esac
fi
@@ -20770,8 +21246,8 @@
if test ${ac_cv_lib_re2_main+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-lre2 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -20790,12 +21266,14 @@
if ac_fn_cxx_try_link "$LINENO"
then :
ac_cv_lib_re2_main=yes
-else $as_nop
- ac_cv_lib_re2_main=no
+else case e in #(
+ e) ac_cv_lib_re2_main=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_re2_main" >&5
printf "%s\n" "$ac_cv_lib_re2_main" >&6; }
@@ -20804,8 +21282,9 @@
HAVE_RE2=1
RE2_LIBS="-lre2"
-else $as_nop
- :
+else case e in #(
+ e) : ;;
+esac
fi
@@ -20848,9 +21327,10 @@
if test ${enable_dnscrypt+y}
then :
enableval=$enable_dnscrypt; enable_dnscrypt=$enableval
-else $as_nop
- enable_dnscrypt=no
-
+else case e in #(
+ e) enable_dnscrypt=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_dnscrypt" >&5
@@ -20888,8 +21368,9 @@
if test ${with_ebpf+y}
then :
withval=$with_ebpf; with_ebpf=$withval
-else $as_nop
- with_ebpf=auto
+else case e in #(
+ e) with_ebpf=auto ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ebpf" >&5
@@ -20908,8 +21389,9 @@
then :
printf "%s\n" "#define HAVE_LINUX_BPF_H 1" >>confdefs.h
bpf_headers=yes
-else $as_nop
- bpf_headers=no
+else case e in #(
+ e) bpf_headers=no ;;
+esac
fi
done
@@ -20953,21 +21435,23 @@
printf "%s\n" "#define HAVE_EBPF 1" >>confdefs.h
-else $as_nop
- if test "x$with_ebpf" = "xyes"
+else case e in #(
+ e) if test "x$with_ebpf" = "xyes"
then :
as_fn_error $? "EBPF support requested but SO_ATTACH_BPF not found" "$LINENO" 5
+fi ;;
+esac
fi
-fi
-else $as_nop
- if test "x$with_ebpf" = "xyes"
+else case e in #(
+ e) if test "x$with_ebpf" = "xyes"
then :
as_fn_error $? "EBPF support requested but BPF_FUNC_tail_call not found in the eBPF headers" "$LINENO" 5
-fi
+fi ;;
+esac
fi
fi
@@ -20980,8 +21464,9 @@
if test ${with_xsk+y}
then :
withval=$with_xsk; with_xsk=$withval
-else $as_nop
- with_xsk=auto
+else case e in #(
+ e) with_xsk=auto ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_xsk" >&5
@@ -21197,8 +21682,9 @@
if test ${with_net_snmp+y}
then :
withval=$with_net_snmp; with_net_snmp=$withval
-else $as_nop
- with_net_snmp=no
+else case e in #(
+ e) with_net_snmp=no ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_net_snmp" >&5
@@ -21217,8 +21703,8 @@
if test ${ac_cv_prog_NET_SNMP_LIBS+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$NET_SNMP_LIBS"; then
+else case e in #(
+ e) if test -n "$NET_SNMP_LIBS"; then
ac_cv_prog_NET_SNMP_LIBS="$NET_SNMP_LIBS" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -21240,7 +21726,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
NET_SNMP_LIBS=$ac_cv_prog_NET_SNMP_LIBS
if test -n "$NET_SNMP_LIBS"; then
@@ -21264,8 +21751,9 @@
if test "x$ac_cv_have_decl_snmp_select_info2" = xyes
then :
ac_have_decl=1
-else $as_nop
- ac_have_decl=0
+else case e in #(
+ e) ac_have_decl=0 ;;
+esac
fi
printf "%s\n" "#define HAVE_DECL_SNMP_SELECT_INFO2 $ac_have_decl" >>confdefs.h
if test $ac_have_decl = 1
@@ -21275,8 +21763,9 @@
printf "%s\n" "#define HAVE_SNMP_SELECT_INFO2 1" >>confdefs.h
-else $as_nop
- :
+else case e in #(
+ e) : ;;
+esac
fi
@@ -21318,8 +21807,9 @@
if test ${with_libcap+y}
then :
withval=$with_libcap; with_libcap=$withval
-else $as_nop
- with_libcap=auto
+else case e in #(
+ e) with_libcap=auto ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_libcap" >&5
@@ -21467,8 +21957,9 @@
if test ${with_systemd+y}
then :
withval=$with_systemd; SYSTEMD_DIR="$withval"
-else $as_nop
- SYSTEMD_DIR=""
+else case e in #(
+ e) SYSTEMD_DIR="" ;;
+esac
fi
@@ -21478,8 +21969,9 @@
if test ${with_systemd+y}
then :
withval=$with_systemd; SYSTEMD_MODULES_LOAD="$withval"
-else $as_nop
- SYSTEMD_MODULES_LOAD=""
+else case e in #(
+ e) SYSTEMD_MODULES_LOAD="" ;;
+esac
fi
@@ -21491,14 +21983,14 @@
then :
for libname in systemd-daemon systemd; do
- as_ac_Lib=`printf "%s\n" "ac_cv_lib_$libname""_sd_listen_fds" | $as_tr_sh`
+ as_ac_Lib=`printf "%s\n" "ac_cv_lib_$libname""_sd_listen_fds" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sd_listen_fds in -l$libname" >&5
printf %s "checking for sd_listen_fds in -l$libname... " >&6; }
if eval test \${$as_ac_Lib+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-l$libname $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -21517,12 +22009,14 @@
if ac_fn_cxx_try_link "$LINENO"
then :
eval "$as_ac_Lib=yes"
-else $as_nop
- eval "$as_ac_Lib=no"
+else case e in #(
+ e) eval "$as_ac_Lib=no" ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
eval ac_res=\$$as_ac_Lib
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
@@ -21633,8 +22127,8 @@
elif test $pkg_failed = untried; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
@@ -21644,7 +22138,7 @@
See the pkg-config man page for more details.
To get pkg-config, see .
-See \`config.log' for more details" "$LINENO" 5; }
+See 'config.log' for more details" "$LINENO" 5; }
else
SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS
SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS
@@ -21684,12 +22178,14 @@
fi
-else $as_nop
- systemd=n
+else case e in #(
+ e) systemd=n ;;
+esac
fi
-else $as_nop
- systemd=n
+else case e in #(
+ e) systemd=n ;;
+esac
fi
@@ -21704,8 +22200,8 @@
if test ${ac_cv_path_SYSTEMCTL+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- case $SYSTEMCTL in
+else case e in #(
+ e) case $SYSTEMCTL in
[\\/]* | ?:[\\/]*)
ac_cv_path_SYSTEMCTL="$SYSTEMCTL" # Let the user override the test with a path.
;;
@@ -21731,6 +22227,7 @@
test -z "$ac_cv_path_SYSTEMCTL" && ac_cv_path_SYSTEMCTL="no"
;;
+esac ;;
esac
fi
SYSTEMCTL=$ac_cv_path_SYSTEMCTL
@@ -21746,8 +22243,8 @@
if test "$SYSTEMCTL" = "no"
then :
as_fn_error $? "systemctl not found" "$LINENO" 5
-else $as_nop
-
+else case e in #(
+ e)
_systemd_version=`${SYSTEMCTL} --version|head -1 | tr ".~" " " | cut -d" " -f 2`
if test $_systemd_version -ge 183; then
systemd_private_tmp=y
@@ -21813,7 +22310,8 @@
if test $_systemd_version -ge 248; then
systemd_private_ipc=y
fi
-
+ ;;
+esac
fi
fi
@@ -22051,10 +22549,11 @@
then :
withval=$with_service_user; service_user=$withval
-else $as_nop
- service_user=dnsdist
-
+else case e in #(
+ e) service_user=dnsdist
+ ;;
+esac
fi
@@ -22064,18 +22563,20 @@
then :
withval=$with_service_group; service_group=$withval
-else $as_nop
- service_group=dnsdist
-
+else case e in #(
+ e) service_group=dnsdist
+ ;;
+esac
fi
if test -z "$service_user"
then :
as_fn_error $? "No service user has been defined!" "$LINENO" 5
-else $as_nop
- :
+else case e in #(
+ e) : ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $service_user" >&5
printf "%s\n" "$service_user" >&6; }
@@ -22110,6 +22611,10 @@
IPCRYPT_LIBS='$(top_builddir)/ext/ipcrypt/libipcrypt.la'
+IPCRYPT2_CFLAGS='-I$(top_srcdir)/ext/ipcrypt2/include'
+
+IPCRYPT2_LIBS='$(top_builddir)/ext/ipcrypt2/libipcrypt2.la'
+
ARC4RANDOM_LIBS='$(top_builddir)/ext/arc4random/libarc4random.la'
@@ -22127,8 +22632,8 @@
if test ${ac_cv_path_GREP+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -z "$GREP"; then
+else case e in #(
+ e) if test -z "$GREP"; then
ac_path_GREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -22147,9 +22652,10 @@
as_fn_executable_p "$ac_path_GREP" || continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
+case `"$ac_path_GREP" --version 2>&1` in #(
*GNU*)
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+#(
*)
ac_count=0
printf %s 0123456789 >"conftest.in"
@@ -22184,7 +22690,8 @@
else
ac_cv_path_GREP=$GREP
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
printf "%s\n" "$ac_cv_path_GREP" >&6; }
@@ -22199,10 +22706,11 @@
withval=$with_lua;
with_lua=$withval
-else $as_nop
-
+else case e in #(
+ e)
with_lua=auto
-
+ ;;
+esac
fi
@@ -22216,7 +22724,7 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_lua" >&5
printf "%s\n" "$with_lua" >&6; }
- if test "x$with_lua" = "xno" -a "mandatory" = "mandatory"
+ if test "x$with_lua" = "xno"
then :
as_fn_error $? "--without-lua specified, but Lua is not optional" "$LINENO" 5
@@ -22227,14 +22735,11 @@
luajit_min_version='2.0.2'
lua_min_version='5.1'
- if test "x$with_lua" != "xno"
-then :
-
- if test "x$with_lua" != "xauto"
+ if test "x$with_lua" != "xauto"
then :
- with_lua_version=${lua_min_version}
- if echo "x$with_lua" | ${GREP} 'jit' >/dev/null 2>&1
+ with_lua_version=${lua_min_version}
+ if echo "x$with_lua" | ${GREP} 'jit' >/dev/null 2>&1
then :
with_lua_version=${luajit_min_version}
fi
@@ -22298,13 +22803,13 @@
echo "$LUA_PKG_ERRORS" >&5
- as_fn_error $? "Selected Lua ($with_lua) not found" "$LINENO" 5
+ as_fn_error $? "Selected Lua ($with_lua) not found" "$LINENO" 5
elif test $pkg_failed = untried; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
- as_fn_error $? "Selected Lua ($with_lua) not found" "$LINENO" 5
+ as_fn_error $? "Selected Lua ($with_lua) not found" "$LINENO" 5
else
LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
@@ -22315,12 +22820,12 @@
printf "%s\n" "#define HAVE_LUA 1" >>confdefs.h
- LUAPC=$with_lua
+ LUAPC=$with_lua
fi
-else $as_nop
-
+else case e in #(
+ e)
pkg_failed=no
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luajit >= ${luajit_min_version}" >&5
@@ -22391,18 +22896,18 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
- LUAPC=luajit
+ LUAPC=luajit
printf "%s\n" "#define HAVE_LUA 1" >>confdefs.h
fi
- if test -z "$LUAPC"
+ if test -z "$LUAPC"
then :
- found_lua=n
+ found_lua=n
- if test "$found_lua" != "y"
+ if test "$found_lua" != "y"
then :
@@ -22478,14 +22983,14 @@
printf "%s\n" "#define HAVE_LUA 1" >>confdefs.h
- found_lua=y
- LUAPC=lua5.3
+ found_lua=y
+ LUAPC=lua5.3
fi
fi
- if test "$found_lua" != "y"
+ if test "$found_lua" != "y"
then :
@@ -22561,14 +23066,14 @@
printf "%s\n" "#define HAVE_LUA 1" >>confdefs.h
- found_lua=y
- LUAPC=lua-5.3
+ found_lua=y
+ LUAPC=lua-5.3
fi
fi
- if test "$found_lua" != "y"
+ if test "$found_lua" != "y"
then :
@@ -22644,14 +23149,14 @@
printf "%s\n" "#define HAVE_LUA 1" >>confdefs.h
- found_lua=y
- LUAPC=lua53
+ found_lua=y
+ LUAPC=lua53
fi
fi
- if test "$found_lua" != "y"
+ if test "$found_lua" != "y"
then :
@@ -22727,14 +23232,14 @@
printf "%s\n" "#define HAVE_LUA 1" >>confdefs.h
- found_lua=y
- LUAPC=lua5.2
+ found_lua=y
+ LUAPC=lua5.2
fi
fi
- if test "$found_lua" != "y"
+ if test "$found_lua" != "y"
then :
@@ -22810,14 +23315,14 @@
printf "%s\n" "#define HAVE_LUA 1" >>confdefs.h
- found_lua=y
- LUAPC=lua-5.2
+ found_lua=y
+ LUAPC=lua-5.2
fi
fi
- if test "$found_lua" != "y"
+ if test "$found_lua" != "y"
then :
@@ -22893,14 +23398,14 @@
printf "%s\n" "#define HAVE_LUA 1" >>confdefs.h
- found_lua=y
- LUAPC=lua52
+ found_lua=y
+ LUAPC=lua52
fi
fi
- if test "$found_lua" != "y"
+ if test "$found_lua" != "y"
then :
@@ -22976,14 +23481,14 @@
printf "%s\n" "#define HAVE_LUA 1" >>confdefs.h
- found_lua=y
- LUAPC=lua5.1
+ found_lua=y
+ LUAPC=lua5.1
fi
fi
- if test "$found_lua" != "y"
+ if test "$found_lua" != "y"
then :
@@ -23059,14 +23564,14 @@
printf "%s\n" "#define HAVE_LUA 1" >>confdefs.h
- found_lua=y
- LUAPC=lua-5.1
+ found_lua=y
+ LUAPC=lua-5.1
fi
fi
- if test "$found_lua" != "y"
+ if test "$found_lua" != "y"
then :
@@ -23142,14 +23647,14 @@
printf "%s\n" "#define HAVE_LUA 1" >>confdefs.h
- found_lua=y
- LUAPC=lua51
+ found_lua=y
+ LUAPC=lua51
fi
fi
- if test "$found_lua" != "y"
+ if test "$found_lua" != "y"
then :
@@ -23225,8 +23730,8 @@
printf "%s\n" "#define HAVE_LUA 1" >>confdefs.h
- found_lua=y
- LUAPC=lua
+ found_lua=y
+ LUAPC=lua
fi
@@ -23234,12 +23739,11 @@
fi
-
-fi
-
+ ;;
+esac
fi
- if test -z "$LUAPC" -a "mandatory" = "mandatory"
+ if test -z "$LUAPC"
then :
as_fn_error $? "No Lua not found, but is mandatory" "$LINENO" 5
@@ -23307,14 +23811,6 @@
fi
if false; then
- HAVE_LIBH2OEVLOOP_TRUE=
- HAVE_LIBH2OEVLOOP_FALSE='#'
-else
- HAVE_LIBH2OEVLOOP_TRUE='#'
- HAVE_LIBH2OEVLOOP_FALSE=
-fi
-
- if false; then
HAVE_LIBSSL_TRUE=
HAVE_LIBSSL_FALSE='#'
else
@@ -23354,8 +23850,8 @@
;;
esac
-else $as_nop
-
+else case e in #(
+ e)
# if pkg-config is installed and openssl has installed a .pc file,
# then use that information and don't search ssldirs
if test -n "$ac_tool_prefix"; then
@@ -23366,8 +23862,8 @@
if test ${ac_cv_prog_PKG_CONFIG+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$PKG_CONFIG"; then
+else case e in #(
+ e) if test -n "$PKG_CONFIG"; then
ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -23389,7 +23885,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
if test -n "$PKG_CONFIG"; then
@@ -23411,8 +23908,8 @@
if test ${ac_cv_prog_ac_ct_PKG_CONFIG+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test -n "$ac_ct_PKG_CONFIG"; then
+else case e in #(
+ e) if test -n "$ac_ct_PKG_CONFIG"; then
ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -23434,7 +23931,8 @@
done
IFS=$as_save_IFS
-fi
+fi ;;
+esac
fi
ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
if test -n "$ac_ct_PKG_CONFIG"; then
@@ -23466,6 +23964,7 @@
LIBCRYPTO_LIBS=`$PKG_CONFIG libcrypto --libs-only-l 2>/dev/null`
LIBCRYPTO_INCLUDES=`$PKG_CONFIG libcrypto --cflags-only-I 2>/dev/null`
ssldir=`$PKG_CONFIG libcrypto --variable=prefix 2>/dev/null`
+ sslincdir=`$PKG_CONFIG libcrypto --variable=includedir 2>/dev/null`
found=true
fi
fi
@@ -23475,7 +23974,8 @@
ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
fi
-
+ ;;
+esac
fi
@@ -23492,6 +23992,7 @@
LIBCRYPTO_INCLUDES="-I$ssldir/include"
LIBCRYPTO_LDFLAGS="-L$ssldir/lib"
LIBCRYPTO_LIBS="-lcrypto"
+ sslincdir="$ssldir/include"
found=true
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
@@ -23600,12 +24101,13 @@
fi
-else $as_nop
-
+else case e in #(
+ e)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
-
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
@@ -23633,9 +24135,10 @@
if test ${enable_tls_providers+y}
then :
enableval=$enable_tls_providers; enable_tls_providers=$enableval
-else $as_nop
- enable_tls_providers=no
-
+else case e in #(
+ e) enable_tls_providers=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_tls_providers" >&5
@@ -23748,9 +24251,10 @@
if test ${enable_dns_over_tls+y}
then :
enableval=$enable_dns_over_tls; enable_dns_over_tls=$enableval
-else $as_nop
- enable_dns_over_tls=no
-
+else case e in #(
+ e) enable_dns_over_tls=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_dns_over_tls" >&5
@@ -23779,9 +24283,10 @@
if test ${enable_dns_over_https+y}
then :
enableval=$enable_dns_over_https; enable_dns_over_https=$enableval
-else $as_nop
- enable_dns_over_https=no
-
+else case e in #(
+ e) enable_dns_over_https=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_dns_over_https" >&5
@@ -23810,9 +24315,10 @@
if test ${enable_dns_over_quic+y}
then :
enableval=$enable_dns_over_quic; enable_dns_over_quic=$enableval
-else $as_nop
- enable_dns_over_quic=no
-
+else case e in #(
+ e) enable_dns_over_quic=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_dns_over_quic" >&5
@@ -23841,9 +24347,10 @@
if test ${enable_dns_over_http3+y}
then :
enableval=$enable_dns_over_http3; enable_dns_over_http3=$enableval
-else $as_nop
- enable_dns_over_http3=no
-
+else case e in #(
+ e) enable_dns_over_http3=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_dns_over_http3" >&5
@@ -23878,8 +24385,9 @@
if test ${with_libssl+y}
then :
withval=$with_libssl; with_libssl=$withval
-else $as_nop
- with_libssl=auto
+else case e in #(
+ e) with_libssl=auto ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_libssl" >&5
@@ -24089,8 +24597,9 @@
if test ${with_gnutls+y}
then :
withval=$with_gnutls; with_gnutls=$withval
-else $as_nop
- with_gnutls=auto
+else case e in #(
+ e) with_gnutls=auto ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_gnutls" >&5
@@ -24264,8 +24773,9 @@
if test ${with_nghttp2+y}
then :
withval=$with_nghttp2; with_nghttp2=$withval
-else $as_nop
- with_nghttp2=auto
+else case e in #(
+ e) with_nghttp2=auto ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_nghttp2" >&5
@@ -24402,218 +24912,196 @@
fi
+ if test "x$HAVE_NGHTTP2" != "x1"
+then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we will be linking in libh2o-evloop" >&5
-printf %s "checking whether we will be linking in libh2o-evloop... " >&6; }
- HAVE_LIBH2OEVLOOP=0
+ as_fn_error $? "DNS over HTTPS support requested but nghttp2 was not found" "$LINENO" 5
-# Check whether --with-h2o was given.
-if test ${with_h2o+y}
-then :
- withval=$with_h2o; with_h2o=$withval
-else $as_nop
- with_h2o=no
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_h2o" >&5
-printf "%s\n" "$with_h2o" >&6; }
-
- if test "x$with_h2o" = "xyes" -o "x$with_h2o" = "xauto"
+ if test "x$HAVE_GNUTLS" != "x1" -a "x$HAVE_LIBSSL" != "x1"
then :
+ as_fn_error $? "DNS over HTTPS support requested but neither GnuTLS nor OpenSSL are available" "$LINENO" 5
-pkg_failed=no
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libh2o-evloop" >&5
-printf %s "checking for libh2o-evloop... " >&6; }
-
-if test -n "$LIBH2OEVLOOP_CFLAGS"; then
- pkg_cv_LIBH2OEVLOOP_CFLAGS="$LIBH2OEVLOOP_CFLAGS"
- elif test -n "$PKG_CONFIG"; then
- if test -n "$PKG_CONFIG" && \
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libh2o-evloop\""; } >&5
- ($PKG_CONFIG --exists --print-errors "libh2o-evloop") 2>&5
- ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
- pkg_cv_LIBH2OEVLOOP_CFLAGS=`$PKG_CONFIG --cflags "libh2o-evloop" 2>/dev/null`
- test "x$?" != "x0" && pkg_failed=yes
-else
- pkg_failed=yes
-fi
- else
- pkg_failed=untried
-fi
-if test -n "$LIBH2OEVLOOP_LIBS"; then
- pkg_cv_LIBH2OEVLOOP_LIBS="$LIBH2OEVLOOP_LIBS"
- elif test -n "$PKG_CONFIG"; then
- if test -n "$PKG_CONFIG" && \
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libh2o-evloop\""; } >&5
- ($PKG_CONFIG --exists --print-errors "libh2o-evloop") 2>&5
- ac_status=$?
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
- pkg_cv_LIBH2OEVLOOP_LIBS=`$PKG_CONFIG --libs "libh2o-evloop" 2>/dev/null`
- test "x$?" != "x0" && pkg_failed=yes
-else
- pkg_failed=yes
fi
- else
- pkg_failed=untried
+
fi
+if test "x$enable_dns_over_quic" != "xno"
+then :
+ if test "x$HAVE_QUICHE" != "x1"
+then :
-if test $pkg_failed = yes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
+ as_fn_error $? "DNS over QUIC support requested but quiche was not found" "$LINENO" 5
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
-else
- _pkg_short_errors_supported=no
fi
- if test $_pkg_short_errors_supported = yes; then
- LIBH2OEVLOOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libh2o-evloop" 2>&1`
- else
- LIBH2OEVLOOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libh2o-evloop" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$LIBH2OEVLOOP_PKG_ERRORS" >&5
-
- :
-elif test $pkg_failed = untried; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
-printf "%s\n" "no" >&6; }
- :
-else
- LIBH2OEVLOOP_CFLAGS=$pkg_cv_LIBH2OEVLOOP_CFLAGS
- LIBH2OEVLOOP_LIBS=$pkg_cv_LIBH2OEVLOOP_LIBS
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-printf "%s\n" "yes" >&6; }
-
- HAVE_LIBH2OEVLOOP=1
+ if test "x$HAVE_LIBSSL" != "x1"
+then :
-printf "%s\n" "#define HAVE_LIBH2OEVLOOP 1" >>confdefs.h
+ as_fn_error $? "DNS over QUIC support requested but OpenSSL is not available" "$LINENO" 5
- save_CFLAGS=$CFLAGS
- save_LIBS=$LIBS
- CFLAGS="$LIBH2OEVLOOP_CFLAGS $CFLAGS"
- LIBS="$LIBH2OEVLOOP_LIBS $LIBS"
- ac_fn_check_decl "$LINENO" "h2o_socket_get_ssl_server_name" "ac_cv_have_decl_h2o_socket_get_ssl_server_name" "$ac_includes_default
- #include
+fi
-" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
-if test "x$ac_cv_have_decl_h2o_socket_get_ssl_server_name" = xyes
-then :
- ac_have_decl=1
-else $as_nop
- ac_have_decl=0
fi
-printf "%s\n" "#define HAVE_DECL_H2O_SOCKET_GET_SSL_SERVER_NAME $ac_have_decl" >>confdefs.h
-if test $ac_have_decl = 1
+
+if test "x$enable_dns_over_http3" != "xno"
then :
+ if test "x$HAVE_QUICHE" != "x1"
+then :
-printf "%s\n" "#define HAVE_H2O_SOCKET_GET_SSL_SERVER_NAME 1" >>confdefs.h
+ as_fn_error $? "DNS over HTTP/3 support requested but quiche was not found" "$LINENO" 5
+fi
-else $as_nop
- :
fi
- CFLAGS=$save_CFLAGS
- LIBS=$save_LIBS
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable YAML configuration" >&5
+printf %s "checking whether to enable YAML configuration... " >&6; }
+ # Check whether --enable-yaml was given.
+if test ${enable_yaml+y}
+then :
+ enableval=$enable_yaml; enable_yaml=$enableval
+else case e in #(
+ e) enable_yaml=no
+ ;;
+esac
fi
-fi
- if test "x$LIBH2OEVLOOP_LIBS" != "x"; then
- HAVE_LIBH2OEVLOOP_TRUE=
- HAVE_LIBH2OEVLOOP_FALSE='#'
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_yaml" >&5
+printf "%s\n" "$enable_yaml" >&6; }
+ if test "x$enable_yaml" != "xno"; then
+ HAVE_YAML_CONFIGURATION_TRUE=
+ HAVE_YAML_CONFIGURATION_FALSE='#'
else
- HAVE_LIBH2OEVLOOP_TRUE='#'
- HAVE_LIBH2OEVLOOP_FALSE=
+ HAVE_YAML_CONFIGURATION_TRUE='#'
+ HAVE_YAML_CONFIGURATION_FALSE=
fi
- if test -z "$HAVE_LIBH2OEVLOOP_TRUE"; then :
+
+ if test -z "$HAVE_YAML_CONFIGURATION_TRUE"; then :
-printf "%s\n" "#define HAVE_LIBH2OEVLOOP 1" >>confdefs.h
+printf "%s\n" "#define HAVE_YAML_CONFIGURATION 1" >>confdefs.h
fi
- if test "x$with_h2o" = "xyes"
-then :
- if test x"LIBH2OEVLOOP_LIBS" = "x"
+if test "x$enable_yaml" != "xno"
then :
- as_fn_error $? "h2o-evloop requested but libraries were not found" "$LINENO" 5
-fi
+
+ # Extract the first word of "cargo", so it can be a program name with args.
+set dummy cargo; ac_word=$2
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+printf %s "checking for $ac_word... " >&6; }
+if test ${ac_cv_prog_CARGO+y}
+then :
+ printf %s "(cached) " >&6
+else case e in #(
+ e) if test -n "$CARGO"; then
+ ac_cv_prog_CARGO="$CARGO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CARGO="cargo"
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_prog_CARGO" && ac_cv_prog_CARGO="$CARGO"
+fi ;;
+esac
+fi
+CARGO=$ac_cv_prog_CARGO
+if test -n "$CARGO"; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CARGO" >&5
+printf "%s\n" "$CARGO" >&6; }
+else
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+printf "%s\n" "no" >&6; }
fi
- if test "x$HAVE_LIBH2OEVLOOP" != "x1" -a "x$HAVE_NGHTTP2" != "x1"
+ if test x$CARGO = x
then :
-
- as_fn_error $? "DNS over HTTPS support requested but neither libh2o-evloop nor nghttp2 was not found" "$LINENO" 5
+ as_fn_error $? "cargo is required" "$LINENO" 5
fi
+ minimum=1.64
+ cargo_version=`$CARGO --version | $SED -e 's/^cargo //g'`
- if test "x$HAVE_GNUTLS" != "x1" -a "x$HAVE_LIBSSL" != "x1"
-then :
- as_fn_error $? "DNS over HTTPS support requested but neither GnuTLS nor OpenSSL are available" "$LINENO" 5
-fi
+ # Used to indicate true or false condition
+ ax_compare_version=false
-fi
+ # Convert the two version strings to be compared into a format that
+ # allows a simple string comparison. The end result is that a version
+ # string of the form 1.12.5-r617 will be converted to the form
+ # 0001001200050617. In other words, each number is zero padded to four
+ # digits, and non digits are removed.
-if test "x$enable_dns_over_quic" != "xno"
-then :
+ ax_compare_version_A=`echo "$cargo_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
+ -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
+ -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
+ -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
+ -e 's/[^0-9]//g'`
- if test "x$HAVE_QUICHE" != "x1"
-then :
- as_fn_error $? "DNS over QUIC support requested but quiche was not found" "$LINENO" 5
+ ax_compare_version_B=`echo "$minimum" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
+ -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
+ -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
+ -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
+ -e 's/[^0-9]//g'`
-fi
- if test "x$HAVE_LIBSSL" != "x1"
-then :
- as_fn_error $? "DNS over QUIC support requested but OpenSSL is not available" "$LINENO" 5
+ ax_compare_version=`echo "x$ax_compare_version_A
+x$ax_compare_version_B" | sed 's/^ *//' | sort -r | sed "s/x${ax_compare_version_A}/false/;s/x${ax_compare_version_B}/true/;1q"`
-fi
-fi
-if test "x$enable_dns_over_http3" != "xno"
-then :
+ if test "$ax_compare_version" = "true" ; then
- if test "x$HAVE_QUICHE" != "x1"
-then :
+ as_fn_error $? "need at least cargo version $minimum" "$LINENO" 5
+
+ fi
- as_fn_error $? "DNS over HTTP/3 support requested but quiche was not found" "$LINENO" 5
-fi
fi
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we will we liniking with libcdb" >&5
-printf %s "checking whether we will we liniking with libcdb... " >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we will we linking with libcdb" >&5
+printf %s "checking whether we will we linking with libcdb... " >&6; }
HAVE_CDB=0
# Check whether --with-cdb was given.
if test ${with_cdb+y}
then :
withval=$with_cdb; with_cdb=$withval
-else $as_nop
- with_cdb=auto
-
+else case e in #(
+ e) with_cdb=auto
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_cdb" >&5
@@ -24695,8 +25183,8 @@
if test ${ac_cv_lib_cdb_cdb_find+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-lcdb $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -24715,12 +25203,14 @@
if ac_fn_cxx_try_link "$LINENO"
then :
ac_cv_lib_cdb_cdb_find=yes
-else $as_nop
- ac_cv_lib_cdb_cdb_find=no
+else case e in #(
+ e) ac_cv_lib_cdb_cdb_find=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_find" >&5
printf "%s\n" "$ac_cv_lib_cdb_cdb_find" >&6; }
@@ -24733,14 +25223,16 @@
HAVE_CDB=1
-else $as_nop
- :
-
+else case e in #(
+ e) :
+ ;;
+esac
fi
-else $as_nop
- :
-
+else case e in #(
+ e) :
+ ;;
+esac
fi
done
@@ -24759,8 +25251,8 @@
if test ${ac_cv_lib_cdb_cdb_find+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_check_lib_save_LIBS=$LIBS
+else case e in #(
+ e) ac_check_lib_save_LIBS=$LIBS
LIBS="-lcdb $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -24779,12 +25271,14 @@
if ac_fn_cxx_try_link "$LINENO"
then :
ac_cv_lib_cdb_cdb_find=yes
-else $as_nop
- ac_cv_lib_cdb_cdb_find=no
+else case e in #(
+ e) ac_cv_lib_cdb_cdb_find=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+LIBS=$ac_check_lib_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_find" >&5
printf "%s\n" "$ac_cv_lib_cdb_cdb_find" >&6; }
@@ -24797,14 +25291,16 @@
HAVE_CDB=1
-else $as_nop
- :
-
+else case e in #(
+ e) :
+ ;;
+esac
fi
-else $as_nop
- :
-
+else case e in #(
+ e) :
+ ;;
+esac
fi
done
@@ -24857,10 +25353,11 @@
withval=$with_lmdb;
with_lmdb=$withval
-else $as_nop
-
+else case e in #(
+ e)
with_lmdb=auto
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_lmdb" >&5
@@ -24951,8 +25448,8 @@
fi
-else $as_nop
-
+else case e in #(
+ e)
save_CPPFLAGS=$CPPFLAGS
save_LIBS=$LIBS
if test -d "$with_lmdb/include"
@@ -24961,11 +25458,12 @@
LMDB_CFLAGS="-I$with_lmdb/include"
LMDB_LIBS="-L$with_lmdb/lib"
-else $as_nop
-
+else case e in #(
+ e)
LMDB_CFLAGS="-I$with_lmdb"
LMDB_LIBS="-L$with_lmdb"
-
+ ;;
+esac
fi
CPPFLAGS="$LMDB_CFLAGS"
LIBS="$LMDB_LIBS"
@@ -24975,8 +25473,8 @@
if test ${ac_cv_search_mdb_env_open+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
+else case e in #(
+ e) ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -25013,11 +25511,13 @@
if test ${ac_cv_search_mdb_env_open+y}
then :
-else $as_nop
- ac_cv_search_mdb_env_open=no
+else case e in #(
+ e) ac_cv_search_mdb_env_open=no ;;
+esac
fi
rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
+LIBS=$ac_func_search_save_LIBS ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mdb_env_open" >&5
printf "%s\n" "$ac_cv_search_mdb_env_open" >&6; }
@@ -25039,10 +25539,11 @@
HAVE_LMDB=1
-else $as_nop
-
+else case e in #(
+ e)
as_fn_error $? "lmdb headers not found in $with_lmdb" "$LINENO" 5
-
+ ;;
+esac
fi
done
@@ -25053,7 +25554,8 @@
fi
-
+ ;;
+esac
fi
fi
@@ -25074,9 +25576,10 @@
if test ${enable_ipcipher+y}
then :
enableval=$enable_ipcipher; enable_ipcipher=$enableval
-else $as_nop
- enable_ipcipher=auto
-
+else case e in #(
+ e) enable_ipcipher=auto
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_ipcipher" >&5
@@ -25122,6 +25625,117 @@
fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable ipcrypt2 support" >&5
+printf %s "checking whether to enable ipcrypt2 support... " >&6; }
+ # Check whether --enable-ipcrypt2 was given.
+if test ${enable_ipcrypt2+y}
+then :
+ enableval=$enable_ipcrypt2; enable_ipcrypt2=$enableval
+else case e in #(
+ e) enable_ipcrypt2=no
+ ;;
+esac
+fi
+
+
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_ipcrypt2" >&5
+printf "%s\n" "$enable_ipcrypt2" >&6; }
+
+ HAVE_IPCRYPT2=0
+
+ if test "x$enable_ipcrypt2" != "xno"
+then :
+
+
+ if test "$build_cpu" = "aarch64"
+then :
+
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports calculations with uint64x2_t" >&5
+printf %s "checking whether the compiler supports calculations with uint64x2_t... " >&6; }
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+# if defined(_MSC_VER) && defined(_M_ARM64)
+# include
+# else
+# include
+# endif
+int main() {
+ uint64x2_t foo = {0, 0};
+ uint64x2_t bar = vshrq_n_u8(foo, 1);
+ return 0;
+}
+
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"
+then :
+
+ HAVE_IPCRYPT2=1
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+printf "%s\n" "ok" >&6; }
+
+else case e in #(
+ e)
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+printf "%s\n" "no" >&6; }
+ ;;
+esac
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+
+else case e in #(
+ e)
+ HAVE_IPCRYPT2=1
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+printf "%s\n" "ok" >&6; }
+ ;;
+esac
+fi
+
+fi
+
+ if test "x$HAVE_IPCRYPT2" != "x0"; then
+ HAVE_IPCRYPT2_TRUE=
+ HAVE_IPCRYPT2_FALSE='#'
+else
+ HAVE_IPCRYPT2_TRUE='#'
+ HAVE_IPCRYPT2_FALSE=
+fi
+
+
+ if test "x$enable_ipcrypt2" != "xno"
+then :
+
+ if test x"$HAVE_IPCRYPT2" = "x0"
+then :
+
+ as_fn_error $? "ipcrypt2 support requested but is not available" "$LINENO" 5
+
+fi
+
+fi
+
+ if test -z "$HAVE_IPCRYPT2_TRUE"; then :
+
+
+printf "%s\n" "#define HAVE_IPCRYPT2 1" >>confdefs.h
+
+
+fi
+
+
ax_cxx_compile_alternatives="17 1z" ax_cxx_compile_cxx17_required=true
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -25132,17 +25746,24 @@
+
+
if test x$ac_success = xno; then
- for alternative in ${ax_cxx_compile_alternatives}; do
- for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
- cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh`
+ for alternative in ${ax_cxx_compile_alternatives}; do
+ for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}" MSVC; do
+ if test x"$switch" = xMSVC; then
+ switch=-std:c++${alternative}
+ cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_${switch}_MSVC" | sed "$as_sed_sh"`
+ else
+ cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | sed "$as_sed_sh"`
+ fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5
printf %s "checking whether $CXX supports C++17 features with $switch... " >&6; }
if eval test \${$cachevar+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- ac_save_CXX="$CXX"
+else case e in #(
+ e) ac_save_CXX="$CXX"
CXX="$CXX $switch"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -25155,7 +25776,11 @@
#error "This is not a C++ compiler"
-#elif __cplusplus < 201103L
+// MSVC always sets __cplusplus to 199711L in older versions; newer versions
+// only set it correctly if /Zc:__cplusplus is specified as well as a
+// /std:c++NN switch:
+// https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
+#elif __cplusplus < 201103L && !defined _MSC_VER
#error "This is not a C++11 compiler"
@@ -25442,7 +26067,7 @@
#error "This is not a C++ compiler"
-#elif __cplusplus < 201402L
+#elif __cplusplus < 201402L && !defined _MSC_VER
#error "This is not a C++14 compiler"
@@ -25562,7 +26187,7 @@
#error "This is not a C++ compiler"
-#elif __cplusplus < 201703L
+#elif __cplusplus < 201703L && !defined _MSC_VER
#error "This is not a C++17 compiler"
@@ -25577,7 +26202,8 @@
namespace test_constexpr_lambdas
{
- [[maybe_unused]] constexpr int foo = [](){return 42;}();
+
+ constexpr int foo = [](){return 42;}();
}
@@ -25927,7 +26553,7 @@
} // namespace cxx17
-#endif // __cplusplus < 201703L
+#endif // __cplusplus < 201703L && !defined _MSC_VER
@@ -25935,11 +26561,13 @@
if ac_fn_cxx_try_compile "$LINENO"
then :
eval $cachevar=yes
-else $as_nop
- eval $cachevar=no
+else case e in #(
+ e) eval $cachevar=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- CXX="$ac_save_CXX"
+ CXX="$ac_save_CXX" ;;
+esac
fi
eval ac_res=\$$cachevar
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
@@ -25988,9 +26616,10 @@
if test ${enable_hardening+y}
then :
enableval=$enable_hardening; enable_hardening=$enableval
-else $as_nop
- enable_hardening=yes
-
+else case e in #(
+ e) enable_hardening=yes
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_hardening" >&5
@@ -26001,8 +26630,8 @@
if test ${gl_cv_warn_cxx__Werror__Wunknown_warning_option+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26019,21 +26648,24 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__Werror__Wunknown_warning_option=yes
-else $as_nop
- gl_cv_warn_cxx__Werror__Wunknown_warning_option=no
+else case e in #(
+ e) gl_cv_warn_cxx__Werror__Wunknown_warning_option=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__Werror__Wunknown_warning_option" >&5
printf "%s\n" "$gl_cv_warn_cxx__Werror__Wunknown_warning_option" >&6; }
if test "x$gl_cv_warn_cxx__Werror__Wunknown_warning_option" = xyes
then :
gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else $as_nop
- gl_unknown_warnings_are_errors=
+else case e in #(
+ e) gl_unknown_warnings_are_errors= ;;
+esac
fi
if test "x$enable_hardening" != "xno"
@@ -26053,8 +26685,8 @@
if test ${gl_cv_warn_cxx__pie+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -pie"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26075,13 +26707,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__pie=yes
-else $as_nop
- gl_cv_warn_cxx__pie=no
+else case e in #(
+ e) gl_cv_warn_cxx__pie=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__pie" >&5
printf "%s\n" "$gl_cv_warn_cxx__pie" >&6; }
@@ -26091,15 +26725,15 @@
PIE_CFLAGS="-fPIE -DPIE"
PIE_LDFLAGS="-pie"
-else $as_nop
-
+else case e in #(
+ e)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -Wl,-pie" >&5
printf %s "checking whether C++ compiler handles -Wl,-pie... " >&6; }
if test ${gl_cv_warn_cxx__Wl__pie+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -Wl,-pie"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26120,13 +26754,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__Wl__pie=yes
-else $as_nop
- gl_cv_warn_cxx__Wl__pie=no
+else case e in #(
+ e) gl_cv_warn_cxx__Wl__pie=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__Wl__pie" >&5
printf "%s\n" "$gl_cv_warn_cxx__Wl__pie" >&6; }
@@ -26138,7 +26774,8 @@
fi
-
+ ;;
+esac
fi
esac
@@ -26152,8 +26789,8 @@
if test ${gl_cv_warn_cxx__fstack_protector+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -fstack-protector"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26170,13 +26807,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__fstack_protector=yes
-else $as_nop
- gl_cv_warn_cxx__fstack_protector=no
+else case e in #(
+ e) gl_cv_warn_cxx__fstack_protector=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__fstack_protector" >&5
printf "%s\n" "$gl_cv_warn_cxx__fstack_protector" >&6; }
@@ -26195,8 +26834,8 @@
if test ${gl_cv_warn_cxx___param_ssp_buffer_size_4+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors --param ssp-buffer-size=4"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26213,13 +26852,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx___param_ssp_buffer_size_4=yes
-else $as_nop
- gl_cv_warn_cxx___param_ssp_buffer_size_4=no
+else case e in #(
+ e) gl_cv_warn_cxx___param_ssp_buffer_size_4=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx___param_ssp_buffer_size_4" >&5
printf "%s\n" "$gl_cv_warn_cxx___param_ssp_buffer_size_4" >&6; }
@@ -26237,9 +26878,10 @@
if test ${enable_fortify_source+y}
then :
enableval=$enable_fortify_source; enable_fortify_source=$enableval
-else $as_nop
- enable_fortify_source=2
-
+else case e in #(
+ e) enable_fortify_source=2
+ ;;
+esac
fi
@@ -26247,12 +26889,12 @@
then :
- if test "x$enable_fortify_source" == "xauto"
+ if test "$enable_fortify_source" = "auto"
then :
enable_fortify_source=3
fi
- if test "x$enable_fortify_source" == "x3"
+ if test "$enable_fortify_source" = "3"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -D_FORTIFY_SOURCE=3" >&5
@@ -26260,8 +26902,8 @@
if test ${gl_cv_warn_cxx__D_FORTIFY_SOURCE_3+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -D_FORTIFY_SOURCE=3"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26278,13 +26920,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__D_FORTIFY_SOURCE_3=yes
-else $as_nop
- gl_cv_warn_cxx__D_FORTIFY_SOURCE_3=no
+else case e in #(
+ e) gl_cv_warn_cxx__D_FORTIFY_SOURCE_3=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__D_FORTIFY_SOURCE_3" >&5
printf "%s\n" "$gl_cv_warn_cxx__D_FORTIFY_SOURCE_3" >&6; }
@@ -26294,14 +26938,15 @@
CFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 $CFLAGS"
CXXFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 $CXXFLAGS"
-else $as_nop
- enable_fortify_source=2
+else case e in #(
+ e) enable_fortify_source=2 ;;
+esac
fi
fi
- if test "x$enable_fortify_source" == "x2"
+ if test "$enable_fortify_source" = "2"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -D_FORTIFY_SOURCE=2" >&5
@@ -26309,8 +26954,8 @@
if test ${gl_cv_warn_cxx__D_FORTIFY_SOURCE_2+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -D_FORTIFY_SOURCE=2"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26327,13 +26972,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__D_FORTIFY_SOURCE_2=yes
-else $as_nop
- gl_cv_warn_cxx__D_FORTIFY_SOURCE_2=no
+else case e in #(
+ e) gl_cv_warn_cxx__D_FORTIFY_SOURCE_2=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__D_FORTIFY_SOURCE_2" >&5
printf "%s\n" "$gl_cv_warn_cxx__D_FORTIFY_SOURCE_2" >&6; }
@@ -26343,14 +26990,15 @@
CFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
CXXFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CXXFLAGS"
-else $as_nop
- enable_fortify_source=1
+else case e in #(
+ e) enable_fortify_source=1 ;;
+esac
fi
fi
- if test "x$enable_fortify_source" == "x1"
+ if test "$enable_fortify_source" = "1"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -D_FORTIFY_SOURCE=1" >&5
@@ -26358,8 +27006,8 @@
if test ${gl_cv_warn_cxx__D_FORTIFY_SOURCE_1+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -D_FORTIFY_SOURCE=1"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26376,13 +27024,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__D_FORTIFY_SOURCE_1=yes
-else $as_nop
- gl_cv_warn_cxx__D_FORTIFY_SOURCE_1=no
+else case e in #(
+ e) gl_cv_warn_cxx__D_FORTIFY_SOURCE_1=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__D_FORTIFY_SOURCE_1" >&5
printf "%s\n" "$gl_cv_warn_cxx__D_FORTIFY_SOURCE_1" >&6; }
@@ -26392,8 +27042,9 @@
CFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 $CFLAGS"
CXXFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 $CXXFLAGS"
-else $as_nop
- enable_fortify_source=no
+else case e in #(
+ e) enable_fortify_source=no ;;
+esac
fi
@@ -26424,10 +27075,11 @@
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RELRO_LDFLAGS" >&5
printf "%s\n" "$RELRO_LDFLAGS" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
printf "%s\n" "unknown" >&6; }
-
+ ;;
+esac
fi
@@ -26440,8 +27092,9 @@
if test ${enable_auto_var_init+y}
then :
enableval=$enable_auto_var_init; enable_initautovars=$enableval
-else $as_nop
- enable_initautovars=no
+else case e in #(
+ e) enable_initautovars=no ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_initautovars" >&5
@@ -26462,8 +27115,8 @@
if test ${gl_cv_warn_cxx__ftrivial_auto_var_init_zero+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -ftrivial-auto-var-init=zero"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26480,13 +27133,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__ftrivial_auto_var_init_zero=yes
-else $as_nop
- gl_cv_warn_cxx__ftrivial_auto_var_init_zero=no
+else case e in #(
+ e) gl_cv_warn_cxx__ftrivial_auto_var_init_zero=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__ftrivial_auto_var_init_zero" >&5
printf "%s\n" "$gl_cv_warn_cxx__ftrivial_auto_var_init_zero" >&6; }
@@ -26509,8 +27164,8 @@
if test ${gl_cv_warn_cxx__ftrivial_auto_var_init_pattern+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -ftrivial-auto-var-init=pattern"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26527,13 +27182,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__ftrivial_auto_var_init_pattern=yes
-else $as_nop
- gl_cv_warn_cxx__ftrivial_auto_var_init_pattern=no
+else case e in #(
+ e) gl_cv_warn_cxx__ftrivial_auto_var_init_pattern=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__ftrivial_auto_var_init_pattern" >&5
printf "%s\n" "$gl_cv_warn_cxx__ftrivial_auto_var_init_pattern" >&6; }
@@ -26558,9 +27215,10 @@
if test ${enable_asan+y}
then :
enableval=$enable_asan; enable_asan=$enableval
-else $as_nop
- enable_asan=no
-
+else case e in #(
+ e) enable_asan=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_asan" >&5
@@ -26574,8 +27232,8 @@
if test ${gl_cv_warn_cxx__fsanitize_address+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -fsanitize=address"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26592,13 +27250,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__fsanitize_address=yes
-else $as_nop
- gl_cv_warn_cxx__fsanitize_address=no
+else case e in #(
+ e) gl_cv_warn_cxx__fsanitize_address=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__fsanitize_address" >&5
printf "%s\n" "$gl_cv_warn_cxx__fsanitize_address" >&6; }
@@ -26613,8 +27273,9 @@
then :
printf "%s\n" "#define HAVE_SANITIZER_COMMON_INTERFACE_DEFS_H 1" >>confdefs.h
asan_headers=yes
-else $as_nop
- asan_headers=no
+else case e in #(
+ e) asan_headers=no ;;
+esac
fi
done
@@ -26655,8 +27316,8 @@
printf "%s\n" "#define HAVE_SANITIZER_FINISH_SWITCH_FIBER_SINGLE_PTR 1" >>confdefs.h
-else $as_nop
-
+else case e in #(
+ e)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -26684,31 +27345,47 @@
printf "%s\n" "#define HAVE_SANITIZER_FINISH_SWITCH_FIBER_THREE_PTRS 1" >>confdefs.h
-else $as_nop
-
+else case e in #(
+ e)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
printf "%s\n" "unknown" >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ASAN fiber switching is not available due to an unknown API version" >&5
printf "%s\n" "$as_me: ASAN fiber switching is not available due to an unknown API version" >&6;}
-
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
-
+ ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
-else $as_nop
-
+else case e in #(
+ e)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ASAN fiber switching is not available" >&5
printf "%s\n" "$as_me: ASAN fiber switching is not available" >&6;}
+ ;;
+esac
+fi
fi
+ for ac_header in sanitizer/lsan_interface.h
+do :
+ ac_fn_cxx_check_header_compile "$LINENO" "sanitizer/lsan_interface.h" "ac_cv_header_sanitizer_lsan_interface_h" "$ac_includes_default"
+if test "x$ac_cv_header_sanitizer_lsan_interface_h" = xyes
+then :
+ printf "%s\n" "#define HAVE_SANITIZER_LSAN_INTERFACE_H 1" >>confdefs.h
+
+printf "%s\n" "#define HAVE_LEAK_SANITIZER_INTERFACE 1" >>confdefs.h
fi
-else $as_nop
- as_fn_error $? "Cannot enable AddressSanitizer" "$LINENO" 5
+done
+else case e in #(
+ e) as_fn_error $? "Cannot enable AddressSanitizer" "$LINENO" 5
+ ;;
+esac
fi
@@ -26723,9 +27400,10 @@
if test ${enable_msan+y}
then :
enableval=$enable_msan; enable_msan=$enableval
-else $as_nop
- enable_msan=no
-
+else case e in #(
+ e) enable_msan=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_msan" >&5
@@ -26739,8 +27417,8 @@
if test ${gl_cv_warn_cxx__fsanitize_memory+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -fsanitize=memory"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26757,22 +27435,25 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__fsanitize_memory=yes
-else $as_nop
- gl_cv_warn_cxx__fsanitize_memory=no
+else case e in #(
+ e) gl_cv_warn_cxx__fsanitize_memory=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__fsanitize_memory" >&5
printf "%s\n" "$gl_cv_warn_cxx__fsanitize_memory" >&6; }
if test "x$gl_cv_warn_cxx__fsanitize_memory" = xyes
then :
SANITIZER_FLAGS="-fsanitize=memory $SANITIZER_FLAGS"
-else $as_nop
- as_fn_error $? "Cannot enable MemorySanitizer" "$LINENO" 5
-
+else case e in #(
+ e) as_fn_error $? "Cannot enable MemorySanitizer" "$LINENO" 5
+ ;;
+esac
fi
@@ -26787,9 +27468,10 @@
if test ${enable_tsan+y}
then :
enableval=$enable_tsan; enable_tsan=$enableval
-else $as_nop
- enable_tsan=no
-
+else case e in #(
+ e) enable_tsan=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_tsan" >&5
@@ -26803,8 +27485,8 @@
if test ${gl_cv_warn_cxx__fsanitize_thread+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -fsanitize=thread"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26821,22 +27503,25 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__fsanitize_thread=yes
-else $as_nop
- gl_cv_warn_cxx__fsanitize_thread=no
+else case e in #(
+ e) gl_cv_warn_cxx__fsanitize_thread=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__fsanitize_thread" >&5
printf "%s\n" "$gl_cv_warn_cxx__fsanitize_thread" >&6; }
if test "x$gl_cv_warn_cxx__fsanitize_thread" = xyes
then :
SANITIZER_FLAGS="-fsanitize=thread $SANITIZER_FLAGS"
-else $as_nop
- as_fn_error $? "Cannot enable ThreadSanitizer" "$LINENO" 5
-
+else case e in #(
+ e) as_fn_error $? "Cannot enable ThreadSanitizer" "$LINENO" 5
+ ;;
+esac
fi
@@ -26851,9 +27536,10 @@
if test ${enable_lsan+y}
then :
enableval=$enable_lsan; enable_lsan=$enableval
-else $as_nop
- enable_lsan=no
-
+else case e in #(
+ e) enable_lsan=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_lsan" >&5
@@ -26867,8 +27553,8 @@
if test ${gl_cv_warn_cxx__fsanitize_leak+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -fsanitize=leak"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26885,24 +27571,39 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__fsanitize_leak=yes
-else $as_nop
- gl_cv_warn_cxx__fsanitize_leak=no
+else case e in #(
+ e) gl_cv_warn_cxx__fsanitize_leak=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__fsanitize_leak" >&5
printf "%s\n" "$gl_cv_warn_cxx__fsanitize_leak" >&6; }
if test "x$gl_cv_warn_cxx__fsanitize_leak" = xyes
then :
SANITIZER_FLAGS="-fsanitize=leak $SANITIZER_FLAGS"
-else $as_nop
- as_fn_error $? "Cannot enable LeakSanitizer" "$LINENO" 5
+else case e in #(
+ e) as_fn_error $? "Cannot enable LeakSanitizer" "$LINENO" 5
+ ;;
+esac
+fi
+
+ for ac_header in sanitizer/lsan_interface.h
+do :
+ ac_fn_cxx_check_header_compile "$LINENO" "sanitizer/lsan_interface.h" "ac_cv_header_sanitizer_lsan_interface_h" "$ac_includes_default"
+if test "x$ac_cv_header_sanitizer_lsan_interface_h" = xyes
+then :
+ printf "%s\n" "#define HAVE_SANITIZER_LSAN_INTERFACE_H 1" >>confdefs.h
+
+printf "%s\n" "#define HAVE_LEAK_SANITIZER_INTERFACE 1" >>confdefs.h
fi
+done
fi
@@ -26915,9 +27616,10 @@
if test ${enable_ubsan+y}
then :
enableval=$enable_ubsan; enable_ubsan=$enableval
-else $as_nop
- enable_ubsan=no
-
+else case e in #(
+ e) enable_ubsan=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_ubsan" >&5
@@ -26931,8 +27633,8 @@
if test ${gl_cv_warn_cxx__fsanitize_undefined+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -fsanitize=undefined"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -26949,22 +27651,25 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__fsanitize_undefined=yes
-else $as_nop
- gl_cv_warn_cxx__fsanitize_undefined=no
+else case e in #(
+ e) gl_cv_warn_cxx__fsanitize_undefined=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__fsanitize_undefined" >&5
printf "%s\n" "$gl_cv_warn_cxx__fsanitize_undefined" >&6; }
if test "x$gl_cv_warn_cxx__fsanitize_undefined" = xyes
then :
SANITIZER_FLAGS="-fsanitize=undefined $SANITIZER_FLAGS"
-else $as_nop
- as_fn_error $? "Cannot enable Undefined Behaviour Sanitizer" "$LINENO" 5
-
+else case e in #(
+ e) as_fn_error $? "Cannot enable Undefined Behaviour Sanitizer" "$LINENO" 5
+ ;;
+esac
fi
@@ -27009,8 +27714,8 @@
if test ${gl_cv_warn_cxx__fno_omit_frame_pointer+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -fno-omit-frame-pointer"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -27027,13 +27732,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__fno_omit_frame_pointer=yes
-else $as_nop
- gl_cv_warn_cxx__fno_omit_frame_pointer=no
+else case e in #(
+ e) gl_cv_warn_cxx__fno_omit_frame_pointer=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__fno_omit_frame_pointer" >&5
printf "%s\n" "$gl_cv_warn_cxx__fno_omit_frame_pointer" >&6; }
@@ -27051,17 +27758,18 @@
if test ${enable_lto+y}
then :
enableval=$enable_lto; enable_lto=$enableval
-else $as_nop
- enable_lto=no
-
+else case e in #(
+ e) enable_lto=no
+ ;;
+esac
fi
- if test "x$enable_lto" != "xno"
+ if test "$enable_lto" != "no"
then :
- if test "x$enable_lto" == "xthin"
+ if test "$enable_lto" = "thin"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto=thin" >&5
@@ -27069,8 +27777,8 @@
if test ${gl_cv_warn_cxx__flto_thin+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -flto=thin"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -27087,13 +27795,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__flto_thin=yes
-else $as_nop
- gl_cv_warn_cxx__flto_thin=no
+else case e in #(
+ e) gl_cv_warn_cxx__flto_thin=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__flto_thin" >&5
printf "%s\n" "$gl_cv_warn_cxx__flto_thin" >&6; }
@@ -27104,14 +27814,15 @@
CXXFLAGS="-flto=thin $CXXFLAGS"
LDFLAGS="-flto=thin $LDFLAGS"
-else $as_nop
- enable_lto=auto
+else case e in #(
+ e) enable_lto=auto ;;
+esac
fi
fi
- if test "x$enable_lto" == "xauto"
+ if test "$enable_lto" = "auto"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto=auto" >&5
@@ -27119,8 +27830,8 @@
if test ${gl_cv_warn_cxx__flto_auto+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -flto=auto"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -27137,13 +27848,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__flto_auto=yes
-else $as_nop
- gl_cv_warn_cxx__flto_auto=no
+else case e in #(
+ e) gl_cv_warn_cxx__flto_auto=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__flto_auto" >&5
printf "%s\n" "$gl_cv_warn_cxx__flto_auto" >&6; }
@@ -27154,14 +27867,15 @@
CXXFLAGS="-flto=auto $CXXFLAGS"
LDFLAGS="-flto=auto $LDFLAGS"
-else $as_nop
- enable_lto=yes
+else case e in #(
+ e) enable_lto=yes ;;
+esac
fi
fi
- if test "x$enable_lto" == "xyes"
+ if test "$enable_lto" = "yes"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto" >&5
@@ -27169,8 +27883,8 @@
if test ${gl_cv_warn_cxx__flto+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -flto"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -27187,13 +27901,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__flto=yes
-else $as_nop
- gl_cv_warn_cxx__flto=no
+else case e in #(
+ e) gl_cv_warn_cxx__flto=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__flto" >&5
printf "%s\n" "$gl_cv_warn_cxx__flto" >&6; }
@@ -27204,8 +27920,9 @@
CXXFLAGS="-flto $CXXFLAGS"
LDFLAGS="-flto $LDFLAGS"
-else $as_nop
- enable_lto=no
+else case e in #(
+ e) enable_lto=no ;;
+esac
fi
@@ -27225,9 +27942,10 @@
if test ${enable_coverage+y}
then :
enableval=$enable_coverage; enable_coverage=$enableval
-else $as_nop
- enable_coverage=no
-
+else case e in #(
+ e) enable_coverage=no
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_coverage" >&5
@@ -27241,8 +27959,8 @@
if test ${gl_cv_warn_cxx__fprofile_instr_generate__fcoverage_mapping+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -fprofile-instr-generate -fcoverage-mapping"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -27259,13 +27977,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__fprofile_instr_generate__fcoverage_mapping=yes
-else $as_nop
- gl_cv_warn_cxx__fprofile_instr_generate__fcoverage_mapping=no
+else case e in #(
+ e) gl_cv_warn_cxx__fprofile_instr_generate__fcoverage_mapping=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__fprofile_instr_generate__fcoverage_mapping" >&5
printf "%s\n" "$gl_cv_warn_cxx__fprofile_instr_generate__fcoverage_mapping" >&6; }
@@ -27275,10 +27995,11 @@
CFLAGS="$CFLAGS -DCOVERAGE -DCLANG_COVERAGE -fprofile-instr-generate -fcoverage-mapping"
CXXFLAGS="$CXXFLAGS -DCOVERAGE -DCLANG_COVERAGE -fprofile-instr-generate -fcoverage-mapping"
-else $as_nop
-
+else case e in #(
+ e)
as_fn_error $? "$CXX does not support gathering coverage data in the clang format" "$LINENO" 5
-
+ ;;
+esac
fi
@@ -27292,8 +28013,8 @@
if test ${gl_cv_warn_cxx__fprofile_arcs__ftest_coverage+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
+else case e in #(
+ e)
gl_save_compiler_FLAGS="$CXXFLAGS"
as_fn_append CXXFLAGS " $gl_unknown_warnings_are_errors -fprofile-arcs -ftest-coverage"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -27310,13 +28031,15 @@
if ac_fn_cxx_try_link "$LINENO"
then :
gl_cv_warn_cxx__fprofile_arcs__ftest_coverage=yes
-else $as_nop
- gl_cv_warn_cxx__fprofile_arcs__ftest_coverage=no
+else case e in #(
+ e) gl_cv_warn_cxx__fprofile_arcs__ftest_coverage=no ;;
+esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$gl_save_compiler_FLAGS"
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__fprofile_arcs__ftest_coverage" >&5
printf "%s\n" "$gl_cv_warn_cxx__fprofile_arcs__ftest_coverage" >&6; }
@@ -27327,10 +28050,11 @@
CXXFLAGS="$CXXFLAGS -DCOVERAGE --coverage"
LDFLAGS="$LDFLAGS --coverage"
-else $as_nop
-
+else case e in #(
+ e)
as_fn_error $? "$CXX does not support gathering coverage data" "$LINENO" 5
-
+ ;;
+esac
fi
@@ -27365,10 +28089,11 @@
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
- as_fn_error $? "Python interpreter is too old" "$LINENO" 5
+ as_fn_error $? "Python interpreter is too old" "$LINENO" 5 ;;
+esac
fi
am_display_PYTHON=$PYTHON
else
@@ -27379,9 +28104,9 @@
if test ${am_cv_pathless_PYTHON+y}
then :
printf %s "(cached) " >&6
-else $as_nop
-
- for am_cv_pathless_PYTHON in python python2 python3 python3.15 python3.14 python3.13 python3.12 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
+else case e in #(
+ e)
+ for am_cv_pathless_PYTHON in python python3 python3.20 python3.19 python3.18 python3.17 python3.16 python3.15 python3.14 python3.13 python3.12 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
test "$am_cv_pathless_PYTHON" = none && break
prog="import sys
# split strings by '.' and convert to numeric. Append some zeros
@@ -27400,7 +28125,8 @@
then :
break
fi
- done
+ done ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
@@ -27415,8 +28141,8 @@
if test ${ac_cv_path_PYTHON+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- case $PYTHON in
+else case e in #(
+ e) case $PYTHON in
[\\/]* | ?:[\\/]*)
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
;;
@@ -27441,6 +28167,7 @@
IFS=$as_save_IFS
;;
+esac ;;
esac
fi
PYTHON=$ac_cv_path_PYTHON
@@ -27467,8 +28194,9 @@
if test ${am_cv_python_version+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
+else case e in #(
+ e) am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"` ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
printf "%s\n" "$am_cv_python_version" >&6; }
@@ -27480,8 +28208,9 @@
if test ${am_cv_python_platform+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
+else case e in #(
+ e) am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
printf "%s\n" "$am_cv_python_platform" >&6; }
@@ -27501,8 +28230,9 @@
if test ${with_python_sys_prefix+y}
then :
withval=$with_python_sys_prefix; am_use_python_sys=:
-else $as_nop
- am_use_python_sys=false
+else case e in #(
+ e) am_use_python_sys=false ;;
+esac
fi
@@ -27517,8 +28247,8 @@
printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
printf "%s\n" "$am_cv_python_prefix" >&6; }
-else $as_nop
-
+else case e in #(
+ e)
if $am_use_python_sys; then
# using python sys.prefix value, not GNU
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
@@ -27526,8 +28256,9 @@
if test ${am_cv_python_prefix+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
+else case e in #(
+ e) am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"` ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
printf "%s\n" "$am_cv_python_prefix" >&6; }
@@ -27548,7 +28279,8 @@
printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
printf "%s\n" "$am_python_prefix" >&6; }
- fi
+ fi ;;
+esac
fi
# Substituting python_prefix_subst value.
@@ -27567,8 +28299,8 @@
printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
-else $as_nop
-
+else case e in #(
+ e)
# no explicit --with-python_exec_prefix, but if
# --with-python_prefix was given, use its value for python_exec_prefix too.
if test -n "$with_python_prefix"
@@ -27579,8 +28311,8 @@
printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
-else $as_nop
-
+else case e in #(
+ e)
# Set am__usable_exec_prefix whether using GNU or Python values,
# since we use that variable for pyexecdir.
if test "x$exec_prefix" = xNONE; then
@@ -27595,8 +28327,9 @@
if test ${am_cv_python_exec_prefix+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
+else case e in #(
+ e) am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"` ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
@@ -27616,8 +28349,10 @@
printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
printf "%s\n" "$am_python_exec_prefix" >&6; }
- fi
-fi
+ fi ;;
+esac
+fi ;;
+esac
fi
# Substituting python_exec_prefix_subst.
@@ -27642,7 +28377,21 @@
if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
can_use_sysconfig = 0
except ImportError:
- pass"
+ pass" # end of am_python_setup_sysconfig
+
+ # More repeated code, for figuring out the installation scheme to use.
+ am_python_setup_scheme="if hasattr(sysconfig, 'get_default_scheme'):
+ scheme = sysconfig.get_default_scheme()
+ else:
+ scheme = sysconfig._get_default_scheme()
+ if scheme == 'posix_local':
+ if '$am_py_prefix' == '/usr':
+ scheme = 'deb_system' # should only happen during Debian package builds
+ else:
+ # Debian's default scheme installs to /usr/local/ but we want to
+ # follow the prefix, as we always have.
+ # See bugs#54412, #64837, et al.
+ scheme = 'posix_prefix'" # end of am_python_setup_scheme
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
@@ -27650,8 +28399,8 @@
if test ${am_cv_python_pythondir+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test "x$am_cv_python_prefix" = x; then
+else case e in #(
+ e) if test "x$am_cv_python_prefix" = x; then
am_py_prefix=$am__usable_prefix
else
am_py_prefix=$am_cv_python_prefix
@@ -27659,7 +28408,11 @@
am_cv_python_pythondir=`$PYTHON -c "
$am_python_setup_sysconfig
if can_use_sysconfig:
- sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
+ try:
+ $am_python_setup_scheme
+ sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
+ except:
+ sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
else:
from distutils import sysconfig
sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
@@ -27678,7 +28431,8 @@
esac
;;
esac
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
printf "%s\n" "$am_cv_python_pythondir" >&6; }
@@ -27688,13 +28442,13 @@
pkgpythondir=\${pythondir}/$PACKAGE
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
if test ${am_cv_python_pyexecdir+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if test "x$am_cv_python_exec_prefix" = x; then
+else case e in #(
+ e) if test "x$am_cv_python_exec_prefix" = x; then
am_py_exec_prefix=$am__usable_exec_prefix
else
am_py_exec_prefix=$am_cv_python_exec_prefix
@@ -27702,7 +28456,11 @@
am_cv_python_pyexecdir=`$PYTHON -c "
$am_python_setup_sysconfig
if can_use_sysconfig:
- sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
+ try:
+ $am_python_setup_scheme
+ sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
+ except:
+ sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
else:
from distutils import sysconfig
sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
@@ -27721,7 +28479,8 @@
esac
;;
esac
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
@@ -27825,7 +28584,7 @@
fi
-ac_config_files="$ac_config_files Makefile ext/arc4random/Makefile ext/yahttp/Makefile ext/yahttp/yahttp/Makefile ext/ipcrypt/Makefile"
+ac_config_files="$ac_config_files Makefile dnsdist-rust-lib/Makefile dnsdist-rust-lib/rust/Makefile ext/arc4random/Makefile ext/yahttp/Makefile ext/yahttp/yahttp/Makefile ext/ipcrypt/Makefile ext/ipcrypt2/Makefile"
cat >confcache <<\_ACEOF
@@ -27838,8 +28597,8 @@
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# 'ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* 'ac_cv_foo' will be assigned the
# following values.
_ACEOF
@@ -27869,14 +28628,14 @@
(set) 2>&1 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
*${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
+ # 'set' does not quote correctly, so add quotes: double-quote
# substitution turns \\\\ into \\, and sed turns \\ into \.
sed -n \
"s/'/'\\\\''/g;
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
;; #(
*)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
+ # 'set' quotes correctly as required by POSIX, so do not add quotes.
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
;;
esac |
@@ -27945,6 +28704,18 @@
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
printf "%s\n" "done" >&6; }
+case $enable_silent_rules in # (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+esac
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+
if test -n "$EXEEXT"; then
am__EXEEXT_TRUE=
am__EXEEXT_FALSE='#'
@@ -28161,10 +28932,6 @@
as_fn_error $? "conditional \"HAVE_GNUTLS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
-if test -z "${HAVE_LIBH2OEVLOOP_TRUE}" && test -z "${HAVE_LIBH2OEVLOOP_FALSE}"; then
- as_fn_error $? "conditional \"HAVE_LIBH2OEVLOOP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
if test -z "${HAVE_LIBSSL_TRUE}" && test -z "${HAVE_LIBSSL_FALSE}"; then
as_fn_error $? "conditional \"HAVE_LIBSSL\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -28213,8 +28980,8 @@
as_fn_error $? "conditional \"HAVE_NGHTTP2\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
-if test -z "${HAVE_LIBH2OEVLOOP_TRUE}" && test -z "${HAVE_LIBH2OEVLOOP_FALSE}"; then
- as_fn_error $? "conditional \"HAVE_LIBH2OEVLOOP\" was never defined.
+if test -z "${HAVE_YAML_CONFIGURATION_TRUE}" && test -z "${HAVE_YAML_CONFIGURATION_FALSE}"; then
+ as_fn_error $? "conditional \"HAVE_YAML_CONFIGURATION\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${HAVE_CDB_TRUE}" && test -z "${HAVE_CDB_FALSE}"; then
@@ -28229,6 +28996,10 @@
as_fn_error $? "conditional \"IPCIPHER\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${HAVE_IPCRYPT2_TRUE}" && test -z "${HAVE_IPCRYPT2_FALSE}"; then
+ as_fn_error $? "conditional \"HAVE_IPCRYPT2\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${HAVE_VENV_TRUE}" && test -z "${HAVE_VENV_FALSE}"; then
as_fn_error $? "conditional \"HAVE_VENV\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -28266,7 +29037,6 @@
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
-as_nop=:
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
emulate sh
@@ -28275,12 +29045,13 @@
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
-else $as_nop
- case `(set -o) 2>/dev/null` in #(
+else case e in #(
+ e) case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
+esac ;;
esac
fi
@@ -28352,7 +29123,7 @@
;;
esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
+# We did not find ourselves, most probably we were run as 'sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
@@ -28381,7 +29152,6 @@
} # as_fn_error
-
# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
@@ -28421,11 +29191,12 @@
{
eval $1+=\$2
}'
-else $as_nop
- as_fn_append ()
+else case e in #(
+ e) as_fn_append ()
{
eval $1=\$$1\$2
- }
+ } ;;
+esac
fi # as_fn_append
# as_fn_arith ARG...
@@ -28439,11 +29210,12 @@
{
as_val=$(( $* ))
}'
-else $as_nop
- as_fn_arith ()
+else case e in #(
+ e) as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
- }
+ } ;;
+esac
fi # as_fn_arith
@@ -28526,9 +29298,9 @@
if ln -s conf$$.file conf$$ 2>/dev/null; then
as_ln_s='ln -s'
# ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
+ # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
+ # In both cases, we have to default to 'cp -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
@@ -28609,10 +29381,12 @@
as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
+as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
+as_tr_sh="eval sed '$as_sed_sh'" # deprecated
exec 6>&1
@@ -28627,8 +29401,8 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by dnsdist $as_me 1.9.16, which was
-generated by GNU Autoconf 2.71. Invocation command line was
+This file was extended by dnsdist $as_me 2.1.3, which was
+generated by GNU Autoconf 2.72. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
@@ -28660,7 +29434,7 @@
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
+'$as_me' instantiates files and other configuration actions
from templates according to the current configuration. Unless the files
and actions are specified as TAGs, all are instantiated by default.
@@ -28695,11 +29469,11 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-dnsdist config.status 1.9.16
-configured by $0, generated by GNU Autoconf 2.71,
+dnsdist config.status 2.1.3
+configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"
-Copyright (C) 2021 Free Software Foundation, Inc.
+Copyright (C) 2023 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
@@ -28761,8 +29535,8 @@
ac_need_defaults=false;;
--he | --h)
# Conflict between --help and --header
- as_fn_error $? "ambiguous option: \`$1'
-Try \`$0 --help' for more information.";;
+ as_fn_error $? "ambiguous option: '$1'
+Try '$0 --help' for more information.";;
--help | --hel | -h )
printf "%s\n" "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
@@ -28770,8 +29544,8 @@
ac_cs_silent=: ;;
# This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
+ -*) as_fn_error $? "unrecognized option: '$1'
+Try '$0 --help' for more information." ;;
*) as_fn_append ac_config_targets " $1"
ac_need_defaults=false ;;
@@ -29211,12 +29985,15 @@
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "dnsdist-rust-lib/Makefile") CONFIG_FILES="$CONFIG_FILES dnsdist-rust-lib/Makefile" ;;
+ "dnsdist-rust-lib/rust/Makefile") CONFIG_FILES="$CONFIG_FILES dnsdist-rust-lib/rust/Makefile" ;;
"ext/arc4random/Makefile") CONFIG_FILES="$CONFIG_FILES ext/arc4random/Makefile" ;;
"ext/yahttp/Makefile") CONFIG_FILES="$CONFIG_FILES ext/yahttp/Makefile" ;;
"ext/yahttp/yahttp/Makefile") CONFIG_FILES="$CONFIG_FILES ext/yahttp/yahttp/Makefile" ;;
"ext/ipcrypt/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ipcrypt/Makefile" ;;
+ "ext/ipcrypt2/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ipcrypt2/Makefile" ;;
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
esac
done
@@ -29236,7 +30013,7 @@
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
+# after its creation but before its name has been assigned to '$tmp'.
$debug ||
{
tmp= ac_tmp=
@@ -29260,7 +30037,7 @@
# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
+# This happens for instance with './config.status config.h'.
if test -n "$CONFIG_FILES"; then
@@ -29418,13 +30195,13 @@
# Set up the scripts for CONFIG_HEADERS section.
# No need to generate them if there are no CONFIG_HEADERS.
-# This happens for instance with `./config.status Makefile'.
+# This happens for instance with './config.status Makefile'.
if test -n "$CONFIG_HEADERS"; then
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
BEGIN {
_ACEOF
-# Transform confdefs.h into an awk script `defines.awk', embedded as
+# Transform confdefs.h into an awk script 'defines.awk', embedded as
# here-document in config.status, that substitutes the proper values into
# config.h.in to produce config.h.
@@ -29534,7 +30311,7 @@
esac
case $ac_mode$ac_tag in
:[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
:[FH]-) ac_tag=-:-;;
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
esac
@@ -29556,19 +30333,19 @@
-) ac_f="$ac_tmp/stdin";;
*) # Look for the file first in the build tree, then in the source tree
# (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
+ # because $ac_f cannot contain ':'.
test -f "$ac_f" ||
case $ac_f in
[\\/$]*) false;;
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
esac
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
as_fn_append ac_file_inputs " '$ac_f'"
done
- # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # Let's still pretend it is 'configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read:
# /* config.h. Generated by config.status. */
configure_input='Generated from '`
@@ -29701,7 +30478,7 @@
esac
_ACEOF
-# Neutralize VPATH when `$srcdir' = `.'.
+# Neutralize VPATH when '$srcdir' = '.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
@@ -29732,9 +30509,9 @@
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
"$ac_tmp/out"`; test -z "$ac_out"; } &&
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
which seems to be undefined. Please make sure it is defined" >&5
-printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
which seems to be undefined. Please make sure it is defined" >&2;}
rm -f "$ac_tmp/stdin"
@@ -29889,15 +30666,15 @@
(exit $ac_status); } || am_rc=$?
done
if test $am_rc -ne 0; then
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. If GNU make was not used, consider
re-running the configure script with MAKE=\"gmake\" (or whatever is
necessary). You can also try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).
-See \`config.log' for more details" "$LINENO" 5; }
+See 'config.log' for more details" "$LINENO" 5; }
fi
{ am_dirpart=; unset am_dirpart;}
{ am_filepart=; unset am_filepart;}
@@ -30673,9 +31450,10 @@
if test "x$ac_configure_args" != "x"
then :
summary_conf_opts=$ac_configure_args
-else $as_nop
- summary_conf_opts="(no options)"
-
+else case e in #(
+ e) summary_conf_opts="(no options)"
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: dnsdist configured with: $summary_conf_opts" >&5
printf "%s\n" "$as_me: dnsdist configured with: $summary_conf_opts" >&6;}
@@ -30713,127 +31491,151 @@
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: systemd: yes" >&5
printf "%s\n" "$as_me: systemd: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: systemd: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: systemd: no" >&5
printf "%s\n" "$as_me: systemd: no" >&6;}
-
+ ;;
+esac
fi
if test x"$BPF_LIBS" != "x" -a x"$XDP_LIBS" != "x"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: AF_XDP/XSK: yes" >&5
printf "%s\n" "$as_me: AF_XDP/XSK: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: AF_XDP/XSK: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: AF_XDP/XSK: no" >&5
printf "%s\n" "$as_me: AF_XDP/XSK: no" >&6;}
-
+ ;;
+esac
fi
if test "x$HAVE_IPCIPHER" = "x1"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ipcipher: yes" >&5
printf "%s\n" "$as_me: ipcipher: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ipcipher: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ipcipher: no" >&5
printf "%s\n" "$as_me: ipcipher: no" >&6;}
-
+ ;;
+esac
+fi
+if test "x$enable_ipcrypt2" != "xno"
+then :
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ipcrypt2: yes" >&5
+printf "%s\n" "$as_me: ipcrypt2: yes" >&6;}
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ipcrypt2: no" >&5
+printf "%s\n" "$as_me: ipcrypt2: no" >&6;}
+ ;;
+esac
fi
if test "x$LIBEDIT_LIBS" != "x"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: libedit: yes" >&5
printf "%s\n" "$as_me: libedit: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libedit: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libedit: no" >&5
printf "%s\n" "$as_me: libedit: no" >&6;}
-
+ ;;
+esac
fi
if test "x$LIBSODIUM_LIBS" != "x"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: libsodium: yes" >&5
printf "%s\n" "$as_me: libsodium: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libsodium: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libsodium: no" >&5
printf "%s\n" "$as_me: libsodium: no" >&6;}
-
+ ;;
+esac
fi
if test "x$enable_dnscrypt" != "xno"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNSCrypt: yes" >&5
printf "%s\n" "$as_me: DNSCrypt: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNSCrypt: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNSCrypt: no" >&5
printf "%s\n" "$as_me: DNSCrypt: no" >&6;}
-
+ ;;
+esac
fi
if test "x$FSTRM_LIBS" != "x"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: dnstap: yes" >&5
printf "%s\n" "$as_me: dnstap: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: dnstap: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: dnstap: no" >&5
printf "%s\n" "$as_me: dnstap: no" >&6;}
-
+ ;;
+esac
fi
if test "x$QUICHE_LIBS" != "x"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: quiche: yes" >&5
printf "%s\n" "$as_me: quiche: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: quiche: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: quiche: no" >&5
printf "%s\n" "$as_me: quiche: no" >&6;}
-
+ ;;
+esac
fi
if test "x$RE2_LIBS" != "x"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: re2: yes" >&5
printf "%s\n" "$as_me: re2: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: re2: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: re2: no" >&5
printf "%s\n" "$as_me: re2: no" >&6;}
-
+ ;;
+esac
fi
if test "x$NET_SNMP_LIBS" != "x"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: SNMP: yes" >&5
printf "%s\n" "$as_me: SNMP: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: SNMP: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: SNMP: no" >&5
printf "%s\n" "$as_me: SNMP: no" >&6;}
-
+ ;;
+esac
fi
if test "x$enable_dns_over_tls" != "xno"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNS over TLS: yes" >&5
printf "%s\n" "$as_me: DNS over TLS: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNS over TLS: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNS over TLS: no" >&5
printf "%s\n" "$as_me: DNS over TLS: no" >&6;}
-
+ ;;
+esac
fi
if test "x$enable_dns_over_https" != "xno"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNS over HTTPS (DoH): yes" >&5
printf "%s\n" "$as_me: DNS over HTTPS (DoH): yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNS over HTTPS (DoH): no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNS over HTTPS (DoH): no" >&5
printf "%s\n" "$as_me: DNS over HTTPS (DoH): no" >&6;}
-
+ ;;
+esac
fi
if test "x$enable_dns_over_quic" != "xno"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNS over QUIC (DoQ): yes" >&5
printf "%s\n" "$as_me: DNS over QUIC (DoQ): yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNS over QUIC (DoQ): no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNS over QUIC (DoQ): no" >&5
printf "%s\n" "$as_me: DNS over QUIC (DoQ): no" >&6;}
-
+ ;;
+esac
fi
if test "x$enable_dns_over_http3" != "xno"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNS over HTTP/3 (DoH3): yes" >&5
printf "%s\n" "$as_me: DNS over HTTP/3 (DoH3): yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNS over HTTP/3 (DoH3): no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: DNS over HTTP/3 (DoH3): no" >&5
printf "%s\n" "$as_me: DNS over HTTP/3 (DoH3): no" >&6;}
-
+ ;;
+esac
fi
if test "x$enable_dns_over_tls" != "xno"
then :
@@ -30842,10 +31644,11 @@
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: GnuTLS: yes" >&5
printf "%s\n" "$as_me: GnuTLS: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: GnuTLS: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: GnuTLS: no" >&5
printf "%s\n" "$as_me: GnuTLS: no" >&6;}
-
+ ;;
+esac
fi
fi
@@ -30856,48 +31659,53 @@
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL: yes" >&5
printf "%s\n" "$as_me: OpenSSL: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL: no" >&5
printf "%s\n" "$as_me: OpenSSL: no" >&6;}
-
-fi
-
+ ;;
+esac
fi
-if test "x$LIBH2OEVLOOP_LIBS" != "x"
-then :
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: h2o-evloop: yes" >&5
-printf "%s\n" "$as_me: h2o-evloop: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: h2o-evloop: no" >&5
-printf "%s\n" "$as_me: h2o-evloop: no" >&6;}
fi
if test "x$NGHTTP2_LIBS" != "x"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: nghttp2: yes" >&5
printf "%s\n" "$as_me: nghttp2: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: nghttp2: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: nghttp2: no" >&5
printf "%s\n" "$as_me: nghttp2: no" >&6;}
-
+ ;;
+esac
fi
if test "x$CDB_LIBS" != "x"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: cdb: yes" >&5
printf "%s\n" "$as_me: cdb: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: cdb: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: cdb: no" >&5
printf "%s\n" "$as_me: cdb: no" >&6;}
-
+ ;;
+esac
fi
if test "x$LMDB_LIBS" != "x"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: lmdb: yes" >&5
printf "%s\n" "$as_me: lmdb: yes" >&6;}
-else $as_nop
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: lmdb: no" >&5
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: lmdb: no" >&5
printf "%s\n" "$as_me: lmdb: no" >&6;}
-
+ ;;
+esac
+fi
+if test "x$enable_yaml" != "xno"
+then :
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: YAML configuration: yes" >&5
+printf "%s\n" "$as_me: YAML configuration: yes" >&6;}
+else case e in #(
+ e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: YAML configuration: no" >&5
+printf "%s\n" "$as_me: YAML configuration: no" >&6;}
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: " >&5
diff -Nru dnsdist-1.9.16/configure.ac dnsdist-2.1.3/configure.ac
--- dnsdist-1.9.16/configure.ac 2026-08-05 14:29:19.000000000 +0000
+++ dnsdist-2.1.3/configure.ac 2026-10-12 07:14:45.404264500 +0000
@@ -1,6 +1,6 @@
AC_PREREQ([2.69])
-AC_INIT([dnsdist], [1.9.16])
+AC_INIT([dnsdist], [2.1.3])
AM_INIT_AUTOMAKE([foreign tar-ustar dist-bzip2 no-dist-gzip parallel-tests 1.11 subdir-objects])
AM_SILENT_RULES([yes])
AC_CONFIG_MACRO_DIR([m4])
@@ -9,15 +9,24 @@
AC_PROG_CXX
AC_LANG([C++])
-AC_DEFINE([DNSDIST], [1],
- [This is dnsdist]
-)
+CPPFLAGS="-DDNSDIST $CPPFLAGS"
-LT_PREREQ([2.2.2])
-LT_INIT([disable-static])
+# Warn when pkg.m4 is missing
+m4_pattern_forbid([^_?PKG_[A-Z_]+$], [*** pkg.m4 missing, please install pkg-config])
-CFLAGS="-g -O3 -Wall -Wextra -Wshadow -Wno-unused-parameter -fvisibility=hidden $CFLAGS"
-CXXFLAGS="-g -O3 -Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -fvisibility=hidden $CXXFLAGS"
+LT_PREREQ([2.2.2])
+# Rust runtime uses dlopen from its static lib
+LT_INIT([disable-static dlopen])
+AC_SUBST([LIBDL], [$lt_cv_dlopen_libs])
+
+CFLAGS="-g -O3 -Wall -Wextra -Wshadow -fvisibility=hidden $CFLAGS"
+CXXFLAGS="-g -O3 -Wall -Wextra -Wshadow -Wmissing-declarations -Wredundant-decls -fvisibility=hidden $CXXFLAGS"
+
+AC_SUBST([pdns_configure_args], ["$ac_configure_args"])
+AC_DEFINE_UNQUOTED([DNSDIST_CONFIG_ARGS],
+ ["$pdns_configure_args"],
+ [pdns configure arguments]
+)
PDNS_WITH_LIBSODIUM
PDNS_WITH_QUICHE
@@ -33,7 +42,7 @@
PDNS_CHECK_SECURE_MEMSET
AC_FUNC_STRERROR_R
-BOOST_REQUIRE([1.42])
+BOOST_REQUIRE([1.54])
PDNS_ENABLE_UNIT_TESTS
PDNS_ENABLE_FUZZ_TARGETS
@@ -57,11 +66,13 @@
AC_SUBST([YAHTTP_LIBS], ['$(top_builddir)/ext/yahttp/yahttp/libyahttp.la'])
AC_SUBST([IPCRYPT_CFLAGS], ['-I$(top_srcdir)/ext/ipcrypt'])
AC_SUBST([IPCRYPT_LIBS], ['$(top_builddir)/ext/ipcrypt/libipcrypt.la'])
+AC_SUBST([IPCRYPT2_CFLAGS], ['-I$(top_srcdir)/ext/ipcrypt2/include'])
+AC_SUBST([IPCRYPT2_LIBS], ['$(top_builddir)/ext/ipcrypt2/libipcrypt2.la'])
AC_SUBST([ARC4RANDOM_LIBS], ['$(top_builddir)/ext/arc4random/libarc4random.la'])
AC_CHECK_HEADERS([sys/random.h])
-PDNS_WITH_LUA([mandatory])
+PDNS_WITH_LUA
AS_IF([test "x$LUAPC" = "xluajit"], [
# export all symbols with default visibility, to be able to use the Lua FFI interface
AC_MSG_NOTICE([Adding -rdynamic to export all symbols for the Lua FFI interface])
@@ -71,7 +82,6 @@
AM_CONDITIONAL([HAVE_CDB], [false])
AM_CONDITIONAL([HAVE_GNUTLS], [false])
-AM_CONDITIONAL([HAVE_LIBH2OEVLOOP], [false])
AM_CONDITIONAL([HAVE_LIBSSL], [false])
AM_CONDITIONAL([HAVE_LMDB], [false])
AM_CONDITIONAL([HAVE_NGHTTP2], [false])
@@ -100,10 +110,8 @@
AS_IF([test "x$enable_dns_over_https" != "xno"], [
PDNS_WITH_NGHTTP2
- PDNS_WITH_LIBH2OEVLOOP
-
- AS_IF([test "x$HAVE_LIBH2OEVLOOP" != "x1" -a "x$HAVE_NGHTTP2" != "x1" ], [
- AC_MSG_ERROR([DNS over HTTPS support requested but neither libh2o-evloop nor nghttp2 was not found])
+ AS_IF([test "x$HAVE_NGHTTP2" != "x1" ], [
+ AC_MSG_ERROR([DNS over HTTPS support requested but nghttp2 was not found])
])
AS_IF([test "x$HAVE_GNUTLS" != "x1" -a "x$HAVE_LIBSSL" != "x1"], [
@@ -126,9 +134,16 @@
])
])
+DNSDIST_ENABLE_YAML
+
+AS_IF([test "x$enable_yaml" != "xno"], [
+ PDNS_CHECK_CARGO([1.64])
+])
+
DNSDIST_WITH_CDB
PDNS_CHECK_LMDB
PDNS_ENABLE_IPCIPHER
+PDNS_ENABLE_IPCRYPT2
AX_CXX_COMPILE_STDCXX_17([noext], [mandatory])
@@ -184,10 +199,13 @@
)
AC_CONFIG_FILES([Makefile
+ dnsdist-rust-lib/Makefile
+ dnsdist-rust-lib/rust/Makefile
ext/arc4random/Makefile
ext/yahttp/Makefile
ext/yahttp/yahttp/Makefile
- ext/ipcrypt/Makefile])
+ ext/ipcrypt/Makefile
+ ext/ipcrypt2/Makefile])
AC_OUTPUT
@@ -227,6 +245,10 @@
[AC_MSG_NOTICE([ipcipher: yes])],
[AC_MSG_NOTICE([ipcipher: no])]
)
+AS_IF([test "x$enable_ipcrypt2" != "xno"],
+ [AC_MSG_NOTICE([ipcrypt2: yes])],
+ [AC_MSG_NOTICE([ipcrypt2: no])]
+)
AS_IF([test "x$LIBEDIT_LIBS" != "x"],
[AC_MSG_NOTICE([libedit: yes])],
[AC_MSG_NOTICE([libedit: no])]
@@ -283,10 +305,6 @@
[AC_MSG_NOTICE([OpenSSL: no])]
)]
)
-AS_IF([test "x$LIBH2OEVLOOP_LIBS" != "x"],
- [AC_MSG_NOTICE([h2o-evloop: yes])],
- [AC_MSG_NOTICE([h2o-evloop: no])]
-)
AS_IF([test "x$NGHTTP2_LIBS" != "x"],
[AC_MSG_NOTICE([nghttp2: yes])],
[AC_MSG_NOTICE([nghttp2: no])]
@@ -299,5 +317,9 @@
[AC_MSG_NOTICE([lmdb: yes])],
[AC_MSG_NOTICE([lmdb: no])]
)
+AS_IF([test "x$enable_yaml" != "xno"],
+ [AC_MSG_NOTICE([YAML configuration: yes])],
+ [AC_MSG_NOTICE([YAML configuration: no])]
+)
AC_MSG_NOTICE([])
diff -Nru dnsdist-1.9.16/connection-management.hh dnsdist-2.1.3/connection-management.hh
--- dnsdist-1.9.16/connection-management.hh 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/connection-management.hh 2026-10-08 15:17:50.000000000 +0000
@@ -57,7 +57,8 @@
}
private:
- struct Data {
+ struct Data
+ {
size_t d_maxConcurrentConnections{0};
size_t d_currentConnectionsCount{0};
};
diff -Nru dnsdist-1.9.16/credentials.cc dnsdist-2.1.3/credentials.cc
--- dnsdist-1.9.16/credentials.cc 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/credentials.cc 2026-10-12 07:14:27.000000000 +0000
@@ -56,10 +56,6 @@
static size_t const pwhash_prefix_size = pwhash_prefix.size();
#endif
-uint64_t const CredentialsHolder::s_defaultWorkFactor{1024U}; /* N */
-uint64_t const CredentialsHolder::s_defaultParallelFactor{1U}; /* p */
-uint64_t const CredentialsHolder::s_defaultBlockSize{8U}; /* r */
-
SensitiveData::SensitiveData(std::string&& data) :
d_data(std::move(data))
{
@@ -110,10 +106,11 @@
}
// OpenSSL 3.0 changed the string arg to const unsigned char*, other versions use const char *
+ // NOLINTBEGIN(cppcoreguidelines-pro-type-reinterpret-cast)
#if OPENSSL_VERSION_MAJOR >= 3
- auto passwordData = reinterpret_cast(password.data());
+ const auto* passwordData = reinterpret_cast(password.data());
#else
- auto passwordData = reinterpret_cast(password.data());
+ const auto* passwordData = reinterpret_cast(password.data());
#endif
if (EVP_PKEY_CTX_set1_pbe_pass(pctx.get(), passwordData, password.size()) <= 0) {
throw std::runtime_error("Error adding the password to the scrypt context to hash the supplied password");
@@ -122,6 +119,7 @@
if (EVP_PKEY_CTX_set1_scrypt_salt(pctx.get(), reinterpret_cast(salt.data()), salt.size()) <= 0) {
throw std::runtime_error("Error adding the salt to the scrypt context to hash the supplied password");
}
+ // NOLINTEND(cppcoreguidelines-pro-type-reinterpret-cast)
if (EVP_PKEY_CTX_set_scrypt_N(pctx.get(), workFactor) <= 0) {
throw std::runtime_error("Error setting the work factor to the scrypt context to hash the supplied password");
@@ -139,6 +137,7 @@
out.resize(pwhash_output_size);
size_t outlen = out.size();
+ // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast)
if (EVP_PKEY_derive(pctx.get(), reinterpret_cast(out.data()), &outlen) <= 0 || outlen != pwhash_output_size) {
throw std::runtime_error("Error deriving the output from the scrypt context to hash the supplied password");
}
@@ -156,7 +155,8 @@
std::string salt;
salt.resize(pwhash_salt_size);
- if (RAND_bytes(reinterpret_cast(salt.data()), salt.size()) != 1) {
+ // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast)
+ if (RAND_bytes(reinterpret_cast(salt.data()), static_cast(salt.size())) != 1) {
throw std::runtime_error("Error while generating a salt to hash the supplied password");
}
@@ -375,6 +375,7 @@
if (!d_isHashed) {
d_fallbackHashPerturb = dns_random_uint32();
+ // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast)
d_fallbackHash = burtle(reinterpret_cast(d_credentials.getString().data()), d_credentials.getString().size(), d_fallbackHashPerturb);
}
}
@@ -390,14 +391,13 @@
if (d_isHashed) {
return verifyPassword(d_credentials.getString(), d_salt, d_workFactor, d_parallelFactor, d_blockSize, password);
}
- else {
- uint32_t fallback = burtle(reinterpret_cast(password.data()), password.size(), d_fallbackHashPerturb);
- if (fallback != d_fallbackHash) {
- return false;
- }
-
- return constantTimeStringEquals(password, d_credentials.getString());
+ // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast)
+ uint32_t fallback = burtle(reinterpret_cast(password.data()), password.size(), d_fallbackHashPerturb);
+ if (fallback != d_fallbackHash) {
+ return false;
}
+
+ return constantTimeStringEquals(password, d_credentials.getString());
}
bool CredentialsHolder::isHashingAvailable()
@@ -414,8 +414,8 @@
SensitiveData CredentialsHolder::readFromTerminal()
{
- struct termios term;
- struct termios oterm;
+ termios term{};
+ termios oterm{};
bool restoreTermSettings = false;
int termAction = TCSAFLUSH;
#ifdef TCSASOFT
@@ -442,19 +442,20 @@
}
struct std::map signals;
- struct sigaction sa;
- sigemptyset(&sa.sa_mask);
- sa.sa_flags = 0;
- sa.sa_handler = [](int /* s */) {};
- sigaction(SIGALRM, &sa, &signals[SIGALRM]);
- sigaction(SIGHUP, &sa, &signals[SIGHUP]);
- sigaction(SIGINT, &sa, &signals[SIGINT]);
- sigaction(SIGPIPE, &sa, &signals[SIGPIPE]);
- sigaction(SIGQUIT, &sa, &signals[SIGQUIT]);
- sigaction(SIGTERM, &sa, &signals[SIGTERM]);
- sigaction(SIGTSTP, &sa, &signals[SIGTSTP]);
- sigaction(SIGTTIN, &sa, &signals[SIGTTIN]);
- sigaction(SIGTTOU, &sa, &signals[SIGTTOU]);
+ struct sigaction sigact // just sigaction does not work, it clashes with sigaction(2)
+ {};
+ sigemptyset(&sigact.sa_mask);
+ sigact.sa_flags = 0;
+ sigact.sa_handler = [](int /* s */) {};
+ sigaction(SIGALRM, &sigact, &signals[SIGALRM]);
+ sigaction(SIGHUP, &sigact, &signals[SIGHUP]);
+ sigaction(SIGINT, &sigact, &signals[SIGINT]);
+ sigaction(SIGPIPE, &sigact, &signals[SIGPIPE]);
+ sigaction(SIGQUIT, &sigact, &signals[SIGQUIT]);
+ sigaction(SIGTERM, &sigact, &signals[SIGTERM]);
+ sigaction(SIGTSTP, &sigact, &signals[SIGTSTP]);
+ sigaction(SIGTTIN, &sigact, &signals[SIGTTIN]);
+ sigaction(SIGTTOU, &sigact, &signals[SIGTTOU]);
std::string buffer;
/* let's allocate a huge buffer now to prevent reallocation,
@@ -462,10 +463,10 @@
buffer.reserve(512);
for (;;) {
- char ch = '\0';
- auto got = read(input, &ch, 1);
- if (got == 1 && ch != '\n' && ch != '\r') {
- buffer.push_back(ch);
+ char character = '\0';
+ auto got = read(input, &character, 1);
+ if (got == 1 && character != '\n' && character != '\r') {
+ buffer.push_back(character);
}
else {
break;
@@ -480,5 +481,5 @@
sigaction(sig.first, &sig.second, nullptr);
}
- return SensitiveData(std::move(buffer));
+ return {std::move(buffer)};
}
diff -Nru dnsdist-1.9.16/credentials.hh dnsdist-2.1.3/credentials.hh
--- dnsdist-1.9.16/credentials.hh 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/credentials.hh 2026-10-12 07:14:27.000000000 +0000
@@ -27,13 +27,16 @@
class SensitiveData
{
public:
+ SensitiveData(const SensitiveData&) = delete;
+ SensitiveData(SensitiveData&&) = delete;
+ SensitiveData& operator=(const SensitiveData&) = delete;
SensitiveData(size_t bytes);
SensitiveData(std::string&& data);
SensitiveData& operator=(SensitiveData&&) noexcept;
~SensitiveData();
void clear();
- const std::string& getString() const
+ [[nodiscard]] const std::string& getString() const
{
return d_data;
}
@@ -55,10 +58,12 @@
class CredentialsHolder
{
public:
+ CredentialsHolder(CredentialsHolder&&) = delete;
+ CredentialsHolder& operator=(CredentialsHolder&&) = delete;
/* if hashPlaintext is true, the password is in cleartext and hashing is available,
the hashed form will be kept in memory.
Note that accepting hashed password from an untrusted source might open
- us to a denial of service, since we currently don't cap the the parameters,
+ us to a denial of service, since we currently don't cap the parameters,
including the work factor */
CredentialsHolder(std::string&& password, bool hashPlaintext);
~CredentialsHolder();
@@ -66,14 +71,14 @@
CredentialsHolder(const CredentialsHolder&) = delete;
CredentialsHolder& operator=(const CredentialsHolder&) = delete;
- bool matches(const std::string& password) const;
+ [[nodiscard]] bool matches(const std::string& password) const;
/* whether it was constructed from a hashed and salted string */
- bool wasHashed() const
+ [[nodiscard]] bool wasHashed() const
{
return d_wasHashed;
}
/* whether it is hashed in memory */
- bool isHashed() const
+ [[nodiscard]] bool isHashed() const
{
return d_isHashed;
}
@@ -81,9 +86,9 @@
static bool isHashingAvailable();
static SensitiveData readFromTerminal();
- static uint64_t const s_defaultWorkFactor;
- static uint64_t const s_defaultParallelFactor;
- static uint64_t const s_defaultBlockSize;
+ static uint64_t constexpr s_defaultWorkFactor{1024U}; /* N */
+ static uint64_t constexpr s_defaultParallelFactor{1U}; /* p */
+ static uint64_t constexpr s_defaultBlockSize{8U}; /* r */
private:
SensitiveData d_credentials;
diff -Nru dnsdist-1.9.16/debian/.gitlab-ci.yml dnsdist-2.1.3/debian/.gitlab-ci.yml
--- dnsdist-1.9.16/debian/.gitlab-ci.yml 2026-08-07 16:09:01.000000000 +0000
+++ dnsdist-2.1.3/debian/.gitlab-ci.yml 2026-08-15 19:07:29.000000000 +0000
@@ -3,8 +3,9 @@
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
variables:
- RELEASE: 'trixie'
+ RELEASE: 'unstable'
SALSA_CI_DISABLE_APTLY: 1
+ SALSA_CI_DISABLE_BLHC: 1
SALSA_CI_DISABLE_PIUPARTS: 1
SALSA_CI_DISABLE_REPROTEST: 1
SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: 1
diff -Nru dnsdist-1.9.16/debian/changelog dnsdist-2.1.3/debian/changelog
--- dnsdist-1.9.16/debian/changelog 2026-08-07 16:09:22.000000000 +0000
+++ dnsdist-2.1.3/debian/changelog 2026-11-03 17:14:09.000000000 +0000
@@ -1,37 +1,203 @@
-dnsdist (1.9.16-0+deb13u1) trixie-security; urgency=medium
+dnsdist (2.1.3-1~deb13u1) trixie-security; urgency=medium
- * New upstream version 1.9.16, fixing security issue
- CVE-2026-52682
+ * Target trixie.
+ * Revert "Build with lld 22, matching rustc LLVM 22 usage"
+ * Partially revert "Use debhelper-compat v14": We keep the new example
+ handling and the meson options. They are harmless with debhelper v13.
+ The v14-specifics stay reverted.
+ * Revert "Always build with luajit": Avoid breaking users using Lua 5.3
+ language features on non-{amd64,arm64}.
+ * Revert "Filter out -fno-stack-clash-protection on armhf"
+ * Revert "Enable LTO"
+ * Relax cargo dependencies for trixie
+ * Add smoke tests
- -- Chris Hofstaedtler Fri, 07 Aug 2026 18:09:22 +0200
+ -- Chris Hofstaedtler Tue, 03 Nov 2026 18:14:09 +0100
-dnsdist (1.9.15-0+deb13u1) trixie-security; urgency=medium
+dnsdist (2.1.3-1) unstable; urgency=medium
- * New upstream version 1.9.15, fixing security issues
- CVE-2026-40011, CVE-2026-42004, CVE-2026-42005, CVE-2026-40208,
- CVE-2026-40209, CVE-2026-40210, CVE-2026-40211
+ [ Chris Hofstaedtler ]
+ * New upstream version 2.1.3
+ * Build with lld 22, matching rustc LLVM 22 usage (Closes: #1149737)
+ * Update librust-cxx-dev build-dep to match upstream constraints
+ (Closes: #1141584)
- -- Chris Hofstaedtler Wed, 17 Jun 2026 00:17:43 +0200
+ [ Hector Cao ]
+ * Filter out -fno-stack-clash-protection on armhf (Closes: #1140146)
-dnsdist (1.9.14-0+deb13u1) trixie-security; urgency=medium
+ -- Chris Hofstaedtler Mon, 12 Oct 2026 17:01:24 +0200
- * New upstream version 1.9.14, fixing (from 1.9.13) CVE-2026-33257,
- CVE-2026-33260, CVE-2026-33596, CVE-2026-33597, CVE-2026-33598,
- CVE-2026-33599, CVE-2026-33602, CVE-2026-33595, CVE-2026-33254,
- CVE-2026-33594, CVE-2026-33593, (from 1.9.12) CVE-2026-0396,
- CVE-2026-0397, CVE-2026-24028, CVE-2026-24029, CVE-2026-24030,
- CVE-2026-27853, CVE-2026-27854.
- * Drop upstream-applied patches.
+dnsdist (2.1.2-1) unstable; urgency=medium
- -- Chris Hofstaedtler Sun, 26 Apr 2026 20:59:04 +0200
+ * New upstream version 2.1.2
-dnsdist (1.9.10-1+deb13u1) trixie; urgency=medium
+ -- Chris Hofstaedtler Tue, 08 Sep 2026 11:03:12 +0200
- * d/{gbp.conf,.gitlab-ci.yml}: setup for trixie
- * Apply upstream fix for CVE-2025-8671, CVE-2025-30187
- (Closes: #1115643)
+dnsdist (2.1.1-1) unstable; urgency=medium
- -- Chris Hofstaedtler Fri, 12 Sep 2025 10:39:35 +0200
+ * New upstream version 2.1.1, fixing CVE-2026-52682
+
+ -- Chris Hofstaedtler Thu, 06 Aug 2026 17:44:48 +0200
+
+dnsdist (2.1.0-2) unstable; urgency=medium
+
+ * lintian: ignore embedded-library libyaml false-positive
+ * Bump Standards-Version
+ * Use debhelper-compat v14
+
+ -- Chris Hofstaedtler Sun, 05 Jul 2026 14:32:25 +0200
+
+dnsdist (2.1.0-1) unstable; urgency=medium
+
+ * New upstream version 2.1.0
+ * Rebase patches
+
+ -- Chris Hofstaedtler Thu, 02 Jul 2026 15:17:08 +0200
+
+dnsdist (2.0.6-1) unstable; urgency=medium
+
+ * New upstream version 2.0.6
+
+ -- Chris Hofstaedtler Fri, 26 Jun 2026 18:54:42 +0200
+
+dnsdist (2.0.5-3) unstable; urgency=medium
+
+ [ Luca Boccassi ]
+ * Install and use sysusers.d/tmpfiles.d config files
+
+ [ Chris Hofstaedtler ]
+ * d/watch: reformat
+ * Build-Depend: architecture-is-64-bit to avoid broken 32bit builds
+
+ -- Chris Hofstaedtler Sun, 21 Jun 2026 11:27:06 +0200
+
+dnsdist (2.0.5-2) unstable; urgency=medium
+
+ * Setup branches for multiple debian releases
+ * Remove obsolete override_dh_gencontrol
+ * Build-Depend on individual boost libraries.
+ In a discussion with upstream we discovered that libboost-all-dev pulls
+ in openmpi, gfortran, et al. This chain can sometimes pull in a
+ different gcc than the default, leading to interesting build failures
+ when combined with rust staticlibs.
+ We need libboost-container-dev to avoid a quirk in meson, see
+ https://github.com/mesonbuild/meson/issues/15858.
+ * Enable LTO.
+ Needs clang/lld so we can link Rust and C++ with LTO. Import this
+ approach from Upstream, but add RUSTFLAGS and adapt for our Debian
+ crate-using build.
+ * Always build with luajit, available on all release archs.
+ * d/watch: update to version 5
+
+ -- Chris Hofstaedtler Sat, 30 May 2026 01:01:02 +0200
+
+dnsdist (2.0.5-1) unstable; urgency=medium
+
+ * New upstream version 2.0.5, fixing a regression introduced
+ in 2.0.4.
+
+ -- Chris Hofstaedtler Thu, 23 Apr 2026 12:37:08 +0200
+
+dnsdist (2.0.4-1) unstable; urgency=medium
+
+ * New upstream version 2.0.4, fixing security issues:
+ CVE-2026-33254, CVE-2026-33257, CVE-2026-33260, CVE-2026-33593,
+ CVE-2026-33594, CVE-2026-33595, CVE-2026-33596, CVE-2026-33597,
+ CVE-2026-33598, CVE-2026-33599, CVE-2026-33602
+
+ -- Chris Hofstaedtler Wed, 22 Apr 2026 14:54:10 +0200
+
+dnsdist (2.0.3-1) unstable; urgency=medium
+
+ * Drop upstream signing keys due to SHA1 usage
+ * New upstream version 2.0.3, fixing security issues:
+ CVE-2026-0396, CVE-2026-0397, CVE-2026-24028, CVE-2026-24029,
+ CVE-2026-24030, CVE-2026-27853, CVE-2026-27854
+
+ -- Chris Hofstaedtler Tue, 31 Mar 2026 14:39:16 +0200
+
+dnsdist (2.0.2-1) unstable; urgency=medium
+
+ * Add Recommends: ca-certificates so DoT can perform cert validation
+ * Add X-Style: black
+ * Build with GnuTLS again
+ * New upstream version 2.0.2
+ * Fix build with protobuf enabled
+
+ -- Chris Hofstaedtler Tue, 02 Dec 2025 16:12:17 +0100
+
+dnsdist (2.0.1-1) unstable; urgency=medium
+
+ * New upstream version 2.0.1, includes fix for CVE-2025-30187
+ Closes: #1115643
+ * Drop upstream-applied patch
+
+ -- Chris Hofstaedtler Mon, 22 Sep 2025 17:35:43 +0200
+
+dnsdist (2.0.0-6) unstable; urgency=medium
+
+ * d/copyright: Remove old FSF address
+
+ -- Chris Hofstaedtler Sun, 07 Sep 2025 13:17:29 +0200
+
+dnsdist (2.0.0-5) unstable; urgency=medium
+
+ [ Fabian Grünbichler ]
+ * d/rules: drop CARGO_REGISTRY, improves Static-Built-Using
+
+ -- Chris Hofstaedtler Sat, 06 Sep 2025 17:10:24 +0200
+
+dnsdist (2.0.0-4) unstable; urgency=medium
+
+ * d/rules: fix DEB_VERSION/DEB_VENDOR being empty
+
+ -- Chris Hofstaedtler Tue, 02 Sep 2025 23:14:19 +0200
+
+dnsdist (2.0.0-3) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Chris Hofstaedtler Tue, 12 Aug 2025 10:52:18 +0200
+
+dnsdist (2.0.0-2) experimental; urgency=medium
+
+ * Fix Build-Depends on systemd-dev
+ * Use meson to build, instead of autotools
+
+ -- Chris Hofstaedtler Thu, 31 Jul 2025 00:52:27 +0200
+
+dnsdist (2.0.0-1) experimental; urgency=medium
+
+ * New upstream version 2.0.0
+
+ -- Chris Hofstaedtler Mon, 21 Jul 2025 20:28:28 +0200
+
+dnsdist (2.0.0~rc2-1) experimental; urgency=medium
+
+ * New upstream version 2.0.0~rc2
+ * d/watch: update tarball suffix
+ * d/rules: disable dh_dwz as it breaks
+ * Drop upstream applied patch
+ * d/control: add Built-Using, Static-Built-Using
+
+ -- Chris Hofstaedtler Sun, 20 Jul 2025 12:17:04 +0200
+
+dnsdist (2.0.0~rc1-2) experimental; urgency=medium
+
+ * Drop accidental B-D: architecture-is-64-bit
+
+ -- Chris Hofstaedtler Sat, 12 Jul 2025 21:00:44 +0200
+
+dnsdist (2.0.0~rc1-1) experimental; urgency=medium
+
+ * New upstream version 2.0.0~rc1
+ * Simplify Build-Depends already satisfied in stable
+ * Use lua5.3 on non-luajit archs, mirroring upstream
+ * Build-Depend: python3-yaml, necessary now
+ * Build with rust, enable yaml config
+ * Remove libh2o leftovers
+
+ -- Chris Hofstaedtler Sat, 12 Jul 2025 15:50:09 +0200
dnsdist (1.9.10-1) unstable; urgency=medium
diff -Nru dnsdist-1.9.16/debian/control dnsdist-2.1.3/debian/control
--- dnsdist-1.9.16/debian/control 2026-08-07 16:09:01.000000000 +0000
+++ dnsdist-2.1.3/debian/control 2026-11-03 17:14:09.000000000 +0000
@@ -1,49 +1,69 @@
Source: dnsdist
Section: net
Priority: optional
-Standards-Version: 4.5.1
+Standards-Version: 4.7.4
Maintainer: dnsdist packagers
Uploaders:
- Chris Hofstaedtler
+ Chris Hofstaedtler ,
Build-Depends:
- cmake,
debhelper-compat (= 13),
+ dh-cargo,
+ dh-sequence-installsysusers,
dpkg-dev (>= 1.22.5),
- libboost-all-dev,
+ architecture-is-64-bit,
+ cargo,
+ libboost-container-dev,
+ libboost-dev,
+ libboost-test-dev,
libbpf-dev,
libcap-dev [linux-any],
libcdb-dev,
libedit-dev,
libfstrm-dev,
+ libgnutls28-dev,
liblmdb-dev,
- libluajit-5.1-dev (>= 2.1.0~beta3+dfsg-5.3) [amd64 arm64] | libluajit-5.1-dev [amd64] | liblua5.1-0-dev,
+ libluajit-5.1-dev [amd64 arm64] | liblua5.3-dev,
libnghttp2-dev,
libprotobuf-dev,
libre2-dev,
+ librust-cxx-build-dev (>= 1.0.130-1~),
+ librust-cxx-dev (>= 1.0.130-1~),
+ librust-cxx-dev (<= 1.0.175~) | librust-cxx-dev (>= 1.0.181-1~),
+ librust-serde-derive-dev,
+ librust-serde-dev,
+ librust-serde-yaml-dev (>= 0.9.34~),
libsnmp-dev,
libsodium-dev,
libssl-dev,
libsystemd-dev,
libxdp-dev,
+ meson,
pkgconf,
protobuf-compiler,
+ python3-yaml,
ragel,
systemd,
- systemd-dev | systemd,
- zlib1g-dev
+ systemd-dev | systemd (<< 257),
+ zlib1g-dev,
Vcs-Git: https://salsa.debian.org/debian/dnsdist.git
Vcs-Browser: https://salsa.debian.org/debian/dnsdist
Homepage: https://dnsdist.org
Rules-Requires-Root: no
+X-Style: black
Package: dnsdist
Architecture: any
Pre-Depends:
- ${misc:Pre-Depends}
+ ${misc:Pre-Depends},
Depends:
- adduser,
${misc:Depends},
- ${shlibs:Depends}
+ ${shlibs:Depends},
+Recommends:
+ ca-certificates,
+Built-Using:
+ ${cargo:Built-Using},
+Static-Built-Using:
+ ${cargo:Static-Built-Using},
Description: DNS loadbalancer
Highly DoS- and abuse-aware load balancing tool for DNS traffic,
with Lua scripting and configuration capability.
diff -Nru dnsdist-1.9.16/debian/copyright dnsdist-2.1.3/debian/copyright
--- dnsdist-1.9.16/debian/copyright 2026-08-07 16:09:01.000000000 +0000
+++ dnsdist-2.1.3/debian/copyright 2026-08-15 19:07:29.000000000 +0000
@@ -96,10 +96,6 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- .
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
@@ -188,10 +184,6 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- .
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
@@ -207,10 +199,6 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- .
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
diff -Nru dnsdist-1.9.16/debian/dnsdist.examples dnsdist-2.1.3/debian/dnsdist.examples
--- dnsdist-1.9.16/debian/dnsdist.examples 2026-08-07 16:09:01.000000000 +0000
+++ dnsdist-2.1.3/debian/dnsdist.examples 1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-dnsdist.conf
diff -Nru dnsdist-1.9.16/debian/dnsdist.lintian-overrides dnsdist-2.1.3/debian/dnsdist.lintian-overrides
--- dnsdist-1.9.16/debian/dnsdist.lintian-overrides 2026-08-07 16:09:01.000000000 +0000
+++ dnsdist-2.1.3/debian/dnsdist.lintian-overrides 2026-08-15 19:07:29.000000000 +0000
@@ -1,2 +1,5 @@
# Often this file will contain passwords.
dnsdist: non-standard-file-perm 0640 != 0644 [etc/dnsdist/dnsdist.conf]
+
+# serde_yaml uses a rust port of libyaml, not the C libyaml
+dnsdist: embedded-library libyaml [usr/bin/dnsdist]
diff -Nru dnsdist-1.9.16/debian/dnsdist.postinst dnsdist-2.1.3/debian/dnsdist.postinst
--- dnsdist-1.9.16/debian/dnsdist.postinst 2026-08-07 16:09:01.000000000 +0000
+++ dnsdist-2.1.3/debian/dnsdist.postinst 1970-01-01 00:00:00.000000000 +0000
@@ -1,40 +0,0 @@
-#! /bin/sh
-
-set -e
-
-# summary of how this script can be called:
-# * `configure'
-# * `abort-upgrade'
-# * `abort-remove' `in-favour'
-#
-# * `abort-deconfigure' `in-favour'
-# `removing'
-#
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-case "$1" in
- configure)
-
- adduser --force-badname --system --home /nonexistent --group \
- --no-create-home --quiet _dnsdist || true
-
- chown root:_dnsdist /etc/dnsdist/dnsdist.conf
- chmod g+r /etc/dnsdist/dnsdist.conf
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff -Nru dnsdist-1.9.16/debian/dnsdist.sysusers dnsdist-2.1.3/debian/dnsdist.sysusers
--- dnsdist-1.9.16/debian/dnsdist.sysusers 1970-01-01 00:00:00.000000000 +0000
+++ dnsdist-2.1.3/debian/dnsdist.sysusers 2026-08-15 19:07:29.000000000 +0000
@@ -0,0 +1 @@
+u! _dnsdist - - /nonexistent /usr/sbin/nologin
diff -Nru dnsdist-1.9.16/debian/dnsdist.tmpfiles dnsdist-2.1.3/debian/dnsdist.tmpfiles
--- dnsdist-1.9.16/debian/dnsdist.tmpfiles 1970-01-01 00:00:00.000000000 +0000
+++ dnsdist-2.1.3/debian/dnsdist.tmpfiles 2026-08-15 19:07:29.000000000 +0000
@@ -0,0 +1 @@
+z /etc/dnsdist/dnsdist.conf 0640 root _dnsdist
diff -Nru dnsdist-1.9.16/debian/gbp.conf dnsdist-2.1.3/debian/gbp.conf
--- dnsdist-1.9.16/debian/gbp.conf 2026-08-07 16:09:01.000000000 +0000
+++ dnsdist-2.1.3/debian/gbp.conf 2026-08-15 19:07:29.000000000 +0000
@@ -2,5 +2,5 @@
pristine-tar = True
multimaint-merge = True
patch-numbers = False
-debian-branch = debian/trixie
-upstream-branch = upstream/trixie
+debian-branch = debian/latest
+upstream-branch = upstream/latest
diff -Nru dnsdist-1.9.16/debian/missing-sources/jquery.js dnsdist-2.1.3/debian/missing-sources/jquery.js
--- dnsdist-1.9.16/debian/missing-sources/jquery.js 2026-08-05 14:29:01.000000000 +0000
+++ dnsdist-2.1.3/debian/missing-sources/jquery.js 2026-10-08 15:17:50.000000000 +0000
@@ -1,27 +1,26 @@
/*!
- * jQuery JavaScript Library v1.12.0
- * http://jquery.com/
+ * jQuery JavaScript Library v3.7.1
+ * https://jquery.com/
*
- * Includes Sizzle.js
- * http://sizzlejs.com/
- *
- * Copyright jQuery Foundation and other contributors
+ * Copyright OpenJS Foundation and other contributors
* Released under the MIT license
- * http://jquery.org/license
+ * https://jquery.org/license
*
- * Date: 2016-01-08T19:56Z
+ * Date: 2023-08-28T13:37Z
*/
+( function( global, factory ) {
-(function( global, factory ) {
+ "use strict";
if ( typeof module === "object" && typeof module.exports === "object" ) {
+
// For CommonJS and CommonJS-like environments where a proper `window`
// is present, execute the factory and get jQuery.
// For environments that do not have a `window` with a `document`
// (such as Node.js), expose a factory as module.exports.
// This accentuates the need for the creation of a real `window`.
// e.g. var jQuery = require("jquery")(window);
- // See ticket #14549 for more info.
+ // See ticket trac-14549 for more info.
module.exports = global.document ?
factory( global, true ) :
function( w ) {
@@ -35,24 +34,30 @@
}
// Pass this if window is not defined yet
-}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
+} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
-// Support: Firefox 18+
-// Can't be in strict mode, several libs including ASP.NET trace
-// the stack via arguments.caller.callee and Firefox dies if
-// you try to trace through "use strict" call chains. (#13335)
-//"use strict";
-var deletedIds = [];
+// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1
+// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode
+// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common
+// enough that all such attempts are guarded in a try block.
+"use strict";
-var document = window.document;
+var arr = [];
-var slice = deletedIds.slice;
+var getProto = Object.getPrototypeOf;
+
+var slice = arr.slice;
+
+var flat = arr.flat ? function( array ) {
+ return arr.flat.call( array );
+} : function( array ) {
+ return arr.concat.apply( [], array );
+};
-var concat = deletedIds.concat;
-var push = deletedIds.push;
+var push = arr.push;
-var indexOf = deletedIds.indexOf;
+var indexOf = arr.indexOf;
var class2type = {};
@@ -60,12 +65,91 @@
var hasOwn = class2type.hasOwnProperty;
+var fnToString = hasOwn.toString;
+
+var ObjectFunctionString = fnToString.call( Object );
+
var support = {};
+var isFunction = function isFunction( obj ) {
+
+ // Support: Chrome <=57, Firefox <=52
+ // In some browsers, typeof returns "function" for HTML