3 AC_INIT([audio-hal-sc7727], [0.1])
4 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
5 AC_CONFIG_HEADERS([config.h])
7 AC_CONFIG_MACRO_DIR([m4])
10 m4_pattern_allow([AM_PROG_AR])
23 # Checks for libraries.
25 PKG_CHECK_MODULES(ASOUNDLIB, alsa >= 1.0.24)
26 AC_SUBST(ASOUNDLIB_CFLAGS)
27 AC_SUBST(ASOUNDLIB_LIBS)
29 if test $USE_TINYALSA = "1"; then
30 PKG_CHECK_MODULES(TINYALSA, tinyalsa)
31 AC_SUBST(TINYALSA_CFLAGS)
32 AC_SUBST(TINYALSA_LIBS)
33 AM_CONDITIONAL(USE_TINYALSA, true)
35 AM_CONDITIONAL(USE_TINYALSA, false)
38 PKG_CHECK_MODULES(VCONF, vconf)
39 AC_SUBST(VCONF_CFLAGS)
42 PKG_CHECK_MODULES(INIPARSER, iniparser)
43 AC_SUBST(INIPARSER_CFLAGS)
44 AC_SUBST(INIPARSER_LIBS)
46 PKG_CHECK_MODULES(DLOG, dlog)
50 PKG_CHECK_MODULES(EXPAT, expat)
51 AC_SUBST(EXPAT_CFLAGS)
54 # Checks for header files.
56 # Checks for typedefs, structures, and compiler characteristics.
58 # Checks for library functions.