From: Mike Frysinger Date: Sun, 10 Apr 2016 00:02:48 +0000 (-0400) Subject: configure: fix `test ==` usage X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57d1664a03c298147ee6da9e0d513117fe750427;p=thirdparty%2Fglibc.git configure: fix `test ==` usage POSIX defines the = operator, but not ==. Fix the few places where we incorrectly used ==. (cherry picked from commit b2d4456b333970ab4cb01ed8045b9a8d2c4832f3) --- diff --git a/ChangeLog b/ChangeLog index c47c0b50f43..9fcba1d1650 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-04-09 Mike Frysinger + + * sysdeps/x86_64/configure.ac: Change == to = when calling test. + * sysdeps/x86_64/configure: Likewise. + 2016-04-04 Stefan Liebler * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef. diff --git a/sysdeps/x86_64/configure b/sysdeps/x86_64/configure index 7d4dadd4fdd..0c0e4d0e28c 100644 --- a/sysdeps/x86_64/configure +++ b/sysdeps/x86_64/configure @@ -117,7 +117,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 @@ -244,7 +244,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 diff --git a/sysdeps/x86_64/configure.ac b/sysdeps/x86_64/configure.ac index c9f9a51f72a..4b3d7bf30e0 100644 --- a/sysdeps/x86_64/configure.ac +++ b/sysdeps/x86_64/configure.ac @@ -34,7 +34,7 @@ else libc_cv_asm_avx512=no fi rm -f conftest*]) -if test $libc_cv_asm_avx512 == yes; then +if test $libc_cv_asm_avx512 = yes; then AC_DEFINE(HAVE_AVX512_ASM_SUPPORT) fi @@ -86,7 +86,7 @@ else libc_cv_asm_mpx=no fi rm -f conftest*]) -if test $libc_cv_asm_mpx == yes; then +if test $libc_cv_asm_mpx = yes; then AC_DEFINE(HAVE_MPX_SUPPORT) fi