ref: ead2920de5e2d9665ab79239b2103062785fdf8f
parent: a9d9c5c7e52fcefe3542b476c5cd486f7beb27bc
author: Paul Brossier <piem@altern.org>
date: Sat May 28 02:53:21 EDT 2005
disable alsa if no jack found
--- a/configure.ac
+++ b/configure.ac
@@ -130,10 +130,15 @@
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,