summaryrefslogtreecommitdiffstats
path: root/old-configure.in
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-11-02 20:31:13 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-11-02 20:31:13 -0400
commit873f2cf8cc30125d6c573210f328bc71b95cdc5b (patch)
tree580b06d4df15ff5f8a9c3f20468bf2160ac666e5 /old-configure.in
parent21b3f6247403c06f85e1f45d219f87549862198f (diff)
downloadUXP-873f2cf8cc30125d6c573210f328bc71b95cdc5b.tar
UXP-873f2cf8cc30125d6c573210f328bc71b95cdc5b.tar.gz
UXP-873f2cf8cc30125d6c573210f328bc71b95cdc5b.tar.lz
UXP-873f2cf8cc30125d6c573210f328bc71b95cdc5b.tar.xz
UXP-873f2cf8cc30125d6c573210f328bc71b95cdc5b.zip
Issue #1265 - Expose sndio as a build option for any supporting system
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in
index dae43d6f1..6638ea688 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -3146,6 +3146,23 @@ fi
AC_SUBST(MOZ_PULSEAUDIO)
dnl ========================================================
+dnl = Enable sndio
+dnl ========================================================
+MOZ_ARG_ENABLE_BOOL(sndio,
+[ --enable-sndio Enable sndio support],
+ MOZ_SNDIO=1,
+ MOZ_SNDIO= )
+
+if test -n "$MOZ_SNDIO"; then
+ AC_DEFINE(MOZ_SNDIO)
+ MOZ_CHECK_HEADER([sndio.h], [],
+ AC_MSG_ERROR(
+ [--enable-sndio specified but it requires sndio development headers]))
+ AC_DEFINE(MOZ_SNDIO)
+fi
+AC_SUBST(MOZ_SNDIO)
+
+dnl ========================================================
dnl NegotiateAuth
dnl ========================================================