Commit b54348a1 authored by Avuton Olrich's avatar Avuton Olrich Committed by Max Kellermann

configure.ac: disable libflac's oggflac support with --disable-oggflac

The configure flag "--disable-oggflac" disabled only liboggflac.
parent dda8fc4f
......@@ -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>])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment