Mercurial > mplayer.hg
changeset 7967:9e79e1c1b2a4
don't use soundcard.h on non-linux if no OSS support
(based on idea & bugreport by Bj«Órn Sandell <biorn@dce.chalmers.se>)
author | arpi |
---|---|
date | Tue, 29 Oct 2002 23:07:41 +0000 |
parents | a03235a5f395 |
children | 2648f13b1709 |
files | configure |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <soundcard.h>' else _def_soundcard='#undef HAVE_SOUNDCARD_H' fi -echores "$_soundcard" else _def_soundcard='#undef HAVE_SOUNDCARD_H' fi