cvsuser     03/06/11 13:26:47

  Modified:    config/auto memalign.pl
  Log:
  Fixed "Use of uninitialized value in string eq" warning
  on systems without memalign.
  
  Revision  Changes    Path
  1.3       +3 -6      parrot/config/auto/memalign.pl
  
  Index: memalign.pl
  ===================================================================
  RCS file: /cvs/public/parrot/config/auto/memalign.pl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -w -r1.2 -r1.3
  --- memalign.pl       6 Jun 2003 08:29:24 -0000       1.2
  +++ memalign.pl       11 Jun 2003 20:26:47 -0000      1.3
  @@ -25,12 +25,9 @@
       }
       cc_clean();
   
  -    my $f;
  -    Configure::Data->set(
  -     memalign          => ($f = $test2 ? 'posix_memalign' :
  -                          $test ?  'memalign' :
  -                          undef)
  -    );
  +    my $f = $test2 ? 'posix_memalign' :
  +            $test  ? 'memalign'       : '';
  +    Configure::Data->set( memalign => $f );
       print $test ? " (Yep:$f) " : " (no) "
   }
   
  
  
  

Reply via email to