Displaying 5 results from an estimated 5 matches for "ac_cv_search_lrintf".
2013 Mar 10
0
[PATCH 1/2] Handle AC_SEARCH_LIBS special result value
...pc.in | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8b1a3b3..d82d53f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,7 +107,11 @@ AS_IF([test "x$enable_fixed_point" = "xyes"],
])
]
)
-AC_SUBST(ac_cv_search_lrintf)
+lrintf_lib=" $ac_cv_search_lrintf"
+AS_IF([test "x$ac_cv_search_lrintf" = "xnone required"],
+ [lrintf_lib=""]
+)
+AC_SUBST(lrintf_lib)
CC_ATTRIBUTE_VISIBILITY([default], [
CC_FLAG_VISIBILITY([CFLAGS="${CFLAGS} -fvisibility=hidden"])
diff -...
2013 Mar 10
0
[PATCH 1/4] Handle AC_SEARCH_LIBS special result value
...pc.in | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8b1a3b3..113086d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,7 +107,11 @@ AS_IF([test "x$enable_fixed_point" = "xyes"],
])
]
)
-AC_SUBST(ac_cv_search_lrintf)
+lrintf_lib="$ac_cv_search_lrintf"
+AS_IF([test "x$ac_cv_search_lrintf" = "xnone required"],
+ [lrintf_lib=""]
+)
+AC_SUBST(lrintf_lib)
CC_ATTRIBUTE_VISIBILITY([default], [
CC_FLAG_VISIBILITY([CFLAGS="${CFLAGS} -fvisibility=hidden"])
diff --...
2012 Sep 25
0
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v3)
...)
+
+AC_OUTPUT([Makefile])
+
+AC_MSG_NOTICE([
+Summary:
+
+Assertions ................... : ${enable_assert}
+HTTP support ................. : ${enable_http}
+Fixed-point .................. : ${enable_fixed_point}
+Floating-point API ........... : ${enable_float}
+ Library for lrintf() ....... : ${ac_cv_search_lrintf}
+Hidden visibility ............ : ${cc_cv_flag_visibility}
+])
diff --git a/m4/attributes.m4 b/m4/attributes.m4
new file mode 100644
index 0000000..ebc7347
--- /dev/null
+++ b/m4/attributes.m4
@@ -0,0 +1,321 @@
+dnl Macros to check the presence of generic (non-typed) symbols.
+dnl Copyright (c) 20...
2012 Sep 25
3
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v2)
...)
+
+AC_OUTPUT([Makefile])
+
+AC_MSG_NOTICE([
+Summary:
+
+Assertions ................... : ${enable_assert}
+HTTP support ................. : ${enable_http}
+Fixed-point .................. : ${enable_fixed_point}
+Floating-point API ........... : ${enable_float}
+ Library for lrintf() ....... : ${ac_cv_search_lrintf}
+Hidden visibility ............ : ${cc_cv_flag_visibility}
+])
diff --git a/m4/attributes.m4 b/m4/attributes.m4
new file mode 100644
index 0000000..ebc7347
--- /dev/null
+++ b/m4/attributes.m4
@@ -0,0 +1,321 @@
+dnl Macros to check the presence of generic (non-typed) symbols.
+dnl Copyright (c) 20...
2012 Sep 29
2
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v4)
..., [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() ....... : ${ac_cv_search_lrintf}"
+ ])
+ ]
+)
+
+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])
+
+dnl Check for doxygen
+AC_ARG_ENABLE([doc],
+ AS_HELP_STRING...