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:
authorRalph Giles <giles@thaumas.net>2012-09-17 10:15:37 +0400
committerRalph Giles <giles@thaumas.net>2012-09-17 10:19:11 +0400
commita66642a5e12554b0a2bec7f3679300524e6cbf14 (patch)
treeed5518303c2900d73db24acdd84865b04c27ff53 /configure.ac
parent2d2f462157be119fbae1b511f326a9244512c63d (diff)
Remove FLOATING_POINT from config.h.
This isn't used anywhere in the code, floating point is just the default unless FIXED_POINT is defined. In the speex codebase, arch.h has a check that both FIXED_POINT and FLOATING_POINT aren't defined simultaneously, in part as a check that the build system was constructed with thought about these and other defines. However, we don't have such a check and to me it seems unnecessary code.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 0773c376..3091a734 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,10 +159,7 @@ AC_ARG_ENABLE(fixed-point, [ --enable-fixed-point compile without floatin
ac_enable_fixed="yes";
ac_enable_float="no";
AC_DEFINE([FIXED_POINT], [1], [Compile as fixed-point (for machines without a fast enough FPU)])
-else
- AC_DEFINE([FLOATING_POINT], , [Compile as floating-point (for machines with a fast enough FPU)])
-fi],
-AC_DEFINE([FLOATING_POINT], , [Compile as floating-point (for machines with a fast enough FPU)]))
+fi])
ac_enable_fixed_debug="no"
AC_ARG_ENABLE(fixed-point-debug, [ --enable-fixed-point-debug debug fixed-point implementation],