From: Akim Demaille Date: Wed, 31 Jan 2001 17:47:54 +0000 (+0000) Subject: * automake.in (add_depend2): Quote properly $obj and $source. X-Git-Tag: v1.10.2~2298 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=061b0532d851053e987eeb602c8cc125f5440523;p=platform%2Fupstream%2Fautomake.git * automake.in (add_depend2): Quote properly $obj and $source. --- diff --git a/ChangeLog b/ChangeLog index 554cefb..21d8991 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 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 then replacing `$(@PFX@COMPILE)' for the files that need some special flags, use only @COMPILE@. Similarly for @LTCOMPILE@. diff --git a/automake.in b/automake.in index 980adc2..6ba5aa2 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;'); } }