This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: [PATCH] Interesting syntax idea
[perl5.git] / vos / configure_perl.cm
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 &
11 &if (file_info config.&version&.def date_modified) > (file_info config.&version&.h date_modified)
12 &then &do
13 !copy_file config.&version&.def config.def -delete
14 &
15 & NOTE: We must invoke Perl 5 not Perl 4. If necessary, edit the
16 & next line to say "perl5 config.pl".
17 &
18 !perl config.pl
19 !rename config.h.new config.&version&.h -delete
20 !delete_file config.def
21 &end
22 &
23 &if (file_info config.&version&.h date_modified) ^= (file_info config.h date_modified)
24 &then !copy_file config.&version&.h config.h -delete -keep_dates