Module: Mesa
Branch: master
Commit: 5e9f4a5f3f785d188695cb11437d0d303b2d5c70
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e9f4a5f3f785d188695cb11437d0d303b2d5c70

Author: Emil Velikov <emil.veli...@collabora.com>
Date:   Wed Jan 18 13:54:00 2017 +0000

configure.ac: don't use == with test

Although it works, it's not the correct thing to do.

v2: Rebase
v3: Rebase

Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
Reviewed-by: Tobias Droste <tdro...@gmx.de> (v1)

---

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index c292532..9f94d8b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2378,14 +2378,14 @@ if test -n "$with_gallium_drivers"; then
     done
 fi
 
-if test "x$enable_gallium_llvm" == "xyes" -a "$with_gallium_drivers"; then
+if test "x$enable_gallium_llvm" = "xyes" -a "$with_gallium_drivers"; 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
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to