develooper Front page | perl.perl5.porters | Postings from July 2001

MakeMaker should pass through DEFINE and INC to subdirs

Thread Next
From:
Alan Burlison
Date:
July 3, 2001 07:20
Subject:
MakeMaker should pass through DEFINE and INC to subdirs
Message ID:
3B41D49D.A923D4F9@sun.com
At the moment MakeMaker only passes LIB, LIBPERL_A, LINKTYPE, PREFIX and
OPTIMIZE to subdirectories.  This should be extended to include DEFINE and
INC - if it is necessary to specify either additional #defines or include
directories on the command-line, the default should be to pass them to all
subdirectories so that the entire module tree is built with a consistent
set.  Suggested patch below.

------- MM_Unix.pm -------
*** /tmp/sccs.5vGHPj    Tue Jul  3 15:08:36 2001
--- MM_Unix.pm  Tue Jul  3 15:08:13 2001
***************
*** 2825,2831 ****
      my($sep) = $Is_VMS ? ',' : '';
      $sep .= "\\\n\t";
  
!     foreach $key (qw(LIB LIBPERL_A LINKTYPE PREFIX OPTIMIZE)){
        push @pasthru, "$key=\"\$($key)\"";
      }
  
--- 2825,2831 ----
      my($sep) = $Is_VMS ? ',' : '';
      $sep .= "\\\n\t";
  
!     foreach $key (qw(LIB LIBPERL_A LINKTYPE PREFIX OPTIMIZE INC DEFINE)){
        push @pasthru, "$key=\"\$($key)\"";
      }

-- 
Alan Burlison
--
$ head -1 /dev/bollocks
resonate next-generation service providers, going forwards

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About