diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-06 21:16:21 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-06 21:16:21 +0000 |
commit | a951103bc784e2a08c227e5db80e932b7b25654c (patch) | |
tree | 75b29d9999860025a830afeb439170931d55077a /configure | |
parent | 96d03d719dd02784932d4782f1c861708c4324d6 (diff) | |
download | mpv-a951103bc784e2a08c227e5db80e932b7b25654c.tar.bz2 mpv-a951103bc784e2a08c227e5db80e932b7b25654c.tar.xz |
Solaris 8 DVD support and other fixes by Juergen Keil <jk@tools.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1043 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -124,10 +124,10 @@ params: --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 @@ rm -f $TMPC $TMPO # --- # 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 + # --- |