Changeset 17057 for util

Show
Ignore:
Timestamp:
07/14/07 06:25:02 (17 months ago)
Author:
audreyt
Message:

* build_pugs.pl: Even more sequashing of obsolete cases

for GHC 6.4.x.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • util/build_pugs.pl

    r17055 r17057  
    8080        }; 
    8181 
    82         #unshift @args, '-optc-ID:\ghc\ghc-6.4.2\include\mingw', '-optc-ID:\ghc\ghc-6.4.2\gcc-lib\include', '-optc-I/usr/include', '-optc-I/usr/include/cygwin', '-D__CYGWIN__', 
    8382        unshift @args, '-I/usr/lib/perl5/5.8/cygwin/CORE', 
    84             '-optc-ID:\ghc\ghc-6.4.2\include\mingw', 
     83            "-optc-IC:\\ghc\\ghc-$ghc_version\\include\\mingw", 
     84            "-optc-ID:\\ghc\\ghc-$ghc_version\\include\\mingw", 
    8585            '-optc-I/usr/include', 
    8686            '-optl-I/usr/include/cygwin'; 
    8787        for my $arg (@args) { 
    8888            $arg =~ s{(-optc-[IL]|-optl|-optl-L|-I|-L)(/\S+)}{$1 . $cygpath->($2)}eg; 
    89             #if ($arg =~ m{D:/cygwin/usr/include}i) { 
    90             #    $arg = '-optc-ID:\ghc\ghc-6.4.2\include\mingw'; 
    91             #} 
    92         } 
    93  
    94         #push @args, '-optc-I$cywin_path/lib/perl5/5.8/cygwin/CORE', 
    95         #    '-optl-L$cygwin_path/lib/perl5/5.8/cygwin/CORE'; 
    96         #warn "\n\n [248] !!!\n\n @args \n\n !!!!\n\n"; 
     89        } 
    9790    } 
    9891 
     
    526519 
    527520    if ($^O =~ /(?:MSWin32|mingw|msys|cygwin)/) { 
    528         $add_dep->('Win32 -any') unless $ghc_version =~ /^6.4(?:.0)?$/; 
     521        $add_dep->('Win32 -any'); 
    529522    } 
    530523    else {