On Mon, 26 Apr 2004, Stas Bekman wrote:

>
> >>But isn't apxs.bat is a custom script made by Randy? May
> >>be it doesn't include those flags?
> >
> >
> > That's right - I didn't put anything into EXTRA_CPPFLAGS,
> > so it just comes back as an empty string. Should this be
> > considered (by mod_perl) as an "error"? Or should apxs
> > put something into EXTRA_CPPFLAGS, to handle this context?
>
> It's an error, since apxs tells mod_perl that such flag doesn't exist, which
> indicates that something is wrong. I think apxs.bat should at least support
> those flags, but return an empty string, if you think they have nothing to return.
>
> mod_perl didn't invent those flags, it's the apxs that provides them. I don't
> know how did you port apxs to win32, but I'd think that you need to look at
> apxs to figure out the answer what should be in them. But ideally apxs.bat
> should support all the same flags that apxs supports. Otherwise the code
> relying on apxs can't be portable.

But the port of apxs that I did does have an EXTRA_CPPFLAGS,
it's just that
   apxs -q EXTRA_CPPFLAGS
returns nothing. That's to be compared to, eg,
   apxs -q FOO_BAR
which gives an apxs error.

-- 
best regards,
randy

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

Reply via email to