From 5e9f4a5f3f785d188695cb11437d0d303b2d5c70 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 18 Jan 2017 13:54:00 +0000 Subject: [PATCH] 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 Reviewed-by: Tobias Droste (v1) --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index c292532d7aa..9f94d8b3ac8 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 -- 2.30.2