summaryrefslogtreecommitdiff
path: root/vos/configure_perl.cm
blob: 18dec844488b70f3876af95f93bb20a8a81c2204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
& 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