On Mon, Jul 29, 2002 at 11:08:54AM -0500, Scott Lamb wrote:
> Fix svn-config to generate library options for external apr, aprutil, and
> neon. Still doesn't link against Subversion itself.
>
> * ac-helpers/aprutil.m4, ac-helpers/apr.m4:
> Renamed SVN_APRUTIL_EXPORT_LIBS to SVN_APRUTIL_LD_LIBS.
> (SVN_APRUTIL_LIBS is also used for export with "svn-config --link-libtool")
There's no need to change the variable name here.
> * ac-helpers/neon.m4:
> Substitute $abs_(src|build)dir in configure, as Makefile and svn-config have
> different variable expansion rules.
Ditto. The issue is to have the abs_srcdir/abs_builddir variables
available in svn-config itself.
> * svn-config.in:
> Understand "--link-libtool" and "--link-ld".
The trick with --link-libtool is that you can specify just the
SVN libraries and all of the other libraries are dragged in. (i.e.
you don't need to add the dependencies yourself). So, I think it
would be easier to get the --link-libtool option working than the
--link-ld option. --link-libtool should just print out:
/path/svn/lib/libsvn_client-1.la /path/svn/lib/libsvn_wc-1.la ...
When svn-config isn't installed, it can print:
$(abs_builddir)/subversion/libsvn_client/libsvn_client-1.la \
$(abs_builddir)/subversion/libsvn_wc/libsvn_wc-1.la ...
Hope that makes more sense. With --link-libtool, we can sidestep
the location of the dependencies. With --link-ld, we have to manage
them ourselves and because they can shift when they are in-tree, it
isn't as easy as it looks at first glance. -- justin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 29 18:31:39 2002