From b32f64fe96c67a5a2454b2475aa99997852b1d73 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 27 Apr 1999 00:17:25 +0000 Subject: [PATCH] * automake.in (handle_lib_objects_cond): Q doesn't work either. Let's use the good ol' substitution, then. Reported by Russ Allbery --- ChangeLog | 5 +++++ automake.in | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6fdf972f9..8a143c0e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,12 @@ 1999-04-27 Alexandre Oliva + * automake.in (handle_lib_objects_cond): \Q doesn't work either. + Let's use the good ol' substitution, then. + Reported by Russ Allbery + * automake.in (check_canonical_spelling): Insert AM before names starting with non-letters. + * automake.texi: Document it. 1999-04-26 Alexandre Oliva diff --git a/automake.in b/automake.in index ab1fbf425..1c3e0719f 100755 --- a/automake.in +++ b/automake.in @@ -1469,7 +1469,8 @@ sub handle_lib_objects_cond $dep_files{'.deps/' . $rewrite} = 1; &require_file_with_line ($var, $FOREIGN, $iter) unless &variable_defined ('BUILT_SOURCES') - && grep (/^\Q$iter\E$/, &variable_value_as_list ('BUILT_SOURCES', 'all')); + && grep ('^' . (($rewrite = $iter) =~ s/(\W)/\\\1/g) . '$', + &variable_value_as_list ('BUILT_SOURCES', 'all')); } } } -- 2.47.2