aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-06-02 22:58:51 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-06-02 22:58:51 +0000
commite41601c98b6fa261cc82379062f11510a41ae4e0 (patch)
tree7bbe49b6046d5b8f11d64bb60605ad9a210e1573 /configure.ac
parentf3be4e8c9156f02c8c27490358e009c1c8342be3 (diff)
downloadmpd-e41601c98b6fa261cc82379062f11510a41ae4e0.tar.gz
mpd-e41601c98b6fa261cc82379062f11510a41ae4e0.tar.xz
mpd-e41601c98b6fa261cc82379062f11510a41ae4e0.zip
Check if we need -ldns_sd for Bonjour.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6463 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 02cb6b9ec..dd03ef773 100644
--- a/configure.ac
+++ b/configure.ac
@@ -601,6 +601,7 @@ if test x$with_zeroconf != xno; then
if test x$with_zeroconf = xbonjour -o x$with_zeroconf = xauto; then
AC_CHECK_HEADER(dns_sd.h, [found_bonjour=1;AC_DEFINE(HAVE_BONJOUR,1,[Define to enable Bonjour Zeroconf support])],[found_bonjour=0])
+ AC_CHECK_LIB(dns_sd, DNSServiceRegister, MPD_LIBS="$MPD_LIBS -ldns_sd")
fi
if test x$found_bonjour = x1; then