It would be helpful for users if we documented the dependencies for building WiredTiger. A canonical way to do that is to add an INSTALL file to the root directory of our repository.
It should describe requirements for the WiredTiger core, as well as for parts of the package that can be enabled/disabled via configure options.