[PATCH 1/2] Use = rather than == in test.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux