From 27d7013ff87e80fa5f94c384c41027f3a54f90c2 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Sat, 11 Sep 2010 19:57:44 -0700 Subject: configure.ac: Only enable libogg if OggTremor path/opt has not been specified. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2cb379119..02d860b14 100644 --- a/configure.ac +++ b/configure.ac @@ -630,7 +630,9 @@ fi AM_CONDITIONAL(ENABLE_LASTFM, test x$enable_lastfm = xyes) dnl ---------------------------------- libogg --------------------------------- -PKG_CHECK_MODULES(OGG, [ogg], enable_ogg=yes, enable_ogg=no) +if test x$with_tremor == xno || test -z $with_tremor; then + PKG_CHECK_MODULES(OGG, [ogg], enable_ogg=yes, enable_ogg=no) +fi dnl ---------------------------------- libmms --------------------------------- MPD_AUTO_PKG(mms, MMS, [libmms >= 0.4], -- cgit v1.2.3