configure.ac: Only enable libogg if OggTremor path/opt has not been specified.

This commit is contained in:
Avuton Olrich 2010-09-11 19:57:44 -07:00
parent 27d3340af2
commit 27d7013ff8

View File

@ -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],