LSR and Zeroconf support both use PKG_CHECK_MODULES, and thus require

PKG_PROG_PKG_CONFIG to be done first.  But this is only done if PulseAudio
and JACK aren't explitily disabled.  Therefore, using ./configure
--disable-pulse --disable-jack will make it so that neither LSR nor
Zeroconf can be found.  This is the second time this bug has come up (first
being when JACK was added), so can people please start adding to the test
around PKG_PROG_PKG_CONFIG when they add new features that need
PKG_CHECK_MODULES?

git-svn-id: https://svn.musicpd.org/mpd/trunk@5453 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
J. Alexander Treuman 2007-02-27 20:02:29 +00:00
parent 7ca84d3166
commit 45f00b7161

View File

@ -182,7 +182,8 @@ if test x$enable_oss = xyes; then
AC_CHECK_HEADER(sys/soundcard.h,[enable_oss=yes;AC_DEFINE(HAVE_OSS,1,[Define to enable OSS])],[AC_MSG_WARN(Soundcard headers not found -- disabling OSS support);enable_oss=no])
fi
if test x$enable_pulse = xyes || test x$enable_jack = xyes; then
if test x$enable_pulse = xyes || test x$enable_jack = xyes
test x$enable_lsr = xyes || test x$with_zeroconf != xno; then
PKG_PROG_PKG_CONFIG
fi