[Mesa-dev] [PATCH 10/17] configure.ac: don't use == with test
Emil Velikov
emil.l.velikov at gmail.com
Tue Feb 7 22:44:52 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
Although it works, it's not the correct thing to do.
v2: Rebase
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Tobias Droste <tdroste at gmx.de> (v1)
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1b28eb3b3b..23e8a34da1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2370,14 +2370,14 @@ if test -n "$with_gallium_drivers"; then
done
fi
-if test "x$enable_gallium_llvm" == "xyes"; then
+if test "x$enable_gallium_llvm" = "xyes"; then
llvm_require_version $LLVM_REQUIRED_GALLIUM "gallium"
llvm_add_default_components "gallium"
fi
dnl We need to validate some needed dependencies for renderonly drivers.
-if test "x$HAVE_GALLIUM_ETNAVIV" != xyes -a "x$HAVE_GALLIUM_IMX" == xyes ; then
+if test "x$HAVE_GALLIUM_ETNAVIV" != xyes -a "x$HAVE_GALLIUM_IMX" = xyes ; then
AC_ERROR([Building with imx requires etnaviv])
fi
--
2.11.0
More information about the mesa-dev
mailing list