[Intel-gfx] [PATCH 1/2] Use = rather than == in test.
Adam Sampson
ats at offog.org
Tue Oct 7 18:41:17 CEST 2014
The POSIX standard only requires test to support "="; "==" works in bash
but not in dash. Other comparisons in configure.ac use "=" already.
Signed-off-by: Adam Sampson <ats at offog.org>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
This is the same patch that I submitted to Bugzilla:
https://bugs.freedesktop.org/show_bug.cgi?id=84750
diff --git a/configure.ac b/configure.ac
index 7c6ee75..76487c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,7 +137,7 @@ if test "x$DUMPER" = xauto; then
# find SWING on the system, that's enough to try compiling the dumper.
AX_PKG_SWIG(2.0.0, [DUMPER=yes], [DUMPER=no])
fi
-if test "x$DUMPER" == xyes; then
+if test "x$DUMPER" = xyes; then
AC_DEFINE(HAVE_DUMPER, 1, [Have dumper support])
# SWIG configuration
AX_PKG_SWIG(2.0.0, [], [ AC_MSG_ERROR([SWIG 2.0.0 or higher is required to build..]) ])
--
2.1.0
More information about the Intel-gfx
mailing list