From 45f00b71613977b536d86f035e73f0af22d2acfb Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Tue, 27 Feb 2007 20:02:29 +0000 Subject: [PATCH] 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 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 95386d296..3ceb8907b 100644 --- a/configure.ac +++ b/configure.ac @@ -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