You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Marcus Comstedt <ma...@mc.pp.se> on 2003/03/01 18:23:34 UTC

[PATCH] propagate OpenSSL include flags

Oh well, patchy time again...  :-)

The move of neon.m4 from ac-helpers to build/ac-macros reminded me
that I still had an uncommitted patch in this file.

The problem fixed is that the proper -I flags needed for the OpenSSL
includes don't get propagated from neon to svn when neon is build
inside the tree, which means that libsvn_ra_dav doesn't compile (since
it includes neon includes, which in turn includes OpenSSL stuff) if
OpenSSL is installed with its own prefix and you want to use it for
DAV-over-HTTPS.

The fix simply adds these flags to SVN_NEON_INCLUDES, just like it's
already done in SVN_NEON_CONFIG for the case where you're using an
installed neon.


  // Marcus


Index: build/ac-macros/neon.m4
===================================================================
--- build/ac-macros/neon.m4	(revision 5162)
+++ build/ac-macros/neon.m4	(working copy)
@@ -81,6 +81,7 @@
             # this will include -DNEON_SSL if neon was built with SSL support
             changequote(<<, >>)dnl
             CFLAGS="$CFLAGS `$SHELL $abs_builddir/neon/neon-config --cflags | sed -e 's/-I[^ ]*//g'`"
+            SVN_NEON_INCLUDES="$SVN_NEON_INCLUDES `$SHELL $abs_builddir/neon/neon-config --cflags | sed -e 's/-D[^ ]*//g'`"
             changequote([, ])dnl
           fi
 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] propagate OpenSSL include flags

Posted by Greg Stein <gs...@lyra.org>.
On Sat, Mar 01, 2003 at 01:59:39PM -0800, Greg Stein wrote:
> On Sat, Mar 01, 2003 at 07:23:34PM +0100, Marcus Comstedt wrote:
> > 
> > Oh well, patchy time again...  :-)
> > 
> > The move of neon.m4 from ac-helpers to build/ac-macros reminded me
> > that I still had an uncommitted patch in this file.
> 
> Applies, untested, but it looks good.

Urm. That should have read "Applied [in rev 5167]."

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] propagate OpenSSL include flags

Posted by Greg Stein <gs...@lyra.org>.
On Sat, Mar 01, 2003 at 07:23:34PM +0100, Marcus Comstedt wrote:
> 
> Oh well, patchy time again...  :-)
> 
> The move of neon.m4 from ac-helpers to build/ac-macros reminded me
> that I still had an uncommitted patch in this file.

Applies, untested, but it looks good.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org