1From 17d7b6d56cf554dcc6fcb263e1fd2b9e3dbf4320 Mon Sep 17 00:00:00 2001
2From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3Date: Wed, 23 Dec 2015 11:51:58 +0100
4Subject: [PATCH] Add an option to disable the ossaudiodev module
5
6Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7---
8 configure.ac | 6 ++++++
9 1 file changed, 6 insertions(+)
10
11diff --git a/configure.ac b/configure.ac
12index 20b3c2459f4..87853f47329 100644
13--- a/configure.ac
14+++ b/configure.ac
15@@ -3728,6 +3728,12 @@ fi
16
17 AC_MSG_RESULT($with_decimal_contextvar)
18
19+AC_ARG_ENABLE(ossaudiodev,
20+	AS_HELP_STRING([--disable-ossaudiodev], [disable OSSAUDIODEV]),
21+	[ if test "$enableval" = "no"; then
22+	  DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ossaudiodev"
23+	  fi])
24+
25 # Check for libmpdec machine flavor
26 AC_MSG_CHECKING(for decimal libmpdec machine)
27 AS_CASE([$ac_sys_system],
28--
292.44.0
30
31