From 896ef7a4dcf22c3187c8d539fbcae2474069838e Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Wed, 31 Jan 2001 17:47:54 +0000 Subject: [PATCH] * automake.in (add_depend2): Quote properly $obj and $source. --- ChangeLog | 4 ++++ automake.in | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 554cefb5..21d89915 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-01-31 Akim Demaille + + * automake.in (add_depend2): Quote properly $obj and $source. + 2001-01-31 Akim Demaille * depend2.am: Instead of replacing @PFX@ in $(@PFX@COMPILE), and diff --git a/automake.in b/automake.in index 980adc27..6ba5aa2e 100755 --- a/automake.in +++ b/automake.in @@ -3035,13 +3035,13 @@ sub add_depend2 'BASE' => $obj, 'SOURCE' => $source) # Generate rule for `.o'. - . 's/^\@EXT\@\.o:/' . $obj . '.o: ' . $source . '/g;' + . 's/^\@EXT\@\.o:/' . "\Q$obj.o: $source\E" . '/g;' # Maybe generate rule for `.lo'. Might be eliminated # by $XFORM. - . 's/^\@EXT\@\.lo:/' . $obj . '.lo: ' . $source . '/g;' + . 's/^\@EXT\@\.lo:/' . "\Q$obj.lo: $source\E" . '/g;' # Maybe generate rule for `.obj'. Might be # eliminated by $XFORM. - . 's/^\@EXT\@\.obj:/' . $obj . '.obj: ' . $source . '/g;'); + . 's/^\@EXT\@\.obj:/' . "\Q$obj.obj: $source\E" . '/g;'); } } -- 2.43.5