Mercurial > mplayer.hg
diff configure @ 1042:b333271f4e7c
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
author | arpi_esp |
---|---|
date | Wed, 06 Jun 2001 21:16:21 +0000 |
parents | b36fb1ae4b53 |
children | 555f58131861 |
line wrap: on
line diff
--- a/configure Wed Jun 06 19:10:47 2001 +0000 +++ b/configure Wed Jun 06 21:16:21 2001 +0000 @@ -124,10 +124,10 @@ --enable-xmmp use XMMP audio drivers --enable-lirc enable LIRC (remote control) support - --disable-oss disable OSS sound support [autodetect] + --disable-ossaudio disable OSS sound support [autodetect] --disable-alsa disable alsa sound support [autodetect] --disable-esd disable esd sound support [autodetect] - --disable-sun disable Sun sound support [autodetect] + --disable-sunaudio disable Sun sound support [autodetect] --disable-gcc-checking disable gcc version checking @@ -630,11 +630,23 @@ # --- # try to detect type of audio supported on this machine +cat > $TMPC << EOF +#include <sys/soundcard.h> +int main( void ) { int arg = SNDCTL_DSP_SETFRAGMENT; } +EOF + _oss_audio=no -[ -c /dev/dsp ] && _oss_audio=yes +$_cc -o $TMPO $TMPC 2> /dev/null && _oss_audio=yes + + +cat > $TMPC << EOF +#include <sys/audioio.h> +int main( void ) { audio_info_t info; AUDIO_INITINFO(&info); } +EOF _sun_audio=no -[ -c /dev/audio -a -c /dev/audioctl ] && _sun_audio=yes +$_cc -o $TMPO $TMPC 2> /dev/null && _sun_audio=yes + # ---