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

configure.in question

From: Ben Collins-Sussman <sussman_at_newton.ch.collab.net>
Date: 2001-03-29 17:17:16 CEST

Can somebody explain this configure.in section to me?

dnl decide whether we want to link against the RA libraries
if test "$enable_shared" = "no"; then
  AC_DEFINE(SVN_LIBSVN_CLIENT_LINKS_RA_DAV, 1,
        [Defined if libsvn_client should link against libsvn_ra_dav])
  LIBSVN_CLIENT_DEPS="$SVN_LIBSVN_RA_DAV_LIBS $SVN_NEON_LIBS"

  if test "$svn_lib_berkeley_db" = "yes"; then
    AC_DEFINE(SVN_LIBSVN_CLIENT_LINKS_RA_LOCAL, 1,
        [Defined if libsvn_client should link against
    libsvn_ra_local])
    LIBSVN_CLIENT_DEPS="$LIBSVN_CLIENT_DEPS $SVN_LIBSVN_RA_LOCAL_LIBS
    $SVN_LIBSVN_FS_LIBS"
  fi
fi

I don't get it. Don't we want to link ra_dav if $enable_shared is
YES?

I've built and installed the shared-lib 'dav-aware' svn binary on
two different systems now, and both times I had to (locally) change
this test to "yes". Otherwise, the binary doesn't recognize the http:
schema, because SVN_LIBSVN_CLIENT_LINKS_RA_DAV never gets defined in
ra_loader.c. (Greg?)
Received on Sat Oct 21 14:36:26 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.