From dd759683ddcdd218be6d54431c83dbc5b7d48ae6 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sun, 4 Apr 2010 12:40:47 +0200 Subject: [PATCH] Check for ALSA --- configure.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.in b/configure.in index 605de56c..aaf19da1 100644 --- a/configure.in +++ b/configure.in @@ -122,10 +122,16 @@ fi case "$host" in *linux*) + use_alsa=true + PKG_CHECK_MODULES(ALSA, [ alsa ]) + AC_DEFINE(LAUDIO_USE_ALSA, 1, [define if local audio output uses ALSA]) + AC_CHECK_HEADER(sys/signalfd.h, , AC_MSG_ERROR([signalfd required; glibc 2.9+ recommended])) ;; esac +AM_CONDITIONAL(COND_ALSA, test x$use_alsa = xtrue) + AC_CHECK_SIZEOF(void *) AC_CHECK_HEADERS(getopt.h,,)