Opus custom requires libm unconditionally.
authorRalph Giles <giles@thaumas.net>
Mon, 17 Sep 2012 07:05:00 +0000 (00:05 -0700)
committerRalph Giles <giles@thaumas.net>
Mon, 17 Sep 2012 07:05:00 +0000 (00:05 -0700)
configure.ac

index 0983797..475449f 100644 (file)
@@ -283,6 +283,11 @@ else
   PC_BUILD="fixed-point"
   PC_LIBM=
 fi
   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])
 
 AC_SUBST([PC_BUILD])
 AC_SUBST([PC_LIBM])