blob: 34148897cb24b4763fc291823fb9a6cc1ea8936d (
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
43
44
45
46
47
48
|
AC_PREREQ([2.67])
AC_INIT([audio-alsa], [0.1])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
# Checks for programs.
m4_pattern_allow([AM_PROG_AR])
AM_PROG_AR
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_PROG_AWK
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
PKG_PROG_PKG_CONFIG
# Checks for libraries.
PKG_CHECK_MODULES(HALROOTSTRAP, hal-rootstrap)
AC_SUBST(HALROOTSTRAP_CFLAGS)
AC_SUBST(HALROOTSTRAP_LIBS)
if test $USE_TINYALSA = "1"; then
PKG_CHECK_MODULES(TINYALSA, tinyalsa)
AC_SUBST(TINYALSA_CFLAGS)
AC_SUBST(TINYALSA_LIBS)
AM_CONDITIONAL(USE_TINYALSA, true)
else
AM_CONDITIONAL(USE_TINYALSA, false)
fi
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([ \
Makefile
])
AC_OUTPUT
|