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:12:32 -0400 |
commit | 57d1664a03c298147ee6da9e0d513117fe750427 (patch) | |
tree | afef425dd5ef292f2680fcb79b7489ad66a5af9c | |
parent | 4cf2b4e80a41f96f1b867f253547241871827ef1 (diff) | |
download | glibc-57d1664a03c298147ee6da9e0d513117fe750427.tar.gz glibc-57d1664a03c298147ee6da9e0d513117fe750427.tar.xz glibc-57d1664a03c298147ee6da9e0d513117fe750427.zip |
configure: fix `test ==` usage
POSIX defines the = operator, but not ==. Fix the few places where we incorrectly used ==. (cherry picked from commit b2d4456b333970ab4cb01ed8045b9a8d2c4832f3)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/x86_64/configure | 4 | ||||
-rw-r--r-- | sysdeps/x86_64/configure.ac | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index c47c0b50f4..9fcba1d165 100644 --- 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. diff --git a/sysdeps/x86_64/configure b/sysdeps/x86_64/configure index 7d4dadd4fd..0c0e4d0e28 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 c9f9a51f72..4b3d7bf30e 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 |