HomeClusterLabs Projects

configure.ac: Fix bashisms

Description

configure.ac: Fix bashisms

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>

Details

Provenance
Sam James <sam@gentoo.org>Authored on Nov 17 2022, 9:13 PM
Parents
rR2113da35b054: Merge pull request #1819 from XingWei-Liu/main
Branches
Unknown
Tags
Unknown

Event Timeline

Sam James <sam@gentoo.org> committed rR12e10f991d64: configure.ac: Fix bashisms (authored by Sam James <sam@gentoo.org>).Nov 17 2022, 9:13 PM