blob: 738bc564b75f1ae2d4455a7c2fe65b90bcde6ff4 (
plain)
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
37
38
39
40
41
42
|
AC_PREREQ(2.61)
AC_INIT(MMSESSION, 1.0, BUG-REPORT-ADDRESS)
AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE(mm-session, 1.0)
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
# Checks for libraries.
PKG_CHECK_MODULES(AUDIOSESSIONMGR, audio-session-mgr)
AC_SUBST(AUDIOSESSIONMGR_CFLAGS)
AC_SUBST(AUDIOSESSIONMGR_LIBS)
PKG_CHECK_MODULES(MMCOMMON, mm-common)
AC_SUBST(MMCOMMON_CFLAGS)
AC_SUBST(MMCOMMON_LIBS)
PKG_CHECK_MODULES(DLOG, dlog)
AC_SUBST(DLOG_CFLAGS)
AC_SUBST(DLOG_LIBS)
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([sys/types.h sys/stat.h fcntl.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_TYPE_MODE_T
# Checks for library functions.
#AC_FUNC_MALLOC
#AC_CHECK_FUNCS([memset])
AC_CONFIG_FILES([Makefile
mm-session.pc
])
AC_OUTPUT
|