]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
configure.ac: fix bashisms
authorSam James <sam@gentoo.org>
Sun, 19 Feb 2023 18:33:20 +0000 (18:33 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 30 Apr 2023 08:23:42 +0000 (09:23 +0100)
commit8b3141f544a5bc290a8d88c454495a1130a0f347
treea9ad64af92c405e1b1d46184c8d3a299bfc1bf37
parentfa91c2ba4495c2d545f40a29578cddd5977569b3
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.

Fixes configure warnings/errors like:
```
checking for libtraceevent... yes
./configure: 13430: test: x: unexpected operator
./configure: 13439: test: x: unexpected operator
```

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
configure.ac