]> git.meshlink.io Git - catta/blobdiff - tests/Makefile.am
fix avahi_netlink_new to allow multiple netlinks per process
[catta] / tests / Makefile.am
index 1fee9d8985131152ef3abae774416b26b098b55b..e28b0b721af8e3074af3e818c0ad7489a1c207b0 100644 (file)
@@ -1,7 +1,5 @@
-# $Id$
-#
 # This file is part of avahi.
-# 
+#
 # avahi is free software; you can redistribute it and/or modify it
 # under the terms of the GNU Lesser General Public License as
 # published by the Free Software Foundation; either version 2 of the
@@ -22,8 +20,11 @@ AM_CFLAGS= \
 
 if HAVE_GLIB
 if HAVE_DBUS
+if HAVE_NETLINK
 
+if ENABLE_TESTS
 noinst_PROGRAMS = c-plus-plus-test
+endif
 
 c_plus_plus_test_SOURCES = c-plus-plus-test.cc
 
@@ -41,7 +42,7 @@ c_plus_plus_test_LDADD = \
        $(GLIB20_LIBS) \
        $(DBUS_LIBS)
 
-
+endif
 endif
 endif