2 # Process this file with autoconf to produce a configure script.
5 AC_INIT(interface/SKP_Silk_SDK_API.h)
6 AM_INIT_AUTOMAKE(libSKP_SILK_SDK,1.0.2)
12 # Checks for header files.
14 AC_CHECK_HEADERS([float.h stdint.h stdlib.h string.h])
16 # Checks for typedefs, structures, and compiler characteristics.
21 # Checks for library functions.
22 AC_CHECK_LIB([m],[pow])
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])
31 dnl AC_DEFINE([FIXED_POINT], [0], [Compile as floating-point])
33 dnl AC_DEFINE([FIXED_POINT], [0], [Compile as floating-point])
36 AM_CONDITIONAL([FIXED_POINT], [test x$ac_enable_fixed = xyes])
39 AC_CONFIG_FILES([Makefile])