aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2009-03-15 12:17:11 -0700
committerAvuton Olrich <avuton@gmail.com>2009-03-15 12:17:11 -0700
commit7b5c658f7ef1f97e1ae12054e6e3fcc89d5e050d (patch)
treef045a87b881127881b7fc60ac2b5b3fdf3bb1de7
parentf5c75d88466e3f5810ff920f81597af5a6fe7ff5 (diff)
downloadmpd-7b5c658f7ef1f97e1ae12054e6e3fcc89d5e050d.tar.gz
mpd-7b5c658f7ef1f97e1ae12054e6e3fcc89d5e050d.tar.xz
mpd-7b5c658f7ef1f97e1ae12054e6e3fcc89d5e050d.zip
configure: Fail if trying to build with streaming output and no encoder
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 47a726bdd..cf8d33c36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1192,6 +1192,12 @@ if
echo " Ogg Vorbis encoder ............disabled"
fi
echo ""
+
+ if
+ test x$enable_oggvorbis_encoder = xno &&
+ test x$enable_lame_encoder = xno; then
+ AC_MSG_ERROR([Cannot enable a streaming output without an encoder.])
+ fi
fi
echo " File Format Support:"