Skip to content
Commit cb7b1c90 authored by Sam James's avatar Sam James Committed by Mike Frysinger
Browse files

configure.ac: fix bashisms in configure.ac



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.

Fixes configure warnings/errors like:
```
checking if compiler warns about alias for function with incompatible types... yes
/var/tmp/portage/sys-libs/glibc-2.34-r10/work/glibc-2.34/configure: 4209: test: xyes: unexpected operator
```

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: default avatarSam James <sam@gentoo.org>
parent d3f2c2c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment