[vlc-devel] [PATCH] configure: Do not use libmicrodns on macOS

Marvin Scholz epirat07 at gmail.com
Fri Oct 28 21:27:18 CEST 2016

Due to macOS using Bonjour, libmicrodns can't bind to the requested
port on macOS, so it does not make much sense to include it in builds
for macOS.

See https://github.com/videolabs/libmicrodns/issues/9
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index a316e00..35e3d74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4020,7 +4020,9 @@ PKG_ENABLE_MODULES_VLC([UPNP], [upnp], [libupnp], [Intel UPNP SDK],[auto])
 dnl mDNS using libmicrodns
-PKG_ENABLE_MODULES_VLC([MICRODNS], [], [microdns], [mDNS services discovery], [auto])
+if test "${SYS}" != "darwin"; then
+    PKG_ENABLE_MODULES_VLC([MICRODNS], [], [microdns], [mDNS services discovery], [auto])
 EXTEND_HELP_STRING([Misc options:])
2.8.4 (Apple Git-73)

More information about the vlc-devel mailing list