The operator is =; == is a bashism. diff -x config.log -x config.status -ru tmp/intel-gpu-tools-1.8/configure.ac work/intel-gpu-tools-1.8/configure.ac --- tmp/intel-gpu-tools-1.8/configure.ac 2014-09-09 03:43:18.000000000 +0100 +++ work/intel-gpu-tools-1.8/configure.ac 2014-10-07 14:27:30.969000000 +0100 @@ -137,7 +137,7 @@ # 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..]) ])