configure.ac line 102: if test "x$use_xcb" == "xyes" -a "x$use_xlib" == "xyes"; then and line 113: if test "x$use_xcb" == "xyes"; then == is not an operator in posix sh compatible test; it should be = This causes the following build failure message when sh is e.g. dash: checking for cairo's XCB/SHM functions feature... test: 21894: xyes: unexpected operator checking whether cairo's XCB/SHM functions feature could be enabled... no (requires both --enable-xcb) configure: error: XCB/SHM functions feature could not be enabled
Confirmed.
$ grep -n 'if test .*==.*' configure.ac 102: if test "x$use_xcb" == "xyes" -a "x$use_xlib" == "xyes"; then 113: if test "x$use_xcb" == "xyes"; then 235: if test "x$use_drm" == "xyes"; then 265: if test "x$use_xcb" == "xyes" -a "x$use_drm" == "xyes"; then
This is fixed in upstream repository, and will be fixed in 1.10.1 release.