]> 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:08:31 +0000 (20:08 -0400)
POSIX defines the = operator, but not ==.  Fix the few places where we
incorrectly used ==.

(cherry picked from commit b2d4456b333970ab4cb01ed8045b9a8d2c4832f3)

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

index 0b6deab1f2883abe946a32104b851f63e6d9535f..b6862317143837b62f609cef9e7e8a2d24262cd2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-04-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/i386/configure.ac: Change == to = when calling test.
+       * sysdeps/x86_64/configure.ac: Likewise.
+       * sysdeps/i386/configure: Regenerated.
+       * sysdeps/x86_64/configure: Likewise.
+
 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
 
        * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
index ab66c081609c9b70699b7048fce52153a2efda67..b0ef1fc26ca10de5bc7f840f927a6e8982a4b0b8 100644 (file)
@@ -262,7 +262,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 a3f3067fb7571280fb2b78493ce9fd179d102b88..5647cb044d58000f4ef55019d6fd260a18aa79c2 100644 (file)
@@ -99,7 +99,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
 
index 552f535ac6af9682646f770d86634d0eb386da28..e6a965118173a1514bf0514769d57f61374ec5a1 100644 (file)
@@ -118,7 +118,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
@@ -245,7 +245,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 e7208c9b302be1132f28e161a094f9399e5208c3..b72117345030227ec0e0ce0e64a1b1096687574f 100644 (file)
@@ -35,7 +35,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
 
@@ -87,7 +87,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