Changeset 14243 for inc

Show
Ignore:
Timestamp:
10/12/06 02:10:30 (2 years ago)
Author:
audreyt
Message:

* Module::Install::Pugs: Strongly recommend GHC 6.6+ by

printing out a warning, which is currently seen by
everybody except perhaps TimToady?++...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • inc/Module/Install/Pugs.pm

    r13224 r14243  
    232232 
    233233    my $ghc_lt_640 = !($ghc_version =~ /^(\d)\.(\d+)/ and $1 >= 6 and $2 >= 4); 
     234    my $ghc_lt_660 = !($ghc_version =~ /^(\d)\.(\d+)/ and $1 >= 6 and $2 >= 6); 
    234235 
    235236    if ($ghc_lt_640 or ($ghc_version =~ /^6.4(?:.0)?$/)) { 
     
    237238*** Cannot find GHC 6.4.1 or above from path (we have $ghc_version). 
    238239*** Please install a newer version from http://haskell.org/ghc/. 
     240. 
     241    } 
     242 
     243    if ($ghc_lt_660) { 
     244        warn << "."; 
     245*** Cannot find GHC 6.6 or above from path (we have $ghc_version). 
     246*** Please note that while Pugs will still compile and work, its 
     247    performance will be much slower than normal.  The next Pugs 
     248    release will discontinue support for GHC 6.4.x, so please upgrade 
     249    to GHC 6.6 at your convenience. 
    239250. 
    240251    }