Change 13386 by jhi@alpha on 2001/11/30 14:55:02
Tweak for the VOS building script from Paul Green.
Affected files ...
.... //depot/perl/vos/configure_perl.cm#3 edit
Differences ...
==== //depot/perl/vos/configure_perl.cm#3 (text) ====
Index: perl/vos/configure_perl.cm
--- perl/vos/configure_perl.cm.~1~ Fri Nov 30 08:00:06 2001
+++ perl/vos/configure_perl.cm Fri Nov 30 08:00:06 2001
@@ -13,10 +13,16 @@
&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".
+& NOTE: We must invoke Perl 5 not Perl 4. The following
+& commands runs perl5 if it exists, otherwise runs perl,
+& in the hopes it is really perl5.
+&
+!attach_default_output (process_dir)>_where_perl ; &+
+ where_command perl5 ; detach_default_output
+&if (index (contents (process_dir)>_where_perl) 'perl5:') ^= 0
+&then !perl5 config.pl
+&else !perl config.pl
&
-!perl config.pl
!rename config.h.new config.&version&.h -delete
!delete_file config.def
&end
End of Patch.