builder->getOption('enable-zts')) { throw new WrongUsageException('ext-spx is not thread safe, do not build it with ZTS builds'); } } public function getUnixConfigureArg(): string { $arg = '--enable-spx'; if ($this->builder->getExt('zlib') === null) { $arg .= ' --with-zlib-dir=' . BUILD_ROOT_PATH; } return $arg; } }