]> git.ipfire.org Git - thirdparty/libarchive.git/commit
configure.ac: fix bashism in dead code removal check (#2117)
authorSam James <sam@cmpct.info>
Wed, 10 Apr 2024 03:15:17 +0000 (04:15 +0100)
committerGitHub <noreply@github.com>
Wed, 10 Apr 2024 03:15:17 +0000 (20:15 -0700)
commit341800da257fb8c31b8b4281604fb7e3436b61f3
tree4ee06a420d71daa54e8793e3c0ea68eb07730596
parentb3be94ba4f36943745e64a6a0a3c21c2d1281d3c
configure.ac: fix bashism in dead code removal check (#2117)

configure scripts need to be runnable with a POSIX-compliant /bin/sh.

On many (but not all!) systems, /bin/sh is provided by Bash, so errors
like this aren't spotted. Notably Debian defaults to /bin/sh provided by
dash which doesn't tolerate such bashisms as '=='.

This retains compatibility with bash.

Signed-off-by: Sam James <sam@gentoo.org>
configure.ac