shithub: opus

ref: c1673fa9c6210c3797c8eb20004deb9e6360a41b
dir: /configure.ac/

View raw version
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.59])
AC_INIT(src/opus.h)
AM_INIT_AUTOMAKE(opus,0.9.4)

AM_CONFIG_HEADER([config.h])

# 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

export OPUS_BUILD=true
AC_DEFINE([OPUS_BUILD], [], [This is a build of Opus])

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

AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT