From: Stefano Lattarini Date: Thu, 7 Jun 2012 17:14:12 +0000 (+0200) Subject: cleanup: remove subroutine '&saw_sources_p' X-Git-Tag: v1.12b~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f54e9ecd61a681f861e139b28d1704544dcf42f;p=thirdparty%2Fautomake.git cleanup: remove subroutine '&saw_sources_p' * automake.in (saw_sources_p): Remove, its implementation is now so trivial that it's easier to inline it into ... (handle_languages): ... it's only caller. Signed-off-by: Stefano Lattarini --- diff --git a/automake.in b/automake.in index 8c02016d7..a87597bed 100644 --- a/automake.in +++ b/automake.in @@ -1301,7 +1301,7 @@ sub handle_languages { # Include auto-dep code. Don't include it if DEP_FILES would # be empty. - if (&saw_sources_p && keys %dep_files) + if (keys %extension_seen && keys %dep_files) { # Set location of depcomp. &define_variable ('depcomp', @@ -6038,13 +6038,6 @@ sub saw_extension } } -# Called to ask whether source files (not headers) have been seen. -sub saw_sources_p -{ - return scalar keys %extension_seen; -} - - # register_language (%ATTRIBUTE) # ------------------------------ # Register a single language.