diff options
author | Jim Ramsay <i.am@jimramsay.com> | 2008-06-16 13:43:03 +0000 |
---|---|---|
committer | Jim Ramsay <i.am@jimramsay.com> | 2008-06-16 13:43:03 +0000 |
commit | 72434d212ccdcccd7f5e964108bb7d0f2d540744 (patch) | |
tree | 84c82894b66bb66d0196359209f8b4231ed325df | |
parent | d1b4112f45be3db6158027b225939dffbe84554c (diff) |
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
-rw-r--r-- | configure.ac | 6 |
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 |