VOS-only change to lib/ExtUtils/MM_Unix.pm
authorPaul Green <Paul.Green@stratus.com>
Mon, 1 Apr 2002 14:11:00 +0000 (09:11 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 1 Apr 2002 19:14:18 +0000 (19:14 +0000)
Message-Id: <200204011911.OAA06024@mailhub1.stratus.com>

p4raw-id: //depot/perl@15665

lib/ExtUtils/MM_Unix.pm

index c6c2c93..ae0251d 100644 (file)
@@ -488,6 +488,9 @@ sub constants {
 
              / ) {
        next unless defined $self->{$tmp};
+#      VOS pathnames can have sharp signs in them; escape them so
+#      make doesn't think it is a comment-start character.
+       if ($Is_VOS) {$self->{$tmp} =~ s/#/\\#/g};
        push @m, "$tmp = $self->{$tmp}\n";
     }