[pulseaudio-discuss] [PATCH 02/10] Add configure option --enable-smoother-2 to enable alternative smoother code

Georg Chini georg at chini.tk
Mon Apr 9 16:57:40 UTC 2018


---
 configure.ac | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configure.ac b/configure.ac
index b0855a46..57cb3a92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1399,7 +1399,14 @@ AS_IF([test "x$os_is_win32" != "x1"],
 AS_IF([test "x$ax_pthread_ok" = "xyes"],
     AC_DEFINE([_POSIX_PTHREAD_SEMANTICS], 1, [Needed on Solaris]))
 
+#### Support for new smoother code (optional) ####
 
+AC_ARG_ENABLE([smoother-2],
+    AS_HELP_STRING([--enable-smoother-2],[Enable optional new smoother support]))
+
+AS_IF([test "x$enable_smoother_2" == "xyes"], [USE_SMOOTHER_2=1], [USE_SMOOTHER_2=0])
+
+AS_IF([test "x$USE_SMOOTHER_2" = "x1"], AC_DEFINE([USE_SMOOTHER_2], 1, [Define this to enable new smoother support]))
 
 ###################################
 #            Output               #
-- 
2.14.1



More information about the pulseaudio-discuss mailing list