Let's use the good ol' substitution, then.
Reported by Russ Allbery <rra@stanford.edu>
1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
+ * automake.in (handle_lib_objects_cond): \Q doesn't work either.
+ Let's use the good ol' substitution, then.
+ Reported by Russ Allbery <rra@stanford.edu>
+
* automake.in (check_canonical_spelling): Insert AM before names
starting with non-letters.
+
* automake.texi: Document it.
1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
$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'));
}
}
}