X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh_common.c;h=08bcde90697ec251c50ebd58abaf5f7ddf3ecff0;hp=edfc8d1d08e79f333afce711aa814a374c8f1faf;hb=9aa1f3d69c0aa335b3026581defbc09eb2c4efb4;hpb=a7967902aa937e91d35767b3eba2b77343e8b822 diff --git a/afh_common.c b/afh_common.c index edfc8d1d..08bcde90 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 }, @@ -70,7 +70,7 @@ static struct audio_format_handler afl[] = { }, { .name = "opus", -#ifdef HAVE_OPUS +#if defined(HAVE_OGG) && defined(HAVE_OPUS) .init = opus_afh_init, #endif },