From: Paul Brossier Date: Sat, 28 May 2005 06:53:21 +0000 (+0000) Subject: disable alsa if no jack found X-Git-Tag: bzr2git~901 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ead2920de5e2d9665ab79239b2103062785fdf8f;p=aubio.git disable alsa if no jack found --- diff --git a/configure.ac b/configure.ac index 9b6c667f..77d81898 100644 --- a/configure.ac +++ b/configure.ac @@ -130,10 +130,15 @@ AC_ARG_ENABLE(alsa, with_alsa="yes") if test "$with_alsa" = "yes" then + if test "$with_jack" = "yes" + then PKG_CHECK_MODULES(ALSA, alsa >= 0.0.9, ALSA_SUPPORT=1, ALSA_SUPPORT=0) if test "${ALSA_SUPPORT}" = "1"; then AC_DEFINE(ALSA_SUPPORT,1,[Define to enable alsa support]) fi + else + AC_MSG_WARN([Disabling alsa as jack was not found]) + fi fi AC_ARG_ENABLE(ladcca,