Mercurial > mplayer.hg
comparison configure @ 3086:78053f705a7a
sys/soundcard.h isn't needed for ALSA
author | alex |
---|---|
date | Fri, 23 Nov 2001 16:34:04 +0000 |
parents | 79b3ce698c15 |
children | 46e5ece0b15b |
comparison
equal
deleted
inserted
replaced
3085:f6247be96224 | 3086:78053f705a7a |
---|---|
1729 echocheck "ALSA audio" | 1729 echocheck "ALSA audio" |
1730 if test "$_alsa" = auto || test "$_alsa" = yes; then | 1730 if test "$_alsa" = auto || test "$_alsa" = yes; then |
1731 _alsa=no | 1731 _alsa=no |
1732 cat > $TMPC << EOF | 1732 cat > $TMPC << EOF |
1733 #include <sys/asoundlib.h> | 1733 #include <sys/asoundlib.h> |
1734 #include <sys/soundcard.h> | |
1735 int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==5)); } | 1734 int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==5)); } |
1736 EOF | 1735 EOF |
1737 cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.5.x' | 1736 cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.5.x' |
1738 | 1737 |
1739 cat > $TMPC << EOF | 1738 cat > $TMPC << EOF |
1740 #include <sys/asoundlib.h> | 1739 #include <sys/asoundlib.h> |
1741 #include <sys/soundcard.h> | |
1742 int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); } | 1740 int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); } |
1743 EOF | 1741 EOF |
1744 cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.9.x' | 1742 cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.9.x' |
1745 if test "$_alsaver" ; then | 1743 if test "$_alsaver" ; then |
1746 _alsa=yes | 1744 _alsa=yes |