From: Alexandre Oliva Date: Tue, 27 Apr 1999 00:17:25 +0000 (+0000) Subject: * automake.in (handle_lib_objects_cond): Q doesn't work either. X-Git-Tag: merging-into-user-dep-gen~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b32f64fe96c67a5a2454b2475aa99997852b1d73;p=thirdparty%2Fautomake.git * automake.in (handle_lib_objects_cond): Q doesn't work either. Let's use the good ol' substitution, then. Reported by Russ Allbery --- 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')); } } }