115-optional-ossaudiodev.patch 856 Bytes
From 30351d9b41a03c43d627d52d46e49ab91bfe342d Mon Sep 17 00:00:00 2001
From: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Date: Thu, 8 Jan 2015 11:41:40 +0100
Subject: [PATCH 1/1] Add an option to disable the ossaudiodev module

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
---
 configure.ac | 6 ++++++
 1 file changed, 6 insertions(+)

Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -2726,6 +2726,12 @@
    DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel"
 fi
 
+AC_ARG_ENABLE(ossaudiodev,
+       AS_HELP_STRING([--disable-ossaudiodev], [disable OSSAUDIODEV]),
+       [ if test "$enableval" = "no"; then
+            DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ossaudiodev"
+         fi])
+
 AC_SUBST(PYDOC)
 
 AC_ARG_ENABLE(pydoc,