You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David James <st...@gmail.com> on 2004/09/19 08:17:28 UTC

[PATCH] Allow users to test JavaHL bindings before installation

This patch fixes check-javahl so that users can test JavaHL bindings
before they are installed.

* configure.in
 (LT_SHLIBPATH_VAR): Added test for LT_SHLIBPATH_VAR. Substitute
    LT_SHLIBPATH_VAR=$shlibpath_var in Makefile.in
 (LT_SHLIBPATH_PREFIX): Added test for LT_SHLIBPATH_PREFIX. Substitute
    LT_SHLIBPATH_PREFIX='$$$(LT_SHLIBPATH_VAR):' in Makefile.in
 (FIX_JAVAHL_LIB): On Mac OS X, substitute FIX_JAVAHL_LIB for code to
    link libsvnjavahl-1.jnilib to libsvnjavahl-1.dylib

* Makefile.in
 (LT_SHLIBPATH_VAR): Add LT_SHLIBPATH_VAR into Makefile.in
 (LT_SHLIBPATH_PREFIX): Add LT_SHLIBPATH_PREFIX into Makefile.in
 (FIX_JAVAHL_LIB): Add FIX_JAVAHL_LIB into Makefile.in
 (javahl): On Mac OS X, link libsvnjavahl-1.jnilib to
    libsvnjavahl-1.dylib in the local lib directory so that
    check-javahl can run. To implement this, we use the FIX_JAVAHL_LIB
    variable defined in configure.in.
 (check-javahl): Add javahl as dependency for check-javahl
 (check-javahl): Use libtool and LT_SHLIBPATH_PREFIX to find path to
    uninstalled libraries so that check-javahl can run without the
    libraries being installed. If this does not work, look for the
    libraries in the subversion/bindings/java/javahl/native/.libs 
    subdirectory

Thanks to Holger Thon for writing the original patch to solve this
issue. This patch is based on his work.

Re: [PATCH] Allow users to test JavaHL bindings before installation

Posted by David James <st...@gmail.com>.
On Sun, 19 Sep 2004 04:17:28 -0400, David James <st...@gmail.com> wrote:
> This patch fixes check-javahl so that users can test JavaHL bindings
> before they are installed.
Related threads:
- Issue #2040 (The bug that this patch fixes)
-- http://subversion.tigris.org/issues/show_bug.cgi?id=2040
- C. Michael Pilato requests this feature:
-- <http://www.contactor.se/~dast/svn/archive-2004-09/0093.shtml>

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