]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afh_common.c
build: Convert alsa detection to new macros.
[paraslash.git] / afh_common.c
index f77880ba83a16527b671d76d5137b1bd801a9a70..08bcde90697ec251c50ebd58abaf5f7ddf3ecff0 100644 (file)
@@ -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
        },