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