From: Adam Sampson Subject: [PATCH 1/2] Use = rather than == in test. Date: Tue, 7 Oct 2014 17:41:17 +0100 Message-ID: <1412700078-3711-1-git-send-email-ats@offog.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from auth.b.painless.aa.net.uk (auth.b.painless.aa.net.uk [90.155.4.48]) by gabe.freedesktop.org (Postfix) with ESMTP id 9E7B98912D for ; Tue, 7 Oct 2014 10:00:22 -0700 (PDT) Received: from cartman.offog.org ([2001:8b0:83b:b53f::a]) by b.painless.aa.net.uk with esmtps (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1XbXpK-0005ep-On for intel-gfx@lists.freedesktop.org; Tue, 07 Oct 2014 17:41:31 +0100 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org Cc: Adam Sampson List-Id: intel-gfx@lists.freedesktop.org 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 --- 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