From e24ea477f997f02bc86670e1e341064ae526b028 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Mon, 21 Jul 2014 19:46:12 +0200 Subject: [PATCH] Fix make check warning Making check in pdns Makefile:2163: warning: overriding commands for target `check' Makefile:2023: warning: ignoring old commands for target `check' Unit tests are not enabled Automake doesn't like the check target to be overridden: http://lists.gnu.org/archive/html/automake/2011-09/msg00028.html --- pdns/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdns/Makefile.am b/pdns/Makefile.am index 1c103dcc86..0638338f05 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -353,8 +353,9 @@ if UNIT_TESTS TESTS_ENVIRONMENT = env BOOST_TEST_LOG_LEVEL=message TESTS=testrunner else -check: +check-local: @echo "Unit tests are not enabled" + @echo "Run ./configure --enable-unit-tests" endif dnslabeltext.cc: dnslabeltext.rl -- 2.47.2