From: Lennart Poettering Date: Mon, 10 Oct 2005 22:40:32 +0000 (+0000) Subject: * build compat-libdns_sd only when HAVE_DBUS is set (i.e. only when avahi-client... X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=51f1dadb3e842b50c93b90224fef5a2ad6d02119;p=catta * build compat-libdns_sd only when HAVE_DBUS is set (i.e. only when avahi-client is built, too) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@710 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-compat-libdns_sd/Makefile.am b/avahi-compat-libdns_sd/Makefile.am index 5a66743..2b65059 100644 --- a/avahi-compat-libdns_sd/Makefile.am +++ b/avahi-compat-libdns_sd/Makefile.am @@ -22,6 +22,8 @@ AM_CFLAGS=-I$(top_srcdir) # This cool debug trap works on i386/gcc only AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' +if HAVE_DBUS + avahi_compat_libdns_sddir=$(includedir)/avahi-compat-libdns_sd avahi_compat_libdns_sd_HEADERS = dns_sd.h @@ -57,3 +59,5 @@ libdns_sd-test: libdns_sd-test.c libavahi-compat-libdns_sd.la $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(PTHREAD_CFLAGS) -o libdns_sd-test libdns_sd-test.o $(PTHREAD_LIBS) ../avahi-common/libavahi-common.la libavahi-compat-libdns_sd.la CLEANFILES = libdns_sd-test.o libdns_sd-test + +endif