summary refs log tree commit diff
path: root/callouts/tests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'callouts/tests/Makefile.am')
-rw-r--r--callouts/tests/Makefile.am7
1 files changed, 3 insertions, 4 deletions
diff --git a/callouts/tests/Makefile.am b/callouts/tests/Makefile.am
index 93d3fae7..e8a13fc6 100644
--- a/callouts/tests/Makefile.am
+++ b/callouts/tests/Makefile.am
@@ -1,3 +1,5 @@
+if ENABLE_TESTS
+
 INCLUDES = \
 	-I$(top_srcdir)/include \
 	-I${top_builddir}/include \
@@ -25,16 +27,13 @@ test_dispatcher_envp_LDADD = \
 
 ###########################################
 
-if WITH_TESTS
-
 check-local: test-dispatcher-envp
 	$(abs_builddir)/test-dispatcher-envp $(abs_srcdir)
 
-endif
-
 EXTRA_DIST= \
 	dispatcher-old-down \
 	dispatcher-old-up \
 	dispatcher-old-vpn-down \
 	dispatcher-old-vpn-up
 
+endif