Commit 72434d21 authored by Jim Ramsay's avatar Jim Ramsay

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
parent d1b4112f
...@@ -630,7 +630,7 @@ if test x$with_zeroconf != xno; then ...@@ -630,7 +630,7 @@ if test x$with_zeroconf != xno; then
if test x$found_avahi = x1; then if test x$found_avahi = x1; then
with_zeroconf=avahi with_zeroconf=avahi
elif test x$with_zeroconf = xavahi; then elif test x$with_zeroconf = xavahi; then
with_zeroconf=no AC_MSG_ERROR([Avahi support requested but not found])
fi fi
if test x$with_zeroconf = xbonjour || test x$with_zeroconf = xauto; then if test x$with_zeroconf = xbonjour || test x$with_zeroconf = xauto; then
...@@ -644,10 +644,10 @@ if test x$with_zeroconf != xno; then ...@@ -644,10 +644,10 @@ if test x$with_zeroconf != xno; then
if test x$found_bonjour = x1; then if test x$found_bonjour = x1; then
with_zeroconf=bonjour with_zeroconf=bonjour
elif test x$with_zeroconf = xbonjour; then elif test x$with_zeroconf = xbonjour; then
with_zeroconf=no AC_MSG_ERROR([Bonjour support requested but not found])
fi 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]) AC_MSG_WARN([No supported Zeroconf backend found, disabling Zeroconf])
with_zeroconf=no with_zeroconf=no
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment