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

[PATCH] Allow users to test JavaHL bindings before installation

From: David James <staple_at_gmail.com>
Date: 2004-09-19 10:17:28 CEST

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.

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

Received on Sun Sep 19 10:17:44 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.