Displaying 3 results from an estimated 3 matches for "op_fixed_point".
2012 Sep 25
0
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v3)
...sable floating-point API])
+ ],
+ [dnl This only has to be tested for if float API is enabled
+ AC_SEARCH_LIBS([lrintf], [m], [
+ AC_DEFINE([OP_HAVE_LRINTF], [1], [Enable use of lrintf function])
+ ])
+])
+
+AS_IF([test "x$enable_fixed_point" = "xyes"], [
+ AC_DEFINE([OP_FIXED_POINT], [1], [Enable fixed-point calculation])
+])
+
+CC_ATTRIBUTE_VISIBILITY([default], [
+ CC_FLAG_VISIBILITY([CFLAGS="${CFLAGS} -fvisibility=hidden"])
+])
+
+CC_CHECK_CFLAGS_APPEND([-std=c89 -pedantic -Wall -Wextra -Wno-parentheses -Wno-long-long])
+
+AC_OUTPUT([Makefile])
+
+AC_MSG_NOTICE(...
2012 Sep 25
3
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v2)
...sable floating-point API])
+ ],
+ [dnl This only has to be tested for if float API is enabled
+ AC_SEARCH_LIBS([lrintf], [m], [
+ AC_DEFINE([OP_HAVE_LRINTF], [1], [Enable use of lrintf function])
+ ])
+])
+
+AS_IF([test "x$enable_fixed_point" = "xyes"], [
+ AC_DEFINE([OP_FIXED_POINT], [1], [Enable fixed-point calculation])
+])
+
+CC_ATTRIBUTE_VISIBILITY([default], [
+ CC_FLAG_VISIBILITY([CFLAGS="${CFLAGS} -fvisibility=hidden"])
+])
+
+CC_CHECK_CFLAGS_APPEND([-std=c89 -pedantic -Wall -Wextra -Wno-parentheses -Wno-long-long])
+
+AC_OUTPUT([Makefile])
+
+AC_MSG_NOTICE(...
2012 Sep 29
2
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v4)
...e floating-point API]),,
+ enable_float=yes)
+
+AS_IF([test "x$enable_float" = "xno"],
+ [enable_fixed_point=yes
+ AC_DEFINE([OP_DISABLE_FLOAT_API], [1], [Disable floating-point API])
+ ]
+)
+
+AS_IF([test "x$enable_fixed_point" = "xyes"],
+ [AC_DEFINE([OP_FIXED_POINT], [1], [Enable fixed-point calculation])],
+ [dnl This only has to be tested for if float->fixed conversions are
required
+ AC_SEARCH_LIBS([lrintf], [m], [
+ AC_DEFINE([OP_HAVE_LRINTF], [1], [Enable use of lrintf function])
+ lrintf_notice="
+ Library for lrintf() ....... : $...