diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-24 19:10:33 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-24 19:10:33 +0000 |
commit | 5b8c1387d8b2fe34154451bb2cea5895305c0541 (patch) | |
tree | 680d845faf19276a6a289bdc66c419ef12e0f60d /vos/configure_perl.cm | |
parent | a7ffa9b9a1a8caeff31a83d25b70b5aca6ba0d12 (diff) | |
download | perl-5b8c1387d8b2fe34154451bb2cea5895305c0541.tar.gz |
Stratus VOS updates from Paul Green.
p4raw-id: //depot/perl@7428
Diffstat (limited to 'vos/configure_perl.cm')
-rw-r--r-- | vos/configure_perl.cm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/vos/configure_perl.cm b/vos/configure_perl.cm new file mode 100644 index 0000000000..49611f9a66 --- /dev/null +++ b/vos/configure_perl.cm @@ -0,0 +1,24 @@ +& This command macro configures perl to build with +& either the alpha or generally-available version of +& VOS POSIX.1 support. +& Written 00-10-24 by Paul Green (Paul_Green@stratus.com) +& +&begin_parameters + version option(-version)name,allow(alpha,ga),=ga +&end_parameters +&echo command_lines +& +&if (file_info config.&version&.def date_modified) > (file_info config.&version&.h date_modified) +&then &do +!copy_file config.&version&.def config.def -delete +& +& NOTE: We must invoke Perl 5 not Perl 4. If necessary, edit the +& next line to say "perl5 config.pl". +& +!perl config.pl +!rename config.h.new config.&version&.h -delete +!delete_file config.def +&end +& +&if (file_info config.&version&.h date_modified) ^= (file_info config.h date_modified) +&then !copy_file config.&version&.h config.h -delete -keep_dates |