From: Stefano Lattarini Date: Thu, 21 Jun 2012 08:21:10 +0000 (+0200) Subject: [ng] refactor: prefer '&file_contents' over '&file_contents_internals' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec45429837a0fc2d74354cf92d5e9828563b15de;p=thirdparty%2Fautomake.git [ng] refactor: prefer '&file_contents' over '&file_contents_internals' No semantic change intended. * automake.in (handle_compile): Here. Signed-off-by: Stefano Lattarini --- diff --git a/automake.in b/automake.in index f5fe80549..ca2035294 100644 --- a/automake.in +++ b/automake.in @@ -2213,13 +2213,9 @@ sub check_canonical_spelling sub handle_compile () { return if ! $must_handle_compiled_objects; - - my ($coms, $vars, $rules) = - &file_contents_internal (1, "$libdir/am/compile.am", - new Automake::Location, - 'STDINC' => ! option 'nostdinc'); - $output_vars .= $vars; - $output_rules .= "$coms$rules"; + $output_rules .= file_contents ('compile', + new Automake::Location, + 'STDINC' => ! option 'nostdinc'); } # handle_libtool ()