./configure --without-pulseaudio or --without-sndfile (but not both) to preclude those dependencies. Sources use config.h defines USE_PULSEAUDIO and USE_SNDFILE.