This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: setting additional libtool runtime variables
- Subject: Re: setting additional libtool runtime variables
- From: mcmahill at mtl dot mit dot edu
- Date: Mon, 15 Oct 2001 21:53:36 -0400 (EDT)
- cc: automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- Reply-To: mcmahill at mtl dot mit dot edu
On Mon, 15 Oct 2001, Gary V. Vaughan wrote:
> On Sun, Oct 14, 2001 at 10:03:38PM -0400, mcmahill@mtl.mit.edu wrote:
> >
> > Is there a way to tell libtool that it needs to set some additional
> > runtime variables in addition to LD_LIBRARY_PATH when trying to test run
> > an executible before its installed? I have some data files and the path
> > gets built into the binary, but can be overridden with an environment
> > variable.
>
> You could use a wrapper script that sets the environment up and then execs the
> real binary... CVS autoconf does this in the tests dir.
>
> Or you could set Automake's TESTS_ENVIRONMENT (sp?) variable in your
> Makefile.am.
This isn't part of the tests target, its more of a `let the user try it
before they install it'. Basically, I want the wrapper script setup by
libtool to contain an additional variable. It seems likes
TESTS_ENVIRONMENT is more for the make check target.
-Dan