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

1234567891011121314151617181920212223242526272829303132
  1. From 4ab280b8a7626de2565cf4ef6cf08a5c7326574b 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. [Peter: update for 2.7.16]
  7. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
  8. ---
  9. configure.ac | 6 ++++++
  10. 1 file changed, 6 insertions(+)
  11. diff --git a/configure.ac b/configure.ac
  12. index 3848b16b9f..6d19cdee95 100644
  13. --- a/configure.ac
  14. +++ b/configure.ac
  15. @@ -2927,6 +2927,12 @@ if test "$CURSES" = "no"; then
  16. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel"
  17. fi
  18. +AC_ARG_ENABLE(ossaudiodev,
  19. + AS_HELP_STRING([--disable-ossaudiodev], [disable OSSAUDIODEV]),
  20. + [ if test "$enableval" = "no"; then
  21. + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ossaudiodev"
  22. + fi])
  23. +
  24. AC_SUBST(PYDOC)
  25. AC_ARG_ENABLE(pydoc,
  26. --
  27. 2.11.0