]> git.meshlink.io Git - catta/commitdiff
* build compat-libdns_sd only when HAVE_DBUS is set (i.e. only when avahi-client...
authorLennart Poettering <lennart@poettering.net>
Mon, 10 Oct 2005 22:40:32 +0000 (22:40 +0000)
committerLennart Poettering <lennart@poettering.net>
Mon, 10 Oct 2005 22:40:32 +0000 (22:40 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@710 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-compat-libdns_sd/Makefile.am

index 5a667430807603e1e447bcfb9129a968386ba93f..2b650595e5ecc986d17beca70eda96304d405c59 100644 (file)
@@ -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