1
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 21:07:29 +01:00

sys/soundcard.h isn't needed for ALSA

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3087 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2001-11-23 16:34:04 +00:00
parent 17dc008bc5
commit 9e1aa8639e

2
configure vendored
View File

@ -1731,14 +1731,12 @@ if test "$_alsa" = auto || test "$_alsa" = yes; then
_alsa=no
cat > $TMPC << EOF
#include <sys/asoundlib.h>
#include <sys/soundcard.h>
int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==5)); }
EOF
cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.5.x'
cat > $TMPC << EOF
#include <sys/asoundlib.h>
#include <sys/soundcard.h>
int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); }
EOF
cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.9.x'