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

Re: [PATCH] Can't test JavaHL bindings before installation (Issue #2040)

From: Holger Thon <ht_gentoo04_at_arcor.de>
Date: 2004-09-12 23:32:07 CEST

Hi,

On Sun, Sep 12, 2004 at 04:09:19PM -0400, Greg Hudson wrote:
> >From conversations I've had on IRC (about the same problem as it applies
> to the swig bindings), I don't think this approach will work on all
> platforms and/or with all versions of libtool. One is not really
> supposed to know about libtool's .libs subdir, and attempting to link
> against libraries located there without going through libtool is not
> guaranteed to work.

I suppose platform independent is rather tricky here, because you'd need
the Makefile.am, use platform dependent rules within automake conditionals
and set an AM_CONDITIONAL for each platform depending on the $host variable
in configure.in.

The lines for the *nix conditional would read like in the patch below,
and should work independently of Unix OS/libtool version, but on windows
or mac os i don't know.
Trickiest is to make the shell evaluate the library path set by libtool.

If you can specify the name of the libtool javahl.la library in Makefile.am,
set SVN_JAVAHL_LTLIB to the same.

HTH,
Holger

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun Sep 12 23:32:14 2004

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.