diff options
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2011-02-04 08:04:26 +0300 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2011-02-04 08:04:26 +0300 |
commit | 5aa57e4f07d05d99e02e3640f95bb7f68436b6de (patch) | |
tree | 423f06d332f7c4a0bb75b58f64e9cdf8a2cb6a82 /configure.ac | |
parent | 4d3e105a6c1d144760ddeb3c1951fa838b935747 (diff) |
Configure option for custom modes
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f4eb4c5..dc7dfc2 100644 --- a/configure.ac +++ b/configure.ac @@ -124,6 +124,13 @@ AC_ARG_ENABLE(experimental-postfilter, [ --enable-experimental-postfilter E AC_DEFINE([ENABLE_POSTFILTER], , [Postfilter]) fi]) +ac_enable_custom_modes="no" +AC_ARG_ENABLE(custom-modes, [ --enable-custom-modes Enable non-Opus modes, like 44.1 kHz and powers of two ], +[if test "$enableval" = yes; then + ac_enable_custom_modes="yes" + AC_DEFINE([CUSTOM_MODES], , [Custom modes]) +fi]) + float_approx=$has_float_approx AC_ARG_ENABLE(float-approx, [ --enable-float-approx enable fast approximations for floating point], [ if test "$enableval" = yes; then |