aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJim Ramsay <i.am@jimramsay.com>2008-06-16 13:43:03 +0000
committerJim Ramsay <i.am@jimramsay.com>2008-06-16 13:43:03 +0000
commit72434d212ccdcccd7f5e964108bb7d0f2d540744 (patch)
tree84c82894b66bb66d0196359209f8b4231ed325df /configure.ac
parentd1b4112f45be3db6158027b225939dffbe84554c (diff)
downloadmpd-72434d212ccdcccd7f5e964108bb7d0f2d540744.tar.gz
mpd-72434d212ccdcccd7f5e964108bb7d0f2d540744.tar.xz
mpd-72434d212ccdcccd7f5e964108bb7d0f2d540744.zip
Die if a specific backend is requested but not found.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7382 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 81a94afdc..d48a237bc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -630,7 +630,7 @@ if test x$with_zeroconf != xno; then
if test x$found_avahi = x1; then
with_zeroconf=avahi
elif test x$with_zeroconf = xavahi; then
- with_zeroconf=no
+ AC_MSG_ERROR([Avahi support requested but not found])
fi
if test x$with_zeroconf = xbonjour || test x$with_zeroconf = xauto; then
@@ -644,10 +644,10 @@ if test x$with_zeroconf != xno; then
if test x$found_bonjour = x1; then
with_zeroconf=bonjour
elif test x$with_zeroconf = xbonjour; then
- with_zeroconf=no
+ AC_MSG_ERROR([Bonjour support requested but not found])
fi
- if test x$with_zeroconf = xauto || test x$with_zeroconf = xno; then
+ if test x$with_zeroconf = xauto; then
AC_MSG_WARN([No supported Zeroconf backend found, disabling Zeroconf])
with_zeroconf=no
else