configure: remove bashism.

== is bash-only; for other shells this gives an error (meaning that you won't
get the sanity check):

	./configure
	Compiling ccan/tools/configurator/configurator...done
	./configure: 148: [: gcc: unexpected operator

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2019-02-28 09:16:50 +10:30
parent 02faadfb93
commit d98fb0fd5b

2
configure vendored
View file

@ -145,7 +145,7 @@ if [ -z "$VALGRIND" ]; then
fi
if [ "$ASAN" = "1" ]; then
if [ "$CC" == "clang" ]; then
if [ "$CC" = "clang" ]; then
echo "Address sanitizer (ASAN) is currently only supported with gcc"
exit 1
fi