]> git.gsnw.org Git - fping.git/commit
configure.ac: improve portability
authorErik Auerswald <auerswal@unix-ag.uni-kl.de>
Tue, 6 Jan 2026 23:47:32 +0000 (00:47 +0100)
committerErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sun, 11 Jan 2026 07:20:26 +0000 (08:20 +0100)
commit5fe631e98f982eb19512ef5920cbceacfde3277e
tree61be68a2a7c243cf0c1573a32d34bd6bc75ff06a
parent7dcd667e4c1843346cde45ac964242107910f9b4
configure.ac: improve portability

Testing string equality using "test" is done with the "="
operator.  Bash also accepts "==", but this is not portable.
The issue was noticed on NetBSD, which uses a patch to the
generated "configure" script[1].

[1] https://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/fping/patches/patch-configure?rev=1.3;content-type=text%2Fplain
CHANGELOG.md
configure.ac