automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting additional libtool runtime variables


From: Raja R Harinath
Subject: Re: setting additional libtool runtime variables
Date: Tue, 16 Oct 2001 00:45:41 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106

address@hidden writes:
> On Mon, 15 Oct 2001, Gary V. Vaughan wrote:
>> On Sun, Oct 14, 2001 at 10:03:38PM -0400, address@hidden 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 just happens that the 'autoconf' wrapper scripts are in the 'tests'
directory.  You can use that approach in other places too.

- Hari
-- 
Raja R Harinath ------------------------------ address@hidden
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]