comparison configure @ 1031:d9791ad3bc7a

fix notfound bug. asszem.
author pontscho
date Tue, 05 Jun 2001 10:33:05 +0000
parents a68f7553ee0d
children c8c2aefaae11
comparison
equal deleted inserted replaced
1030:a68f7553ee0d 1031:d9791ad3bc7a
606 606
607 _alsaver='not found' 607 _alsaver='not found'
608 $_cc -o $TMPO -lasound $TMPC 2> /dev/null || _alsa=no 608 $_cc -o $TMPO -lasound $TMPC 2> /dev/null || _alsa=no
609 [ $_alsa == 'yes' ] && $TMPO && { _alsaver='0.5.x'; } 609 [ $_alsa == 'yes' ] && $TMPO && { _alsaver='0.5.x'; }
610 610
611 if [ $_alsaver == 'not found' ]; then 611 if [ "$_alsaver" == 'not found' ]; then
612 cat > $TMPC << EOF 612 cat > $TMPC << EOF
613 #include <sys/asoundlib.h> 613 #include <sys/asoundlib.h>
614 #include <sys/soundcard.h> 614 #include <sys/soundcard.h>
615 int main( void ) { if(SND_LIB_MAJOR==0&&SND_LIB_MINOR==9)return 0; return 1; } 615 int main( void ) { if(SND_LIB_MAJOR==0&&SND_LIB_MINOR==9)return 0; return 1; }
616 EOF 616 EOF