From 72434d212ccdcccd7f5e964108bb7d0f2d540744 Mon Sep 17 00:00:00 2001 From: Jim Ramsay Date: Mon, 16 Jun 2008 13:43:03 +0000 Subject: [PATCH] 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 --- configure.ac | 6 +++--- 1 file 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