Now, all the includes we need to use Speex are speex.h and speex_bits.h
[speexdsp.git] / configure.in
1 dnl Process this file with autoconf to produce a configure script. -*-m4-*-
2
3 AC_INIT(libspeex/speex.h)
4
5 SPEEX_MAJOR_VERSION=0
6 SPEEX_MINOR_VERSION=1
7 SPEEX_MICRO_VERSION=0
8 SPEEX_VERSION=$SPEEX_MAJOR_VERSION.$SPEEX_MINOR_VERSION.$SPEEX_MICRO_VERSION
9 SPEEX_BINARY_AGE=0
10 SPEEX_INTERFACE_AGE=0
11
12 # libtool versioning
13 LT_RELEASE=$SPEEX_MAJOR_VERSION.$SPEEX_MINOR_VERSION
14 LT_CURRENT=`expr $SPEEX_MICRO_VERSION - $SPEEX_INTERFACE_AGE`
15 LT_REVISION=$SPEEX_INTERFACE_AGE
16 LT_AGE=`expr $SPEEX_BINARY_AGE - $SPEEX_INTERFACE_AGE`
17 AC_SUBST(LT_RELEASE)
18 AC_SUBST(LT_CURRENT)
19 AC_SUBST(LT_REVISION)
20 AC_SUBST(LT_AGE)
21
22 # For automake.
23 VERSION=$SPEEX_VERSION
24 PACKAGE=Speex
25
26 AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
27 AM_MAINTAINER_MODE
28
29 AC_CANONICAL_HOST
30 AC_DISABLE_SHARED
31 dnl AC_DISABLE_STATIC
32 AM_PROG_LIBTOOL
33
34 AC_CHECK_LIB(m, sin)
35 AC_FUNC_ALLOCA
36 dnl AC_DEFINE(VERSION, "$VERSION")
37 AC_DEFINE_UNQUOTED(VERSION, "${VERSION}")
38
39 dnl Output the makefiles and version.h.
40
41 AC_OUTPUT([Makefile libspeex/Makefile src/Makefile ])
42