summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMirko Vogt <mirko-dev@nanl.de>2017-01-06 03:04:20 +0100
committerArun Raghavan <arun@arunraghavan.net>2017-01-06 10:31:17 +0530
commitee8cfef49b8417c2f0ba65a249d2ee8c360d19ab (patch)
tree487068d59ddbd3df780595306dcdc27848b2046d
parent0d937fbc7152f34f32cd4cd016ed623434b90796 (diff)
build: Fix configure option '--with-ns-mode'
Make *really* take '--with-ns-mode'-option into account. Before it was bogus (wrong if-check) and it always resulted in the float version being used. Signed-off-by: Mirko Vogt <mirko-dev@nanl.de>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index acbb3e2..e78bf27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@ AC_LANG_CPLUSPLUS
AC_ARG_WITH([ns-mode],
AS_HELP_STRING([--with-ns-mode=float|fixed], [Noise suppresion mode to use. Default is float]))
-AS_CASE(["x${with_ns_mode}"],
+AS_CASE(["${with_ns_mode}"],
["fixed"], [NS_FIXED=1],
["float"], [NS_FIXED=0],
[NS_FIXED=0])