From a79560163cd52abe45f51d5349f5c89c36dc1ff0 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 15 Dec 2023 04:15:30 +0000 Subject: [PATCH] btrfs-progs: build: fix bashism in target_cpu comparison The "=" operator should be used as configure may be run by a POSIX shell at /bin/sh (like dash). Bash recognises "=" too so this retains compatibility with it. Pull-request: #721 Signed-off-by: Sam James Signed-off-by: David Sterba --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a049be08..a7311d2f 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ AC_C_CONST AC_C_VOLATILE AC_C_BIGENDIAN -if test "x$target_cpu" == 'xx86_64'; then +if test "x$target_cpu" = 'xx86_64'; then AX_CHECK_COMPILE_FLAG([-msse2], [HAVE_CFLAG_msse2=1], [HAVE_CFLAG_msse2=0]) AC_SUBST([HAVE_CFLAG_msse2])