From: Stefano Lattarini Date: Mon, 30 Jul 2012 14:04:00 +0000 (+0200) Subject: [ng] automake: merge '&handle_tests_dejagnu' into '&handle_tests' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7c525ce7b5eaf4419a5ea85ad7cab54c32aabd3;p=thirdparty%2Fautomake.git [ng] automake: merge '&handle_tests_dejagnu' into '&handle_tests' * automake.in (handle_tests_dejagnu): This is just a trivial one-liner now, so merge it ... (handle_tests): ... in here. And remove a redundant heading comment. Signed-off-by: Stefano Lattarini --- diff --git a/automake.in b/automake.in index a25ba748d..10d03ca38 100644 --- a/automake.in +++ b/automake.in @@ -4055,20 +4055,11 @@ sub handle_factored_dependencies } } - -# &handle_tests_dejagnu () -# ------------------------ -sub handle_tests_dejagnu -{ - $output_rules .= file_contents ('dejagnu', new Automake::Location); -} - -# Handle TESTS variable and other checks. sub handle_tests { if (option 'dejagnu') { - &handle_tests_dejagnu; + $output_rules .= file_contents ('dejagnu', new Automake::Location); } else {