configure.ac: Test IPv6 compatibility instead of relying on library probes (#206)
authorJonathan Davies <jd+github@upthedownstair.com>
Sun, 26 Sep 2021 18:25:06 +0000 (19:25 +0100)
committerGitHub <noreply@github.com>
Sun, 26 Sep 2021 18:25:06 +0000 (11:25 -0700)
commit1fa0bd1e87030c450026e149ccfa959e066b318a
tree5a52362bbea1337bbe6ae0da845c9eb115d2c593
parent592c6bc3e5e93f36c2fdc0a491a9fb43a41cf688
configure.ac: Test IPv6 compatibility instead of relying on library probes (#206)

Legacy configure behaviour was to detect IPv6 support through known IPv6
capable version of common standard libraries. Now: it runs a POSIX test
to determine if IPv6 is usable (in case it has not been disabled).

Patch originally from Pierre-Olivier Mercier <nemunaire@nemunai.re>.

Signed-off-by: Jonathan Davies <jpds@protonmail.com>
configure.ac