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

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