This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Rewrite $. entry and switch to -> syntax
[perl5.git] / vos / configure_perl.cm
CommitLineData
5b8c1387
JH
1& This command macro configures perl to build with
2& either the alpha or generally-available version of
3& VOS POSIX.1 support.
4& Written 00-10-24 by Paul Green (Paul_Green@stratus.com)
5&
6&begin_parameters
7 version option(-version)name,allow(alpha,ga),=ga
8&end_parameters
9&echo command_lines
10&
0d6ca59a
JH
11&if (file_info config.&version&.def date_modified) >= &+
12 (file_info config.&version&.h date_modified)
5b8c1387
JH
13&then &do
14!copy_file config.&version&.def config.def -delete
15&
16& NOTE: We must invoke Perl 5 not Perl 4. If necessary, edit the
17& next line to say "perl5 config.pl".
18&
19!perl config.pl
20!rename config.h.new config.&version&.h -delete
21!delete_file config.def
22&end
23&
24&if (file_info config.&version&.h date_modified) ^= (file_info config.h date_modified)
25&then !copy_file config.&version&.h config.h -delete -keep_dates