[Mesa-dev] [PATCH 4/8] configure.ac: don't use == with test
Emil Velikov
emil.l.velikov at gmail.com
Wed Jan 18 13:54:00 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
Although it works, it's not the correct thing to do.
Cc: Tobias Droste <tdroste at gmx.de>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 647c24a895..ea38dfa7f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2567,7 +2567,7 @@ 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"
@@ -2585,7 +2585,7 @@ fi
dnl Set HAVE_LLVM compiler define if LLVM is used.
-if test "x$USE_LLVM" == xyes; then
+if test "x$USE_LLVM" = xyes; then
DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT -DMESA_LLVM_VERSION_PATCH=$LLVM_VERSION_PATCH"
dnl Set LLVM_LIBS - This is done after the driver configuration so
--
2.11.0
More information about the mesa-dev
mailing list