shithub: opus

Download patch

ref: 980ad38495fa0bfdccdda3e28c73e8b793a7a781
parent: 931db72e75ea295ed57565bccfdf001277da98b4
author: Jean-Marc Valin <[email protected]>
date: Wed Mar 12 07:47:19 EDT 2008

configure update (MIXED_PRECISION and STATIC_MODES can now be used)

--- a/configure.ac
+++ b/configure.ac
@@ -92,6 +92,7 @@
 [if test "$enableval" = yes; then
   AC_DEFINE([FIXED_POINT], , [Compile as fixed-point])
   AC_DEFINE([DOUBLE_PRECISION], , [Compile as fixed-point])
+  AC_DEFINE([MIXED_PRECISION], , [Compile as fixed-point])
 else
   AC_DEFINE([FLOATING_POINT], , [Compile as floating-point])
 fi],
@@ -100,6 +101,11 @@
 AC_ARG_ENABLE(fixed-point-debug, [  --enable-fixed-point-debug  Debug fixed-point implementation],
 [if test "$enableval" = yes; then
   AC_DEFINE([FIXED_DEBUG], , [Debug fixed-point implementation])
+fi])
+
+AC_ARG_ENABLE(static-modes, [  --enable-static-modes],
+[if test "$enableval" = yes; then
+  AC_DEFINE([STATIC_MODES], , [Static modes])
 fi])