]> git.meshlink.io Git - catta/blobdiff - avahi-common/Makefile.am
* Compile tests only when --enable-tests was specified on the configure command line
[catta] / avahi-common / Makefile.am
index e1786f70d58356f9f22372d6aa951440e3447257..670c8552fc93a7d79dfeb123eec644652ddbf51d 100644 (file)
@@ -40,12 +40,14 @@ avahi_commoninclude_HEADERS = \
        llist.h \
        rlist.h
 
+if ENABLE_TESTS
 noinst_PROGRAMS = \
        strlst-test \
        domain-test \
        alternative-test \
        timeval-test \
        watch-test
+endif
 
 lib_LTLIBRARIES = \
        libavahi-common.la 
@@ -63,7 +65,7 @@ libavahi_common_la_SOURCES = \
        rlist.h rlist.c
 
 libavahi_common_la_CFLAGS = $(AM_CFLAGS)
-libavahi_common_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_COMMON_VERSION_INFO) 1:0:1
+libavahi_common_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_COMMON_VERSION_INFO)
 
 strlst_test_SOURCES = \
        strlst.c strlst.h \