Implements desiredInternalSampleRate
[opus.git] / configure.ac
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.59])
5 AC_INIT(interface/SKP_Silk_SDK_API.h)
6 AM_INIT_AUTOMAKE(libSKP_SILK_SDK,1.0.2)
7
8 # Checks for programs.
9 AC_PROG_CC
10 AC_PROG_LIBTOOL
11
12 # Checks for header files.
13 AC_HEADER_STDC
14 AC_CHECK_HEADERS([float.h stdint.h stdlib.h string.h])
15
16 # Checks for typedefs, structures, and compiler characteristics.
17 AC_C_CONST
18 AC_C_INLINE
19 AC_TYPE_SIZE_T
20
21 # Checks for library functions.
22 AC_CHECK_LIB([m],[pow])
23
24 ac_enable_fixed="no";
25 AC_ARG_ENABLE(fixed-point, [  --enable-fixed-point    compile as fixed-point],
26 [if test "$enableval" = yes; then
27 ac_enable_fixed="yes";
28 AC_DEFINE([FIXED_POINT], [1], [Compile as fixed-point])
29 else
30 ac_enable_fixed="no";
31 dnl AC_DEFINE([FIXED_POINT], [0], [Compile as floating-point])
32 fi],
33 dnl AC_DEFINE([FIXED_POINT], [0], [Compile as floating-point])
34 )
35
36 AM_CONDITIONAL([FIXED_POINT], [test x$ac_enable_fixed = xyes])
37
38
39 AC_CONFIG_FILES([Makefile])
40 AC_OUTPUT