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 <ats@offog.org>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Adam Sampson 2014-10-07 17:41:17 +01:00 committed by Thomas Wood
parent c7551bf7cc
commit 432a4b4881

View File

@ -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..]) ])