From b2d4456b333970ab4cb01ed8045b9a8d2c4832f3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 9 Apr 2016 20:02:48 -0400 Subject: configure: fix `test ==` usage POSIX defines the = operator, but not ==. Fix the few places where we incorrectly used ==. --- sysdeps/x86_64/configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/x86_64/configure') diff --git a/sysdeps/x86_64/configure b/sysdeps/x86_64/configure index c72b9d3..88fbfe4 100644 --- a/sysdeps/x86_64/configure +++ b/sysdeps/x86_64/configure @@ -24,7 +24,7 @@ rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_avx512" >&5 $as_echo "$libc_cv_asm_avx512" >&6; } -if test $libc_cv_asm_avx512 == yes; then +if test $libc_cv_asm_avx512 = yes; then $as_echo "#define HAVE_AVX512_ASM_SUPPORT 1" >>confdefs.h fi @@ -77,7 +77,7 @@ rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_mpx" >&5 $as_echo "$libc_cv_asm_mpx" >&6; } -if test $libc_cv_asm_mpx == yes; then +if test $libc_cv_asm_mpx = yes; then $as_echo "#define HAVE_MPX_SUPPORT 1" >>confdefs.h fi -- cgit v1.1