From: Alexandre Oliva Date: Mon, 26 Apr 1999 22:29:00 +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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8445383a9e54842591026fbdc7ace5e06e03e56;p=thirdparty%2Fautomake.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 bd16197f8..2415d29e7 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 e7c58bf24..d31244b83 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')); } } }