From 3ef8a1661675395a15fa2a6d55bd2448dd3c486d Mon Sep 17 00:00:00 2001
From: Ralph Giles <giles@thaumas.net>
Date: Mon, 17 Sep 2012 00:05:00 -0700
Subject: [PATCH] Opus custom requires libm unconditionally.

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

diff --git a/configure.ac b/configure.ac
index 098379754..475449fb9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -283,6 +283,11 @@ else
   PC_BUILD="fixed-point"
   PC_LIBM=
 fi
+dnl opus_custom requires libm as well
+if test x$ac_enable_custom_modes = xyes; then
+  PC_BUILD="${PC_BUILD}, custom modes"
+  PC_LIBM=$LIBM
+fi
 AC_SUBST([PC_BUILD])
 AC_SUBST([PC_LIBM])
 
-- 
GitLab