From fa620ffc956953b39bb683abb2679bbbfc364915 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 29 Nov 2013 09:01:14 +0100 Subject: build: reimplement the OSS checks using a more declarative approach The OSS checks were a big mess and quite buggy. This reimplementes them using a declarative approach and clearly distinguishing between the various OSS implementations. The code should now almost be auto-documenting. We currently support the following implementations of OSS: * platform-specific (with `sys/soundcard.h`) * SunAudio (default on NetBSD and useable on OpenBSD even if we have sndio support there). * 4Front (default on FreeBSD) Since now each OSS check also checks for the appropriate soundcard header, remove the old soundcard check. Many thanks to @bugmen0t for in depth info about all the BSDs. Check #380 and #359 for more info on this commit. --- waftools/fragments/oss_audio_header.c | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 waftools/fragments/oss_audio_header.c (limited to 'waftools/fragments/oss_audio_header.c') diff --git a/waftools/fragments/oss_audio_header.c b/waftools/fragments/oss_audio_header.c deleted file mode 100644 index 980eb69215..0000000000 --- a/waftools/fragments/oss_audio_header.c +++ /dev/null @@ -1,13 +0,0 @@ -#if HAVE_SOUNDCARD_H -#include -#endif - -#if HAVE_SYS_SOUNDCARD_H -#include -#endif - -#ifdef OPEN_SOUND_SYSTEM -int main(void) {{ return 0; }} -#else -#error Not the real thing -#endif -- cgit v1.2.3