[Bug 26975] configure can't find OSSv4 (both Wine and OSSv4 is current from git and mercurial respectively)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon May 2 08:58:06 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=26975

--- Comment #10 from Andrew Eikum <aeikum at codeweavers.com> 2011-05-02 08:58:05 CDT ---
Sigh, and of course </etc/oss.conf> doesn't actually contain OSSLIBDIR on my
system. Probably a packaging bug.

So, I guess here's the ideal way to do this:

1. Read </etc/oss.conf> and check for its OSSLIBDIR variable.
2.a. If OSSLIBDIR exists, add -I$(OSSLIBDIR) to the wineoss.drv build flags and
include <soundcard.h>. 
2.b. If OSSLIBDIR doesn't exist, then check for <soundcard.h>,
<sys/soundcard.h>, or <machine/soundcard.h>.
3. Verify that SOUND_VERSION is greater than or equal to 0x04.

If 2a, 2b, or 3 fail, then don't build wineoss.drv.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list