summaryrefslogtreecommitdiff
path: root/src/dhcp-manager/tests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/dhcp-manager/tests/Makefile.am')
-rw-r--r--src/dhcp-manager/tests/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dhcp-manager/tests/Makefile.am b/src/dhcp-manager/tests/Makefile.am
index 1feade869..251aa224e 100644
--- a/src/dhcp-manager/tests/Makefile.am
+++ b/src/dhcp-manager/tests/Makefile.am
@@ -1,3 +1,5 @@
+if ENABLE_TESTS
+
INCLUDES = \
-I$(top_srcdir)/include \
-I$(top_builddir)/include \
@@ -21,10 +23,7 @@ test_dhcp_dhclient_LDADD = \
$(top_builddir)/libnm-util/libnm-util.la \
$(GLIB_LIBS)
-if WITH_TESTS
-
check-local: test-dhcp-dhclient
$(abs_builddir)/test-dhcp-dhclient
endif
-