From 9a982a390a4307ca794d741d550e553fe9094b13 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 20 Apr 1999 02:41:04 +0000 Subject: [PATCH] * automake.in (handle_lib_objects_cond): Only require the source of a LIBOBJ if it's not in BUILT_SOURCES. Reported by Erez Zadok. --- ChangeLog | 6 ++++++ automake.in | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0aa3bd34..6a7d01fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-04-20 Alexandre Oliva + + * 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 * automake.in: Treat `.class' files as Java source. diff --git a/automake.in b/automake.in index 2c532a71..8be24fe9 100755 --- a/automake.in +++ b/automake.in @@ -1462,7 +1462,9 @@ sub handle_lib_objects_cond { ($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')); } } } -- 2.43.5