MPE/iX tweak from Mark Bixby.
Jarkko Hietaniemi [Mon, 7 Jul 2003 04:29:35 +0000 (04:29 +0000)]
p4raw-id: //depot/perl@20042

ext/Time/HiRes/Makefile.PL

index f93a5b1..e221208 100644 (file)
@@ -129,7 +129,9 @@ sub try_compile_and_link {
         $cccmd = "$Config{'cc'} -o $tmp $ccflags $tmp.c @$LIBS $errornull"
            unless defined $cccmd;
 
-       if ($^O eq 'VMS') {
+       if ($^O eq 'mpeix') {
+           $cccmd = 'MPEAUTOCONF=1 '.$cccmd;
+       } elsif ($^O eq 'VMS') {                                                
            open( CMDFILE, ">$tmp.com" );
            print CMDFILE "\$ SET MESSAGE/NOFACILITY/NOSEVERITY/NOIDENT/NOTEXT\n";
            print CMDFILE "\$ $cccmd\n";