* automake.in: Register the `java' language.
(resolve_linker): Handle GCJLINK.
(lang_java_rewrite): New function.
(LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
(lang_c_rewrite): Use new constants.
(lang_cxx_rewrite): Likewise.
(lang_header_rewrite): Likewise.
(lang_yacc_rewrite): Likewise.
(lang_yaccxx_rewrite): Likewise.
(lang_lex_rewrite): Likewise.
(lang_lexxx_rewrite): Likewise.
(lang_asm_rewrite): Likewise.
(lang_f77_rewrite): Likewise.
(lang_ppf77_rewrite): Likewise.
(lang_ratfor_rewrite): Likewise.
(lang_objc_rewrite): Likewise.
(handle_single_transform_list): Likewise. Handle LANG_SUBDIR
return from rewrite function.
(lang_java_finish): New function.
(register_language): Changed interface and all calls. Added
`autodep' settings to various languages.
(handle_dependencies): Use `autodep' property of language when
including dependency-tracking code.