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

Re: r442- Unrecognised URL scheme for default!

From: Yoshiki Hayashi <yoshiki_at_xemacs.org>
Date: 2001-11-16 15:30:59 CET

Kevin Pilch-Bisson <kevin@pilch-bisson.net> writes:

> On Thu, Nov 15, 2001 at 04:04:36PM +0100, Bernhard Reiter wrote:
> > INSTALL contains some bits about the shared libraries and the
> > --disable-shared configure option.
> > I am recompling with it now.
> >
> > However: I've thought that libtool and its wrapper would
> > take care of setting the right paths. Maybe a check
> > producing a warning that no RA modules could be loaded
> > would be helpful because svn just starts fine.
> >
> It does for normally linked libraries. The problem is that we dynamically
> load the library at run time, which confuses the libtool wrapper scripts.

I dig up my old patch to enable shared link of RA libraries.
When I submitted this patch, you couldn't run make check
because of the deficiencies of libtool 1.3. Now you can run
make check with shared library build without first
installing libraries.

* configure.in: Add new option --enable-dso. Default is
  --disable-dso. When enabled, libsvn_client tries to load
  RA libraries at run time. Otherwise, RA libraries are
  dynamically linked.

Index: ./configure.in
--- ./.svn/text-base/configure.in.svn-base Fri Nov 16 20:45:57 2001
+++ ./configure.in Fri Nov 16 20:54:46 2001
@@ -273,7 +273,18 @@
 dnl decide whether we want to link against the RA libraries
-if test "$enable_shared" = "no"; then
+[ --enable-dso Turn on DSO loading of RA libralies],
+ if test "$enableval" = "yes"; then
+ enable_dso=yes
+ if test "$enable_shared" = "no"; then
+ AC_MSG_ERROR([--enable-dso conflicts with --disable-shared])
+ fi
+ fi
+if test "$enable_shared" = "no" -o "$enable_dso" != "yes"; then
         [Defined if libsvn_client should link against libsvn_ra_dav])

Yoshiki Hayashi
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:36:48 2006

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