http://bugs.winehq.org/show_bug.cgi?id=26975
--- Comment #7 from Andrew Eikum aeikum@codeweavers.com 2011-04-30 11:32:09 CDT --- Created an attachment (id=34406) --> (http://bugs.winehq.org/attachment.cgi?id=34406) Relevent section of config.log
To save others the pain of trying to view a 35,000 line file, here's the relevant section of the log. "hash," you might consider using gzip next time :)
Can you open up </usr/include/sys/soundcard.h> and check that it (or whatever file it includes) is actually for OSSv4? There should be a SOUND_VERSION define that starts with 0x04. If it starts with 0x03, then either your OSSv4 installation is broken or it places its headers someplace unexpected.
I guess the value of SOUND_VERSION might be a better thing to check for at configure time than the presence of oss_sysinfo?