From baf8efff5b1f77764ed1cc5ce73fcd66536aa150 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Tue, 2 Nov 2004 17:20:07 +0000 Subject: disable shout support if vorbis not found git-svn-id: https://svn.musicpd.org/mpd/trunk@2477 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1a91d80bd..492ea84d1 100644 --- a/configure.ac +++ b/configure.ac @@ -101,6 +101,12 @@ AP_maGiC_VALUE ) fi +if test x$enable_ao = xyes; then + if test x$enable_ogg = xno; then + AC_MSG_WARN("disabling shout streaming support since vorbis was not found") + fi +fi + if test x$enable_ao = xyes; then XIPH_PATH_AO(MPD_LIBS="$MPD_LIBS $AO_LIBS" MPD_CFLAGS="$MPD_CFLAGS $AO_CFLAGS",AC_MSG_ERROR(Must have libao installed!!!)) AC_DEFINE(HAVE_AUDIO, 1, [Define to play audio]) -- cgit v1.2.3