From d98fb0fd5b16315c11dba596c27f3d73f08e1f60 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 28 Feb 2019 09:16:50 +1030 Subject: [PATCH] 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 2866be162..0532de67c 100755 --- a/configure +++ b/configure @@ -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