]> granicus.if.org Git - pdns/commitdiff
Fix make check warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 21 Jul 2014 17:46:12 +0000 (19:46 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 21 Jul 2014 19:57:37 +0000 (21:57 +0200)
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

index 1c103dcc86d3d91f8edc992de9bdecd23891f567..0638338f05d2b273873ea9c43f9176c5b5443eba 100644 (file)
@@ -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