1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-21 02:41:13 +00:00

not found -> no (to be consistent)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1265 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-07-03 23:04:36 +00:00
parent e09f4abfc3
commit 7d67da3486

6
configure vendored
View File

@ -735,18 +735,18 @@ cat > $TMPC << EOF
int main( void ) { if(SND_LIB_MAJOR==0&&SND_LIB_MINOR==5)return 0; return 1; }
EOF
_alsaver='not found'
_alsaver='no'
$_cc -o $TMPO -lasound -ldl -lpthread $TMPC 2> /dev/null || _alsa=no
[ $_alsa = 'yes' ] && $TMPO && { _alsaver='0.5.x'; }
if [ "$_alsaver" = 'not found' ]; then
if [ "$_alsaver" = 'no' ]; then
cat > $TMPC << EOF
#include <sys/asoundlib.h>
#include <sys/soundcard.h>
int main( void ) { if(SND_LIB_MAJOR==0&&SND_LIB_MINOR==9)return 0; return 1; }
EOF
_alsaver='not found'
_alsaver='no'
$_cc -o $TMPO -lasound -ldl -lpthread $TMPC 2> /dev/null || _alsa=no
[ $_alsa = 'yes' ] && $TMPO && { _alsaver='0.9.x'; }
fi