Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mark Harris
Opus
Commits
980ad384
Commit
980ad384
authored
Mar 12, 2008
by
Jean-Marc Valin
Browse files
configure update (MIXED_PRECISION and STATIC_MODES can now be used)
parent
931db72e
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
980ad384
...
@@ -92,6 +92,7 @@ AC_ARG_ENABLE(fixed-point, [ --enable-fixed-point Compile as fixed-point],
...
@@ -92,6 +92,7 @@ AC_ARG_ENABLE(fixed-point, [ --enable-fixed-point Compile as fixed-point],
[if test "$enableval" = yes; then
[if test "$enableval" = yes; then
AC_DEFINE([FIXED_POINT], , [Compile as fixed-point])
AC_DEFINE([FIXED_POINT], , [Compile as fixed-point])
AC_DEFINE([DOUBLE_PRECISION], , [Compile as fixed-point])
AC_DEFINE([DOUBLE_PRECISION], , [Compile as fixed-point])
AC_DEFINE([MIXED_PRECISION], , [Compile as fixed-point])
else
else
AC_DEFINE([FLOATING_POINT], , [Compile as floating-point])
AC_DEFINE([FLOATING_POINT], , [Compile as floating-point])
fi],
fi],
...
@@ -102,6 +103,11 @@ AC_ARG_ENABLE(fixed-point-debug, [ --enable-fixed-point-debug Debug fixed-poin
...
@@ -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])
AC_DEFINE([FIXED_DEBUG], , [Debug fixed-point implementation])
fi])
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(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(int)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment