From: Mike Frysinger Date: Sun, 10 Apr 2016 00:02:48 +0000 (-0400) Subject: configure: fix `test ==` usage X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2c17de539da301c96afa4181347c63eb94d99b1;p=thirdparty%2Fglibc.git configure: fix `test ==` usage POSIX defines the = operator, but not ==. Fix the few places where we incorrectly used ==. (cherry picked from commit b2d4456b333970ab4cb01ed8045b9a8d2c4832f3) --- diff --git a/ChangeLog b/ChangeLog index 0b6deab1f28..b6862317143 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-04-09 Mike Frysinger + + * 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 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure index ab66c081609..b0ef1fc26ca 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 a3f3067fb75..5647cb044d5 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 552f535ac6a..e6a96511817 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 e7208c9b302..b7211734503 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