summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 9025855..3a10e2c 100644
--- a/configure.in
+++ b/configure.in
@@ -13,6 +13,7 @@ AC_CANONICAL_HOST
AH_TEMPLATE(HAVE_OPENSSL, [OpenSSL library available])
AH_TEMPLATE(HAVE_LIBXML, [LibXML library available])
AH_TEMPLATE(HAVE_EXPAT, [Expat library available])
+AH_TEMPLATE(HAVE_BONJOUR, [Apple Bonjour SDK available])
AH_TEMPLATE(HAVE_AVAHI, [Avahi library available])
################################################################################
@@ -194,11 +195,13 @@ fi
# Resolv
AC_CHECK_LIB(resolv, inet_aton)
-# Avahi
+# DNSSD Service
case $host in
*-*-cygwin*)
+ AC_DEFINE(HAVE_BONJOUR)
;;
*-mingw32*)
+ AC_DEFINE(HAVE_BONJOUR)
;;
*-*-darwin*)
;;
@@ -239,6 +242,7 @@ echo
AC_SUBST(SET_MAKE)
AC_SUBST(HAVE_EXPAT)
AC_SUBST(HAVE_AVAHI)
+AC_SUBST(HAVE_BONJOUR)
AC_SUBST(CONFIG_CXX)
AC_SUBST(CONFIG_CXXFLAGS)
AC_SUBST(CONFIG_CC)