components/avahi/patches/01-config-bonjour.patch
author John Beck <John.Beck@Oracle.COM>
Thu, 14 Jan 2016 14:20:29 -0800
changeset 5280 a1d5d3816967
parent 5257 0da26ce015ab
child 5839 8f8f9a2b0d84
permissions -rw-r--r--
22536112 SUNWSblimCimClient needs to be obsoleted

Source: Desktop consolidation
Comment of upstream submission:
Currently the Desktop consolidation patches are re-taken without the change. When the
component will update patches need to be checked and all unneeded contents i.e. concerning
the version of auto tools need to be checked if it can be taken out.

Test of dns_sd.h should rather to be promoted to community.

--- /usr/tmp/clean/avahi-0.6.28/configure.ac	2010-10-05 00:33:15.689579806 +0100
+++ avahi-0.6.28/configure.ac	2011-01-21 09:13:07.100772101 +0000
@@ -23,7 +23,7 @@
 AC_CONFIG_SRCDIR([avahi-core/server.c])
 AC_CONFIG_MACRO_DIR([common])
 AC_CONFIG_HEADERS([config.h])
-AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax])
+AM_INIT_AUTOMAKE([foreign 1.10 -Wall -Wno-portability tar-pax])
 
 AC_SUBST(PACKAGE_URL, [http://avahi.org/])
 
@@ -43,7 +43,7 @@
 
 AC_CANONICAL_HOST
 
-AM_SILENT_RULES([yes])
+#AM_SILENT_RULES([yes])
 
 AC_CHECK_PROG([STOW], [stow], [yes], [no])
 
@@ -153,6 +153,17 @@
 ACX_PTHREAD(,AC_MSG_ERROR([Missing POSIX Threads support]))
 
 #
+# Check for dns_sd.h
+#
+AC_CHECK_HEADER(dns_sd.h,
+HAVE_BONJOUR=yes
+AC_DEFINE([HAVE_BONJOUR],[],[Support for Bonjour])
+, [], [
+])
+
+AM_CONDITIONAL(HAVE_BONJOUR, [ test x"$HAVE_BONJOUR" = xyes ])
+
+#
 # Check for netlink.h
 #
 AC_CHECK_HEADER(linux/netlink.h,