X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=avahi-compat-libdns_sd%2FMakefile.am;h=25c1f6e52b68da3dd441b547cef4d2edb62d6ef5;hb=2afb248985218ecb5c3b105ff04a986a506b59f9;hp=2b650595e5ecc986d17beca70eda96304d405c59;hpb=51f1dadb3e842b50c93b90224fef5a2ad6d02119;p=catta diff --git a/avahi-compat-libdns_sd/Makefile.am b/avahi-compat-libdns_sd/Makefile.am index 2b65059..25c1f6e 100644 --- a/avahi-compat-libdns_sd/Makefile.am +++ b/avahi-compat-libdns_sd/Makefile.am @@ -23,6 +23,7 @@ AM_CFLAGS=-I$(top_srcdir) AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' if HAVE_DBUS +if ENABLE_COMPAT_LIBDNS_SD avahi_compat_libdns_sddir=$(includedir)/avahi-compat-libdns_sd @@ -30,7 +31,9 @@ avahi_compat_libdns_sd_HEADERS = dns_sd.h lib_LTLIBRARIES = libavahi-compat-libdns_sd.la +if ENABLE_TESTS noinst_PROGRAMS = txt-test +endif libavahi_compat_libdns_sd_la_SOURCES = \ dns_sd.h \ @@ -47,7 +50,7 @@ txt_test_SOURCES = \ txt-test.c \ warn.c warn.h txt_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -txt_test_LDADD = $(AM_LDADD) ../avahi-common/libavahi-common.la +txt_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) ../avahi-common/libavahi-common.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 @@ -61,3 +64,4 @@ libdns_sd-test: libdns_sd-test.c libavahi-compat-libdns_sd.la CLEANFILES = libdns_sd-test.o libdns_sd-test endif +endif