aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2008-11-03 17:35:16 +0100
committerMax Kellermann <max@duempel.org>2008-11-03 17:35:16 +0100
commitb54348a1e5528cef8dc296f2a872cca3fcaa97cb (patch)
tree563e2cdcabb93504809560426f4b732b9118a8b3
parentdda8fc4f6b46fb1447366014b13a23329ca2d146 (diff)
downloadmpd-b54348a1e5528cef8dc296f2a872cca3fcaa97cb.tar.gz
mpd-b54348a1e5528cef8dc296f2a872cca3fcaa97cb.tar.xz
mpd-b54348a1e5528cef8dc296f2a872cca3fcaa97cb.zip
configure.ac: disable libflac's oggflac support with --disable-oggflac
The configure flag "--disable-oggflac" disabled only liboggflac.
Diffstat (limited to '')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 41510b89f..3fab393de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -701,7 +701,7 @@ if test x$enable_flac = xyes; then
oldlibs="$LIBS"
CFLAGS="$CFLAGS $FLAC_CFLAGS"
LIBS="$LIBS $FLAC_LIBS"
- if test x$enable_flac = xyes; then
+ if test x$enable_flac = xyes && test x$enable_oggflac = xyes; then
AC_CHECK_DECL(FLAC_API_SUPPORTS_OGG_FLAC,
[enable_oggflac=flac], [],
[#include <FLAC/export.h>])