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

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

index 4bf8fc398a36d637d3d49d539dbda9a0c0f1f146..e5f78c019d03d5ca67065e9ab45771066842fc8c 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.
+
 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
 
        [BZ #16137]
index 9515719daae24bfe723e48fdfb2f4cba39c6fe96..5b55c5affe71ad3a1a144efb7f9ba0482a63ec6e 100644 (file)
@@ -72,7 +72,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 f8f9e44909af8bc07ff7dc9289fbb216f0e82267..19ef33f34a334e0a3e438f6e2238755a08e08373 100644 (file)
@@ -41,7 +41,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 c72b9d3184f1928abf391ee113df1dcab9a344aa..88fbfe457e6d320886ba17acd429974d972564be 100644 (file)
@@ -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
index 37b1059af3f912e71a0e1d0e22712ea209c14e58..b39309e456eabf7e70cd975170a1577f0bb1cc25 100644 (file)
@@ -13,7 +13,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
 
@@ -37,7 +37,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