aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2010-09-11 19:57:44 -0700
committerAvuton Olrich <avuton@gmail.com>2010-09-11 19:57:44 -0700
commit27d7013ff87e80fa5f94c384c41027f3a54f90c2 (patch)
tree6f052df0c0e09daf07d31fd999819acabde423fe
parent27d3340af20b125cabcbf881cef94a17a2cf8589 (diff)
downloadmpd-27d7013ff87e80fa5f94c384c41027f3a54f90c2.tar.gz
mpd-27d7013ff87e80fa5f94c384c41027f3a54f90c2.tar.xz
mpd-27d7013ff87e80fa5f94c384c41027f3a54f90c2.zip
configure.ac: Only enable libogg if OggTremor path/opt has not been specified.
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
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],