]> git.meshlink.io Git - catta/blobdiff - avahi-core/Makefile.am
* Compile tests only when --enable-tests was specified on the configure command line
[catta] / avahi-core / Makefile.am
index 3ecce1135b33d69e90c7446283980389c49af9dc..95166157ede800f0755df3448ea6fb3577292218 100644 (file)
@@ -34,6 +34,7 @@ avahiinclude_HEADERS = \
 lib_LTLIBRARIES = \
        libavahi-core.la 
 
+if ENABLE_TESTS
 noinst_PROGRAMS = \
        prioq-test \
        avahi-test \
@@ -44,6 +45,7 @@ noinst_PROGRAMS = \
        hashmap-test \
        querier-test \
        update-test
+endif  
 
 libavahi_core_la_SOURCES = \
        timeeventq.c timeeventq.h\