0019-Add-an-option-to-disable-the-ossaudiodev-module.patch 884 B

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