]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
configure: fix `test ==` usage
authorMike Frysinger <vapier@gentoo.org>
Sun, 10 Apr 2016 00:02:48 +0000 (20:02 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 10 Apr 2016 00:12:32 +0000 (20:12 -0400)
POSIX defines the = operator, but not ==.  Fix the few places where we
incorrectly used ==.

(cherry picked from commit b2d4456b333970ab4cb01ed8045b9a8d2c4832f3)

ChangeLog
sysdeps/x86_64/configure
sysdeps/x86_64/configure.ac

index c47c0b50f431a70a5b0d221c2d1b604326bbdea1..9fcba1d1650e9e6f56f229549bcab237a768edb9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/x86_64/configure.ac: Change == to = when calling test.
+       * sysdeps/x86_64/configure: Likewise.
+
 2016-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
 
        * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
index 7d4dadd4fdd97386d840b31a0e0468a1551ddc77..0c0e4d0e28c8703e3bb7ed5c32b179ddf5a4462f 100644 (file)
@@ -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
index c9f9a51f72a631f421d36c28007f28b7214028e2..4b3d7bf30e078c614694c0b550b9c2406db363cc 100644 (file)
@@ -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