From: Ruben Kerkhof Date: Mon, 21 Jul 2014 17:46:12 +0000 (+0200) Subject: Fix make check warning X-Git-Tag: auth-3.4.0-rc1~50^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1593%2Fhead;p=thirdparty%2Fpdns.git 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 --- 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