X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afh_common.c;h=b23ca97bd62b5db2371f11c5b2364f9e396a32c6;hb=a320e1b5f7aa8af11dbc82f40525e40bc18454c9;hp=edfc8d1d08e79f333afce711aa814a374c8f1faf;hpb=a7967902aa937e91d35767b3eba2b77343e8b822;p=paraslash.git diff --git a/afh_common.c b/afh_common.c index edfc8d1d..b23ca97b 100644 --- a/afh_common.c +++ b/afh_common.c @@ -42,7 +42,7 @@ static struct audio_format_handler afl[] = { }, { .name = "ogg", -#ifdef HAVE_OGGVORBIS +#if defined(HAVE_OGG) && defined(HAVE_VORBIS) .init = ogg_init, #endif }, @@ -58,7 +58,7 @@ static struct audio_format_handler afl[] = { }, { .name = "spx", -#ifdef HAVE_SPEEX +#if defined(HAVE_OGG) && defined(HAVE_SPEEX) .init = spx_afh_init, #endif },