&version 2
&trace off
&if [exists segment install_ccompiler.io] &then dl install_ccompiler.io
us in install_ccompiler
&print Beginning Installation of C Compiler changes.
&if [exists segment >sl3p>cc>incl>cc_info.incl.pl1]
&then us rp cc_info.incl.pl1 >sl3p>cc>incl>==
&else us add cc_info.incl.pl1 >sl3p>cc>incl>==
&if [exists segment >sl3p>cc>e>ccom]
&then us rp ccom >sl3p>cc>e>==
&else us add ccom >sl3p>cc>e>==
&if [exists segment >sl3p>cc>e>bound_cc_commands]
&then us rp bound_cc_commands >sl3p>cc>e>==
&else us add bound_cc_commands >sl3p>cc>e>==
&if [exists segment >sl3p>cc>o>bound_cc_commands.archive]
&then us rp bound_cc_commands.archive >sl3p>cc>o>== -ac
&else us add bound_cc_commands.archive >sl3p>cc>o>== -ac
&if [exists segment >sl3p>cc>s>bound_cc_commands.s.archive]
&then us rp bound_cc_commands.s.archive >sl3p>cc>s>== -ac
&else us add bound_cc_commands.s.archive >sl3p>cc>s>== -ac
&if [exists segment >sl3p>cc>e>main_]
&then us rp main_ >sl3p>cc>e>==
&else us add main_ >sl3p>cc>e>==
&if [query "Should installation of C  Compiler be completed?  Type yes if no error messages."] &then &else &goto QUIT
us install install_ccompiler
&print MR12.4 C Compiler is now installed.
&label QUIT
&quit
