From 980ad38495fa0bfdccdda3e28c73e8b793a7a781 Mon Sep 17 00:00:00 2001
From: Jean-Marc Valin <Jean-Marc.Valin@csiro.au>
Date: Wed, 12 Mar 2008 11:47:19 +1100
Subject: [PATCH] configure update (MIXED_PRECISION and STATIC_MODES can now be
 used)

---
 configure.ac | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure.ac b/configure.ac
index c2b2953c2..0ae21d525 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,6 +92,7 @@ AC_ARG_ENABLE(fixed-point, [  --enable-fixed-point    Compile as fixed-point],
 [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],
@@ -102,6 +103,11 @@ AC_ARG_ENABLE(fixed-point-debug, [  --enable-fixed-point-debug  Debug fixed-poin
   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])
+
 
 AC_CHECK_SIZEOF(short)
 AC_CHECK_SIZEOF(int)
-- 
GitLab