of a LIBOBJ if it's not in BUILT_SOURCES.
Reported by Erez Zadok.
+1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * automake.in (handle_lib_objects_cond): Only require the source
+ of a LIBOBJ if it's not in BUILT_SOURCES.
+ Reported by Erez Zadok.
+
1999-04-19 Tom Tromey <tromey@cygnus.com>
* automake.in: Treat `.class' files as Java source.
{
($rewrite = $iter) =~ s/\.c$/.P/;
$dep_files{'.deps/' . $rewrite} = 1;
- &require_file_with_line ($var, $FOREIGN, $iter);
+ &require_file_with_line ($var, $FOREIGN, $iter)
+ unless &variable_defined ('BUILT_SOURCES')
+ && grep ('^' . quotemeta $iter . '$', &variable_value_as_list ('BUILT_SOURCES', 'all'));
}
}
}