Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2011-02-04 08:04:26 +0300
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2011-02-04 08:04:26 +0300
commit5aa57e4f07d05d99e02e3640f95bb7f68436b6de (patch)
tree423f06d332f7c4a0bb75b58f64e9cdf8a2cb6a82 /configure.ac
parent4d3e105a6c1d144760ddeb3c1951fa838b935747 (diff)
Configure option for custom modes
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
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