Check if we need -ldns_sd for Bonjour.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6463 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
		@@ -601,6 +601,7 @@ if test x$with_zeroconf != xno; then
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	if test x$with_zeroconf = xbonjour -o x$with_zeroconf = xauto; 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_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
 | 
						fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if test x$found_bonjour = x1; then
 | 
						if test x$found_bonjour = x1; then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user