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

[PATCH] pass --with-ssl to co-packaged neon

From: Jay McCarthy <jay_at_kenyamountain.com>
Date: 2002-02-13 02:26:59 CET

Hi,

Is the format of this message correct?

Description:

When you configure subversion it doesnt give you a way to tell the neon
that it includes with it to build with ssl support. ssl is one of the
things that I think is very convient about subversion and i think it's
great it can get it "for free".

Example:

% ./configure --with-ssl=/usr

Patch:

* /ac-helpers/neon.m4 (SVN_LIB_NEON): Include
--{with,without}-ssl=PREFIX in args variable, that is passed to neon
configure
* /configure.in (main): Allow user to specify that
--{with,without}-ssl=PREFIX be passed down to the packaged neon

Index: ./ac-helpers/neon.m4
===================================================================
--- ./ac-helpers/neon.m4
+++ ./ac-helpers/neon.m4 Tue Feb 12 20:14:39 2002
@@ -64,6 +64,14 @@
         else
           args="--disable-shared"
         fi
+ # similarily, neon does not build ssl support in by default, we
have
+ # to explicitly pass down --{with,without}-ssl argument, to
make sure
+ # neon does the same as we can do
+ if test "$include_ssl" != ""; then
+ args="$args --with-ssl=$include_ssl"
+ else
+ args="$args --without-ssl"
+ fi
   
         SVN_SUBDIR_CONFIG(neon, $args
--with-expat="$abs_srcdir/expat-lite/libexpat.la")
 
Index: ./configure.in
===================================================================
--- ./configure.in
+++ ./configure.in Tue Feb 12 20:14:37 2002
@@ -106,6 +106,22 @@
 echo "configuring libtool now"
 AC_PROG_LIBTOOL
 
+dnl Allow user to specify that --{with,without}-ssl=PREFIX be passed to
neon
+AC_ARG_WITH(ssl,
+ [AC_HELP_STRING([--with-ssl=PREFIX],
+ [Pass PREFIX to neon as the location of your
+ ssl install prefix])],
+ [
+ if test "$withval" != "" ; then
+ include_ssl=$withval
+ else
+ include_ssl=
+ fi
+ ],
+ [
+ include_ssl=
+ ])
+
 NEON_WANTED="`sed -n '/NEON_WANTED=/s/.*=//p'
$srcdir/build/buildcheck.sh`"
 SVN_LIB_NEON($NEON_WANTED)
 

-- 
Jay McCarthy <jay@kenyamountain.com>
aim: rasarasda / irc: feelicks
http://www.brunswickrecords.org/~jay/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:07 2006

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.