]> git.sesse.net Git - vlc/blobdiff - configure.ac
Handle MKV segment change properly
[vlc] / configure.ac
index e8c5674b962b49f20a5741a6392be57797a92ac9..c2ebdc6ffdfe5ccc512b61a9c3419c141241f05b 100644 (file)
@@ -3434,6 +3434,24 @@ AS_IF([test "$enable_oss" != "no"], [
 AC_SUBST(OSS_LIBS)
 AM_CONDITIONAL([HAVE_OSS], [test "${have_oss}" = "yes"])
 
+dnl
+dnl  OpenBSD sndio module
+dnl
+AC_ARG_ENABLE([sndio],
+  [AS_HELP_STRING([--disable-sndio],
+    [support the OpenBSD sndio (default auto)])],, [
+  AS_IF([test "$SYS" = "opensd"], [
+    enable_sndio="yes"
+  ])
+])
+have_sndio="no"
+AS_IF([test "$enable_sndio" != "no"], [
+  AC_CHECK_HEADER([sndio.h], [
+    have_sndio="yes"
+  ])
+])
+AM_CONDITIONAL([HAVE_SNDIO], [test "${have_sndio}" = "yes"])
+
 dnl
 dnl  win32 waveOut plugin
 dnl