Upstream now enables tests by default and the configure script fails if dev-libs/check is not present. Pass --enable/--disable-tests appropriately to control the dependency check.