Blame SOURCES/0016-build-Fix-configure-option-with-ns-mode.patch

71361e
From ee8cfef49b8417c2f0ba65a249d2ee8c360d19ab Mon Sep 17 00:00:00 2001
71361e
From: Mirko Vogt <mirko-dev@nanl.de>
71361e
Date: Fri, 6 Jan 2017 03:04:20 +0100
71361e
Subject: [PATCH 16/16] build: Fix configure option '--with-ns-mode'
71361e
71361e
Make *really* take '--with-ns-mode'-option into account.
71361e
Before it was bogus (wrong if-check) and it always resulted
71361e
in the float version being used.
71361e
71361e
Signed-off-by: Mirko Vogt <mirko-dev@nanl.de>
71361e
---
71361e
 configure.ac | 2 +-
71361e
 1 file changed, 1 insertion(+), 1 deletion(-)
71361e
71361e
diff --git a/configure.ac b/configure.ac
71361e
index acbb3e2..e78bf27 100644
71361e
--- a/configure.ac
71361e
+++ b/configure.ac
71361e
@@ -20,7 +20,7 @@ AC_LANG_CPLUSPLUS
71361e
 AC_ARG_WITH([ns-mode],
71361e
 	    AS_HELP_STRING([--with-ns-mode=float|fixed], [Noise suppresion mode to use. Default is float]))
71361e
 
71361e
-AS_CASE(["x${with_ns_mode}"],
71361e
+AS_CASE(["${with_ns_mode}"],
71361e
 	["fixed"], [NS_FIXED=1],
71361e
 	["float"], [NS_FIXED=0],
71361e
 	[NS_FIXED=0])
71361e
-- 
71361e
2.14.3
71361e