aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-09 20:02:48 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-09 20:05:13 -0400
commitb2d4456b333970ab4cb01ed8045b9a8d2c4832f3 (patch)
tree9da01170c1c07c59a4fb786d7e9d244756b84c62 /sysdeps/i386
parent20003c49884422da7ffbc459cdeee768a6fee07b (diff)
downloadglibc-b2d4456b333970ab4cb01ed8045b9a8d2c4832f3.tar
glibc-b2d4456b333970ab4cb01ed8045b9a8d2c4832f3.tar.gz
glibc-b2d4456b333970ab4cb01ed8045b9a8d2c4832f3.tar.bz2
glibc-b2d4456b333970ab4cb01ed8045b9a8d2c4832f3.zip
configure: fix `test ==` usage
POSIX defines the = operator, but not ==. Fix the few places where we incorrectly used ==.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/configure2
-rw-r--r--sysdeps/i386/configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure
index 9515719daa..5b55c5affe 100644
--- a/sysdeps/i386/configure
+++ b/sysdeps/i386/configure
@@ -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
diff --git a/sysdeps/i386/configure.ac b/sysdeps/i386/configure.ac
index f8f9e44909..19ef33f34a 100644
--- a/sysdeps/i386/configure.ac
+++ b/sysdeps/i386/configure.ac
@@ -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