It was noticed during testing that conf-root is by default ".". When build-dir is set, this results in configure being invoked from wrong directory. A solution needs to take into account that command-subdir might be set (autotools project might be in a subdirectory inside a monorepo).