X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh_common.c;h=eb0813df1cb10d16512fd6a863d7c50cb24cba43;hp=edfc8d1d08e79f333afce711aa814a374c8f1faf;hb=dfc7d7868b3b5a4fd6916fd96c12a079db5497c5;hpb=68630d8b55d688a7c7ce116951c310150aa9c166 diff --git a/afh_common.c b/afh_common.c index edfc8d1d..eb0813df 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,19 +58,19 @@ static struct audio_format_handler afl[] = { }, { .name = "spx", -#ifdef HAVE_SPEEX +#if defined(HAVE_OGG) && defined(HAVE_SPEEX) .init = spx_afh_init, #endif }, { .name = "flac", -#ifdef HAVE_FLAC +#if defined(HAVE_OGG) && defined(HAVE_FLAC) .init = flac_afh_init, #endif }, { .name = "opus", -#ifdef HAVE_OPUS +#if defined(HAVE_OGG) && defined(HAVE_OPUS) .init = opus_afh_init, #endif },