components/avahi/patches/01-config-bonjour.patch
changeset 5257 0da26ce015ab
child 5839 8f8f9a2b0d84
equal deleted inserted replaced
5256:1c3e20e70cc3 5257:0da26ce015ab
       
     1 Source: Desktop consolidation
       
     2 Comment of upstream submission:
       
     3 Currently the Desktop consolidation patches are re-taken without the change. When the
       
     4 component will update patches need to be checked and all unneeded contents i.e. concerning
       
     5 the version of auto tools need to be checked if it can be taken out.
       
     6 
       
     7 Test of dns_sd.h should rather to be promoted to community.
       
     8 
       
     9 --- /usr/tmp/clean/avahi-0.6.28/configure.ac	2010-10-05 00:33:15.689579806 +0100
       
    10 +++ avahi-0.6.28/configure.ac	2011-01-21 09:13:07.100772101 +0000
       
    11 @@ -23,7 +23,7 @@
       
    12  AC_CONFIG_SRCDIR([avahi-core/server.c])
       
    13  AC_CONFIG_MACRO_DIR([common])
       
    14  AC_CONFIG_HEADERS([config.h])
       
    15 -AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax])
       
    16 +AM_INIT_AUTOMAKE([foreign 1.10 -Wall -Wno-portability tar-pax])
       
    17  
       
    18  AC_SUBST(PACKAGE_URL, [http://avahi.org/])
       
    19  
       
    20 @@ -43,7 +43,7 @@
       
    21  
       
    22  AC_CANONICAL_HOST
       
    23  
       
    24 -AM_SILENT_RULES([yes])
       
    25 +#AM_SILENT_RULES([yes])
       
    26  
       
    27  AC_CHECK_PROG([STOW], [stow], [yes], [no])
       
    28  
       
    29 @@ -153,6 +153,17 @@
       
    30  ACX_PTHREAD(,AC_MSG_ERROR([Missing POSIX Threads support]))
       
    31  
       
    32  #
       
    33 +# Check for dns_sd.h
       
    34 +#
       
    35 +AC_CHECK_HEADER(dns_sd.h,
       
    36 +HAVE_BONJOUR=yes
       
    37 +AC_DEFINE([HAVE_BONJOUR],[],[Support for Bonjour])
       
    38 +, [], [
       
    39 +])
       
    40 +
       
    41 +AM_CONDITIONAL(HAVE_BONJOUR, [ test x"$HAVE_BONJOUR" = xyes ])
       
    42 +
       
    43 +#
       
    44  # Check for netlink.h
       
    45  #
       
    46  AC_CHECK_HEADER(linux/netlink.h,