cvsuser     04/10/08 15:01:06

  Modified:    config/auto headers.pl
  Log:
  fix: *BSD fails with the @extra_headers that are necessary for MinGW
  
  Revision  Changes    Path
  1.18      +6 -2      parrot/config/auto/headers.pl
  
  Index: headers.pl
  ===================================================================
  RCS file: /cvs/public/parrot/config/auto/headers.pl,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -w -r1.17 -r1.18
  --- headers.pl        7 Oct 2004 15:40:32 -0000       1.17
  +++ headers.pl        8 Oct 2004 22:01:06 -0000       1.18
  @@ -1,6 +1,6 @@
   #! perl -w
   # Copyright: 2001-2003 The Perl Foundation.  All Rights Reserved.
  -# $Id: headers.pl,v 1.17 2004/10/07 15:40:32 jrieks Exp $
  +# $Id: headers.pl,v 1.18 2004/10/08 22:01:06 jrieks Exp $
   
   =head1 NAME
   
  @@ -54,8 +54,12 @@
       # the header.
       my @extra_headers = qw(malloc.h fcntl.h setjmp.h pthread.h signal.h
                           sys/types.h sys/socket.h netinet/in.h arpa/inet.h
  -                        sys/stat.h sysexit.h sysmman.h netdb.h);
  +                        sys/stat.h sysexit.h);
   
  +    # more extra_headers needed on mingw/msys; *BSD fails if they are present
  +    if ($^O eq "msys") {
  +     push @extra_headers, qw(sysmman.h netdb.h);
  +    }
       my @found_headers;
       foreach my $header (@extra_headers) {
        my $pass = 0;
  
  
  

Reply via email to