Martin Raspe <[EMAIL PROTECTED]> writes:

> No, on the contrary. When I put the following condition into the hints
> file "MsWin32.pl"
> 
> 
> if ($^O eq 'MSWin32') {
>    $CFLAGS .= " $Config::Config{cppflags} -DHAS_BOOL -TP -GX";
> }

Whoops! Sorry I didn't realize that's what you were doing. Here's some
help. First, the $^O test is redundant because MsWin32.pl will only
get called for win32 in the first place. Also, instead of setting
$CFLAGS, it should set $self->{CCFLAGS}, like this:

  $self->{CCFLAGS} .= " $Config::Config{cppflags} -DHAS_BOOL -TP -GX";

$self is the MakeMaker object hash that stores all the values from the
call to WriteMakefile, by setting the object directly, it should be
passed to all other Makefile.PL's (in this case, only
Handler/Makefile.PL).

Please try this change.

Thanks again Martin,
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to