aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2006-10-18 02:49:13 +0000
committerWarren Dukes <warren.dukes@gmail.com>2006-10-18 02:49:13 +0000
commit29c7681ca4746fc663dc070f09102eb184f94044 (patch)
treec75f567e34c7408d29b3206dfc61b971d5700d90 /configure.ac
parente9f51778ef4784ae42ff8d13b7d0f3ccfc49bead (diff)
downloadmpd-29c7681ca4746fc663dc070f09102eb184f94044.tar.gz
mpd-29c7681ca4746fc663dc070f09102eb184f94044.tar.xz
mpd-29c7681ca4746fc663dc070f09102eb184f94044.zip
jack patch from anarch (and some type fixes for mp4 and acc plugins)
git-svn-id: https://svn.musicpd.org/mpd/trunk@4912 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--configure.ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5c363baaa..3242d8b97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,6 +69,7 @@ AC_ARG_ENABLE(ipv6,[ --disable-ipv6 disable IPv6 support (default: ena
AC_ARG_ENABLE(sun,[ --disable-sun disable sun support (default: enable)],[enable_sun=$enableval],[enable_sun=yes])
AC_ARG_ENABLE(oss,[ --disable-oss disable OSS support (default: enable)],[enable_oss=$enableval],[enable_oss=yes])
AC_ARG_ENABLE(alsa,[ --disable-alsa disable ALSA support (default: enable)],[enable_alsa=$enableval],[enable_alsa=yes])
+AC_ARG_ENABLE(jack,[ --disable-jack disable jack support (default: enable)],[enable_jack=$enableval],[enable_jack=yes])
AC_ARG_ENABLE(pulse,[ --disable-pulse disable support for the PulseAudio sound server (default: enable)],[enable_pulse=$enableval],[enable_pulse=yes])
AC_ARG_ENABLE(mvp,[ --enable-mvp enable support for Hauppauge Media MVP (default: disable)],[enable_mvp=$enableval],[enable_mvp=no])
AC_ARG_ENABLE(oggvorbis,[ --disable-oggvorbis disable Ogg Vorbis support (default: enable)],[enable_oggvorbis=$enableval],enable_oggvorbis=yes)
@@ -190,6 +191,14 @@ if test x$enable_alsa = xyes; then
AM_PATH_ALSA(0.9.0,[AC_DEFINE(HAVE_ALSA,1,[Define to enable ALSA support]) MPD_LIBS="$MPD_LIBS $ALSA_LIBS" MPD_CFLAGS="$MPD_CFLAGS $ALSA_CFLAGS"],enable_alsa=no)
fi
+if test "x$enable_jack" = "xyes"; then
+ PKG_CHECK_MODULES(JACK, [jack >= 0.4],
+ [AC_DEFINE(HAVE_JACK,1,[Define to enable JACK support])
+ MPD_LIBS="$MPD_LIBS $JACK_LIBS"
+ MPD_CFLAGS="$MPD_CFLAGS $JACK_CFLAGS"],
+ [enable_jack=no])
+fi
+
if test x$enable_iconv = xyes; then
if test "x$iconv_libraries" != "x" ; then
ICONV_LIBS="-L$iconv_libraries"
@@ -601,6 +610,12 @@ else
echo " ALSA support ..................disabled"
fi
+if test x$enable_jack = xyes; then
+ echo " JACK support ..................enabled"
+else
+ echo " JACK support ..................disabled"
+fi
+
if test x$enable_sun = xyes; then
echo " Sun support ...................enabled"
else
@@ -640,6 +655,7 @@ if test x$enable_ao = xno &&
test x$enable_alsa = xno &&
test x$enable_osx = xno &&
test x$enable_pulse = xno &&
+ test x$enable_jack = xno &&
test x$enable_mvp = xno; then
AC_MSG_ERROR([No Audio Output types configured!])
fi