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

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2011-01-02 06:47:50 +0300
committerJean-Marc Valin <jean-marc.valin@octasic.com>2011-01-11 17:32:09 +0300
commit2d333b4de61bc89e9936db12b321f73ed81e625b (patch)
tree44238eb51857f3711b645751d190282d076ae4c5 /configure.ac
parentecefde3d4a616b88c89066570f5bd97fdb437c0f (diff)
Use more standard test for lrintf/lrint
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index b970de4..ac45a85 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,8 +165,8 @@ if test $ac_cv_c_compiler_gnu = yes ; then
CFLAGS="$CFLAGS -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare"
fi
-AC_C99_FUNC_LRINTF
-AC_C99_FUNC_LRINT
+AC_CHECK_FUNCS([lrintf])
+AC_CHECK_FUNCS([lrint])
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
@@ -212,7 +212,7 @@ AC_MSG_RESULT([
Compiler support:
C99 var arrays: ................ ${has_var_arrays}
- C99 lrintf: .................... ${ac_cv_c99_lrintf}
+ C99 lrintf: .................... ${ac_cv_func_lrintf}
Alloca: ........................ ${has_alloca}
General configuration: