aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-16 21:58:52 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-16 21:58:52 +0000
commite570f13d74805824cef4fa4ea0dcf746f36cc83a (patch)
tree1b96ff4effd143512e17b1215a1c99f5e5fe0d64 /configure.ac
parent39615044e37ce1670415fc7af540105c9f6a214b (diff)
downloadmpd-e570f13d74805824cef4fa4ea0dcf746f36cc83a.tar.gz
mpd-e570f13d74805824cef4fa4ea0dcf746f36cc83a.tar.xz
mpd-e570f13d74805824cef4fa4ea0dcf746f36cc83a.zip
If no input plugin is supported, fail to configure.
(useless daemon) git-svn-id: https://svn.musicpd.org/mpd/trunk@4376 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8b375d85a..5d9f3bdf8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -722,6 +722,18 @@ else
echo " MOD support ...................disabled"
fi
+if
+ test x$enable_mp3 = xno &&
+ test x$enable_oggvorbis = xno &&
+ test x$enable_flac = xno &&
+ test x$enable_oggflac = xno &&
+ test x$enable_audiofile = xno &&
+ test x$enable_aac = xno &&
+ test x$enable_mpc = xno &&
+ test x$enable_mod = xno; then
+ AC_MSG_ERROR("No input plugins supported!")
+fi
+
echo ""
echo "##########################################"
echo ""