]> git.meshlink.io Git - catta/blobdiff - avahi-glib/Makefile.am
* Compile tests only when --enable-tests was specified on the configure command line
[catta] / avahi-glib / Makefile.am
index 02c6181966f0ee18d5ef6a65ab4eaf62920d7520..69bd51ea60ac6dbc7ae3f66f155021940e5fd3a2 100644 (file)
@@ -33,9 +33,13 @@ avahiinclude_HEADERS = \
 lib_LTLIBRARIES = \
        libavahi-glib.la 
 
+if ENABLE_TESTS
+
 noinst_PROGRAMS = \
        glib-watch-test
 
+endif
+
 libavahi_glib_la_SOURCES = \
        glib-watch.c glib-watch.h \
        glib-malloc.h glib-malloc.c