summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/vos/configure_perl.cm
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-05-24 18:26:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-05-24 18:26:20 +0000
commit483d4e680bd2a6db14835b1b4d65be33488d532b (patch)
tree129a4c95425cb37ed928ef53a27eb7dce5de3345 /gnu/usr.bin/perl/vos/configure_perl.cm
parent8757fe6728b9db37919ad703b336ebbbc84413aa (diff)
stock perl 5.6.1
Diffstat (limited to 'gnu/usr.bin/perl/vos/configure_perl.cm')
-rw-r--r--gnu/usr.bin/perl/vos/configure_perl.cm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/vos/configure_perl.cm b/gnu/usr.bin/perl/vos/configure_perl.cm
new file mode 100644
index 00000000000..aeef4feef43
--- /dev/null
+++ b/gnu/usr.bin/perl/vos/configure_perl.cm
@@ -0,0 +1,31 @@
+& 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)
+& Modified 01-02-12 by Paul Green
+&
+&begin_parameters
+ version option(-version)name,allow(alpha,ga),=ga
+ debug switch(-debug),secret
+&end_parameters
+&echo command_lines
+&if &debug& &then &echo macro_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
+& macro to ensure that perl5 is invoked.
+&
+&mode no_abort
+!perl5 config.pl
+&if (command_status) = 1032
+&then !perl config.pl
+&mode abort
+!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