-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfigure.ac
37 lines (28 loc) · 1.03 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# process this file with autoconf to produce a configure script.
AC_INIT([msilbc],[2.0.3])
# require at least this autoconf version
AC_PREREQ(2.64)
# set up the directory structure
AC_CONFIG_SRCDIR([ilbc.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
# declare this variable precious for automated processing from higher level
AC_ARG_VAR(MSILBC_CFLAGS,
[Extra C compiler flags for msilbc, such as -DUSE_20MS_FRAMES=1])
# make a simpler command-line option available, too
AC_ARG_ENABLE([20ms-frames], [AS_HELP_STRING([--enable-20ms-frames],
[enable 20ms frame size (default is 30ms)])],
[MSILBC_CFLAGS="-DUSE_20MS_FRAMES=1"])
# initialize automake
AM_INIT_AUTOMAKE([tar-ustar])
# initialize libtool
LT_INIT([disable-static])
# check for libraries that have pkg-config files installed
PKG_CHECK_MODULES(ORTP, ortp >= 0.16.0)
PKG_CHECK_MODULES(MEDIASTREAMER, mediastreamer >= 2.0.0)
PKG_CHECK_MODULES(ILBC, ilbc >= 0.0.0)
# create the following files from their .in counterparts
AC_CONFIG_FILES([
Makefile
])
AC_OUTPUT