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

Best way to get "objdir" variable from libtool?

From: David James <james82_at_gmail.com>
Date: 2004-11-25 06:44:11 CET

According to the LIBTOOL documentation, objdir is "The name of the
directory that contains temporary libtool files". What do you think is
the best way to get the value of the "objdir" configuration variable
from libtool inside configure.in?

Currently, Subversion includes the libtool macros directly inside
configure.in using sinclude(ac-helpers/libtool.m4)

The libtool.m4 script sets the $objdir variable. It appears from my
reading of the LIBTOOL documentation that "objdir" is a documented
output of this libtool.m4 script and it is therefore safe for us to
directly use the $objdir variable that is set by libtool.m4. Am I
correct?

See the relevant section of the LIBTOOL documentation at:
  http://www.delorie.com/gnu/docs/libtool/libtool_71.html

Here's an example snippet of code using this variable:
FIX_JAVAHL_LIB="ln -sf libsvnjavahl-1.dylib \`dirname
\$(libsvnjavahl_FILENAME)\`/$objdir/libsvnjavahl-1.jnilib"

Cheers,

David

-- 
http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 25 06:45:43 2004

This is an archived mail posted to the Subversion Dev mailing list.