patches/avahi-01-config-bonjour.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 16202 4dc494005b3f
child 21365 ead32bf37db7
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.

--- /usr/tmp/clean/avahi-0.6.22/configure.ac	2007-12-17 15:35:51.000000000 +0000
+++ avahi-0.6.22/configure.ac	2008-06-06 08:54:18.794453000 +0100
@@ -148,6 +148,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,