summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBrad <brad@comstyle.com>2011-03-26 19:03:41 -0400
committerAnton Khirnov <anton@khirnov.net>2011-03-27 10:46:45 +0200
commit15d59d2cea25cfd73bfe6ea03a498a62e24d0536 (patch)
tree31f6d5e915ceae3a7a391bfd4d8eaba7b77b25c4 /configure
parent1500be13f204acb7e74dac4325ef0052576fa2a9 (diff)
sndio support for playback and record
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 8e2961c8b3..f8adf48b1a 100755
--- a/configure
+++ b/configure
@@ -1094,6 +1094,7 @@ HAVE_LIST="
sdl
sdl_video_size
setmode
+ sndio_h
socklen_t
soundcard_h
poll_h
@@ -1433,6 +1434,8 @@ jack_indev_deps="jack_jack_h"
libdc1394_indev_deps="libdc1394"
oss_indev_deps_any="soundcard_h sys_soundcard_h"
oss_outdev_deps_any="soundcard_h sys_soundcard_h"
+sndio_indev_deps="sndio_h"
+sndio_outdev_deps="sndio_h"
v4l_indev_deps="linux_videodev_h"
v4l2_indev_deps_any="linux_videodev2_h sys_videoio_h"
vfwcap_indev_deps="capCreateCaptureWindow vfwcap_defines"
@@ -2912,6 +2915,7 @@ check_cpp_condition vfw.h "WM_CAP_DRIVER_CONNECT > WM_USER" && enable vfwcap_def
check_header dev/video/bktr/ioctl_bt848.h; } ||
check_header dev/ic/bt8xx.h
+check_header sndio.h
check_header sys/soundcard.h
check_header soundcard.h
@@ -2919,6 +2923,8 @@ enabled_any alsa_indev alsa_outdev && check_lib2 alsa/asoundlib.h snd_pcm_htimes
enabled jack_indev && check_lib2 jack/jack.h jack_client_open -ljack
+enabled_any sndio_indev sndio_outdev && check_lib2 sndio.h sio_open -lsndio
+
enabled x11grab &&
check_header X11/Xlib.h &&
check_header X11/extensions/XShm.h &&