0031-Add-an-option-to-disable-the-ossaudiodev-module.patch 875 B

123456789101112131415161718192021222324252627282930
  1. From 6af0f179d3db956146bbabac8748675e3abc1f78 Mon Sep 17 00:00:00 2001
  2. From: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
  3. Date: Tue, 7 Mar 2017 22:31:22 +0100
  4. Subject: [PATCH] Add an option to disable the ossaudiodev module
  5. Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
  6. ---
  7. configure.ac | 6 ++++++
  8. 1 file changed, 6 insertions(+)
  9. diff --git a/configure.ac b/configure.ac
  10. index 291ba35..8dc573e 100644
  11. --- a/configure.ac
  12. +++ b/configure.ac
  13. @@ -2898,6 +2898,12 @@ if test "$CURSES" = "no"; then
  14. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel"
  15. fi
  16. +AC_ARG_ENABLE(ossaudiodev,
  17. + AS_HELP_STRING([--disable-ossaudiodev], [disable OSSAUDIODEV]),
  18. + [ if test "$enableval" = "no"; then
  19. + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ossaudiodev"
  20. + fi])
  21. +
  22. AC_SUBST(PYDOC)
  23. AC_ARG_ENABLE(pydoc,
  24. --
  25. 2.7.4