https://bugs.winehq.org/show_bug.cgi?id=37555
--- Comment #5 from Henri Verbeet hverbeet@gmail.com --- (In reply to Todd Chester from comment #4)
Basically, ./configure has to know what specific OS's sound package to look for or it could never load the appropriate package,
That's not really how it works right now. Configure basically just checks if any of ALSA, OSSv4 or CoreAudio is present. I.e., it checks for all of them and then we use what's present.
In terms of likely packages it's CoreAudio for OS X, Alsa for Linux, and OSS for BSD, but people use OSS on Linux as well, and a potential future PulseAudio driver would complicate the Linux case further.