diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-04-09 20:02:48 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-04-09 20:13:40 -0400 |
commit | 402fa33cf0815f04b2d621ce57418d71b432740a (patch) | |
tree | 836211e971dcf2560b6e5121b7a4401400b3eadf | |
parent | 2f012b713af72215364cd233853335297729fb4e (diff) | |
download | glibc-gentoo/2.22.zip glibc-gentoo/2.22.tar.gz glibc-gentoo/2.22.tar.bz2 |
configure: fix `test ==` usagegentoo/2.22
POSIX defines the = operator, but not ==. Fix the few places where we
incorrectly used ==.
(cherry picked from commit b2d4456b333970ab4cb01ed8045b9a8d2c4832f3)
(cherry picked from commit e2c17de539da301c96afa4181347c63eb94d99b1)
-rw-r--r-- | sysdeps/i386/configure | 2 | ||||
-rw-r--r-- | sysdeps/i386/configure.ac | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/configure | 4 | ||||
-rw-r--r-- | sysdeps/x86_64/configure.ac | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure index ab66c08..b0ef1fc 100644 --- a/sysdeps/i386/configure +++ b/sysdeps/i386/configure @@ -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 diff --git a/sysdeps/i386/configure.ac b/sysdeps/i386/configure.ac index a3f3067..5647cb0 100644 --- a/sysdeps/i386/configure.ac +++ b/sysdeps/i386/configure.ac @@ -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 diff --git a/sysdeps/x86_64/configure b/sysdeps/x86_64/configure index 552f535..e6a9651 100644 --- a/sysdeps/x86_64/configure +++ b/sysdeps/x86_64/configure @@ -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 diff --git a/sysdeps/x86_64/configure.ac b/sysdeps/x86_64/configure.ac index e7208c9..b721173 100644 --- a/sysdeps/x86_64/configure.ac +++ b/sysdeps/x86_64/configure.ac @@ -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 |