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

github.com/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2012-06-12 03:19:55 +0400
committerGregory Maxwell <greg@xiph.org>2012-06-12 03:19:55 +0400
commitde9b437eb2efcbcb49a4762e9d3f0336c509ebd0 (patch)
tree7ce37edb6c18bfef08b6ee185b0caa55bb180221 /configure.ac
parent9a89d56d46a8d37d32bb40afd9ccf72cb9a80be9 (diff)
Add -fixed to the version string & clarify that fixed disables float.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 9 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index 0f23ade4..e7613896 100644
--- a/configure.ac
+++ b/configure.ac
@@ -136,9 +136,11 @@ has_float_approx=no
#esac
ac_enable_fixed="no";
-AC_ARG_ENABLE(fixed-point, [ --enable-fixed-point compile as fixed-point],
+ac_enable_float="yes";
+AC_ARG_ENABLE(fixed-point, [ --enable-fixed-point compile without floating point],
[if test "$enableval" = yes; then
ac_enable_fixed="yes";
+ ac_enable_float="no";
AC_DEFINE([FIXED_POINT], [1], [Compile as fixed-point])
else
AC_DEFINE([FLOATING_POINT], , [Compile as floating-point])
@@ -146,21 +148,21 @@ fi],
AC_DEFINE([FLOATING_POINT], , [Compile as floating-point]))
ac_enable_fixed_debug="no"
-AC_ARG_ENABLE(fixed-point-debug, [ --enable-fixed-point-debug debug fixed-point implementation],
+AC_ARG_ENABLE(fixed-point-debug, [ --enable-fixed-point-debug debug fixed-point implementation],
[if test "$enableval" = yes; then
ac_enable_fixed_debug="yes"
AC_DEFINE([FIXED_DEBUG], , [Debug fixed-point implementation])
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 ],
+AC_ARG_ENABLE(custom-modes, [ --enable-custom-modes enable non-Opus modes, e.g. 44.1 kHz & 2^n frames],
[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],
+AC_ARG_ENABLE(float-approx, [ --enable-float-approx enable fast approximations for floating point],
[ if test "$enableval" = yes; then
AC_WARN([Floating point approximations are not supported on all platforms.])
float_approx=yes
@@ -173,14 +175,14 @@ if test "x${float_approx}" = "xyes"; then
fi
ac_enable_assertions="no"
-AC_ARG_ENABLE(assertions, [ --enable-assertions enable additional software error checking],
+AC_ARG_ENABLE(assertions, [ --enable-assertions enable additional software error checking],
[if test "$enableval" = yes; then
ac_enable_assertions="yes"
AC_DEFINE([ENABLE_ASSERTIONS], , [Assertions])
fi])
ac_enable_fuzzing="no"
-AC_ARG_ENABLE(fuzzing, [ --enable-fuzzing causes the encoder to make random decisions],
+AC_ARG_ENABLE(fuzzing, [ --enable-fuzzing causes the encoder to make random decisions],
[if test "$enableval" = yes; then
ac_enable_fuzzing="yes"
AC_DEFINE([FUZZING], , [Fuzzing])
@@ -285,8 +287,8 @@ AC_MSG_RESULT([
General configuration:
+ Floating point support: ........ ${ac_enable_float}
Fast float approximations: ..... ${float_approx}
- Fixed point support: ........... ${ac_enable_fixed}
Fixed point debugging: ......... ${ac_enable_fixed_debug}
Custom modes: .................. ${ac_enable_custom_modes}
Assertion checking: ............ ${ac_enable_assertions}