From: Emil Velikov Date: Wed, 18 Jan 2017 13:54:00 +0000 (+0000) Subject: configure.ac: don't use == with test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e9f4a5f3f785d188695cb11437d0d303b2d5c70;p=mesa.git 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) --- 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