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 forwardsThread Next