From d4fd0d73b1d646f3708f1fdcbca0d494dda7e475 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 21 Aug 2006 16:43:44 +0000 Subject: allow passing NULL as callback function in DNSServiceRegister() as documented by Apple. (closes #57) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1248 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-compat-libdns_sd/Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'avahi-compat-libdns_sd/Makefile.am') diff --git a/avahi-compat-libdns_sd/Makefile.am b/avahi-compat-libdns_sd/Makefile.am index fc1421b..f822135 100644 --- a/avahi-compat-libdns_sd/Makefile.am +++ b/avahi-compat-libdns_sd/Makefile.am @@ -32,7 +32,7 @@ avahi_compat_libdns_sd_HEADERS = dns_sd.h lib_LTLIBRARIES = libdns_sd.la if ENABLE_TESTS -noinst_PROGRAMS = txt-test +noinst_PROGRAMS = txt-test null-test endif libdns_sd_la_SOURCES = \ @@ -52,6 +52,14 @@ txt_test_SOURCES = \ txt_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) txt_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS) ../avahi-common/libavahi-common.la +null_test_SOURCES = \ + dns_sd.h \ + compat.c \ + null-test.c \ + warn.c warn.h +null_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) +null_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS) ../avahi-common/libavahi-common.la ../avahi-client/libavahi-client.la + # You can test the compatibility layer by sticking in mDNSResponder's # dns-sd.c source here, naming it "libdns_sd-test.c" and running "make # libdns_sd-test" manually. We do not distribute that file due to -- cgit