From: Alexandre Oliva Date: Mon, 26 Apr 1999 22:28:58 +0000 (+0000) Subject: * automake.in (handle_lib_objects_cond): Do not use quotemeta, it X-Git-Tag: merging-into-user-dep-gen~38 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=f437ef722cadfdd5024c56155fd0193634dbe9c1;p=automake.git * automake.in (handle_lib_objects_cond): Do not use quotemeta, it doesn't work on perl4. Maybe Q and E do. --- diff --git a/ChangeLog b/ChangeLog index bd16197f..2415d29e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-04-26 Alexandre Oliva + + * automake.in (handle_lib_objects_cond): Do not use quotemeta, it + doesn't work on perl4. Maybe \Q and \E do. + 1999-04-24 Tom Tromey * automake.in: Treat `.zip' and `.jar' files as Java. diff --git a/automake.in b/automake.in index e7c58bf2..d31244b8 100755 --- a/automake.in +++ b/automake.in @@ -1469,7 +1469,7 @@ sub handle_lib_objects_cond $dep_files{'.deps/' . $rewrite} = 1; &require_file_with_line ($var, $FOREIGN, $iter) unless &variable_defined ('BUILT_SOURCES') - && grep ('^' . quotemeta $iter . '$', &variable_value_as_list ('BUILT_SOURCES', 'all')); + && grep (/^\Q$iter\E$/, &variable_value_as_list ('BUILT_SOURCES', 'all')); } } }