Oden Eriksson <oden.eriksson@kvikkjokk.net> writes:
> > > > > I expect this is because subversion is configured with
> > > > > --enable-maintainer-mode and apache2 isn't.
> > > >
> > > > Should we add this to the FAQ?  I know it's in the INSTALL file, but
> > > > it comes up on the list repeatedly, which does make it a FAQ :)
> > >
> > > Or you could have the obscure configure logic check if it's possible to
> > > use it.
> >
> > Does apxs tell us?  Do we just need to check "$APXS -q CFLAGS" for
> > AP_DEBUG?  I don't have a --enable-maintainer-mode Apache installation
> > to test at the moment.
> 
> Hmm..., neither do I. But hey, I just compiled my apache2 with 
> "--enable-maintainer-mode", and here's what you could do:
> 
> ./apxs -q EXTRA_CPPFLAGS
> -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE 
> -D_GNU_SOURCE -DAP_DEBUG
So what we really should do is modify change Subversion's
--enable-maintainer-mode handling to stop it adding -DAP_DEBUG and
instead add the APXS EXTRA_CPPFLAGS if a working APXS is detected.
This would mean that it would not matter whether Apache or Subversion
used --enable-maintainer-mode the mod_dav_svn module would always
match httpd.
-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov  3 23:37:48 2002