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>
This commit is contained in:
parent
0d937fbc71
commit
ee8cfef49b
@ -20,7 +20,7 @@ AC_LANG_CPLUSPLUS
|
|||||||
AC_ARG_WITH([ns-mode],
|
AC_ARG_WITH([ns-mode],
|
||||||
AS_HELP_STRING([--with-ns-mode=float|fixed], [Noise suppresion mode to use. Default is float]))
|
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],
|
["fixed"], [NS_FIXED=1],
|
||||||
["float"], [NS_FIXED=0],
|
["float"], [NS_FIXED=0],
|
||||||
[NS_FIXED=0])
|
[NS_FIXED=0])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user