From f437ef722cadfdd5024c56155fd0193634dbe9c1 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Mon, 26 Apr 1999 22:28:58 +0000 Subject: [PATCH] * automake.in (handle_lib_objects_cond): Do not use quotemeta, it doesn't work on perl4. Maybe Q and E do. --- ChangeLog | 5 +++++ automake.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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')); } } } -- 2.43.5