[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] propagate OpenSSL include flags

From: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2003-03-01 19:23:34 CET

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
Received on Sat Mar 1 19:27:12 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.