configure.ac 621 Bytes
Newer Older
Jean-Marc Valin's avatar
Jean-Marc Valin committed
1
2
3
4
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.59])
Jean-Marc Valin's avatar
Jean-Marc Valin committed
5
AC_INIT(src/opus.h)
Jean-Marc Valin's avatar
Jean-Marc Valin committed
6
AM_INIT_AUTOMAKE(opus,20110201)
Jean-Marc Valin's avatar
Jean-Marc Valin committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

# Checks for programs.
AC_PROG_CC
AC_PROG_LIBTOOL

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([float.h stdint.h stdlib.h string.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_C_RESTRICT
AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_MALLOC

AC_CONFIG_SUBDIRS([celt])
AC_CONFIG_SUBDIRS([silk])

AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT