This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brian-cameron-oracle
Recipients brian-cameron-oracle, jcea, trent
Date 2013-01-10.18:17:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357841846.57.0.717755011541.issue16902@psf.upfronthosting.co.za>
In-reply-to
Content
Since Modules/ossaudiodev.c has the following line (which is not surrounded by any conditional #ifdef sort of things):

#include <sys/soundcard.h>

This means that the OSS plugin will only build on a system that has this header file, so it is safe to check for on any system.  How can the Module code build if the header can't be found?

The code will only compile if the CFLAGS used when building the
module is setup to include /usr/include or /usr/local/include, but
this is normally taken care of by default.

If users need to specify their OSS headers are in some weird 
non-standard location, then they can use CFLAGS or other Makefile mechanisms to specify the compiler arguments they would then need to build anything that uses their non-standard OSS.

Or am I just confused by your question?
History
Date User Action Args
2013-01-10 18:17:26brian-cameron-oraclesetrecipients: + brian-cameron-oracle, jcea, trent
2013-01-10 18:17:26brian-cameron-oraclesetmessageid: <1357841846.57.0.717755011541.issue16902@psf.upfronthosting.co.za>
2013-01-10 18:17:26brian-cameron-oraclelinkissue16902 messages
2013-01-10 18:17:25brian-cameron-oraclecreate