# HG changeset patch # User arpi # Date 1035932861 0 # Node ID 9e79e1c1b2a4ab1ad55dc09fa10e658cb7ba1858 # Parent a03235a5f395fe13856a7d2d8775a6293524e614 don't use soundcard.h on non-linux if no OSS support (based on idea & bugreport by Bj«Órn Sandell ) diff -r a03235a5f395 -r 9e79e1c1b2a4 configure --- a/configure Tue Oct 29 22:37:11 2002 +0000 +++ b/configure Tue Oct 29 23:07:41 2002 +0000 @@ -1845,13 +1845,19 @@ EOF _soundcard=no cc_check && _soundcard=yes +if ! linux && test "$_ossaudio" = no ; then + # we don't want touse soundcard.h on non-linux if no OSS support enabled! + echores "$_soundcard, but ignored!" + _soundcard=no +else + echores "$_soundcard" +fi if test "$_soundcard" = yes ; then _def_soundcard='#define HAVE_SOUNDCARD_H 1' _inc_soundcard='#include ' else _def_soundcard='#undef HAVE_SOUNDCARD_H' fi -echores "$_soundcard" else _def_soundcard='#undef HAVE_SOUNDCARD_H' fi