From 432a4b488110561bc4dc8a50665b60380fb50e04 Mon Sep 17 00:00:00 2001 From: Adam Sampson Date: Tue, 7 Oct 2014 17:41:17 +0100 Subject: [PATCH] Use = rather than == in test. 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 Signed-off-by: Thomas Wood --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7c6ee752..76487c0c 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..]) ])