summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-06 21:16:21 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-06 21:16:21 +0000
commita951103bc784e2a08c227e5db80e932b7b25654c (patch)
tree75b29d9999860025a830afeb439170931d55077a /configure
parent96d03d719dd02784932d4782f1c861708c4324d6 (diff)
downloadmpv-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-xconfigure20
1 files changed, 16 insertions, 4 deletions
diff --git a/configure b/configure
index 3ca87e98a6..55f2f58c4e 100755
--- a/configure
+++ b/configure
@@ -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
+
# ---