Prevents taking the log of zero in fixed-point
[opus.git] / configure.ac
index 41016f4..ac45a85 100644 (file)
@@ -5,8 +5,8 @@ AC_INIT(libcelt/arch.h)
 AM_CONFIG_HEADER([config.h])
 
 CELT_MAJOR_VERSION=0
-CELT_MINOR_VERSION=9
-CELT_MICRO_VERSION=1
+CELT_MINOR_VERSION=10
+CELT_MICRO_VERSION=0
 CELT_EXTRA_VERSION=
 CELT_VERSION=$CELT_MAJOR_VERSION.$CELT_MINOR_VERSION.$CELT_MICRO_VERSION$CELT_EXTRA_VERSION
 LIBCELT_SUFFIX=0
@@ -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: