This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: setting additional libtool runtime variables


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.

HTH,
	Gary.
-- 
  ())_. Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/  Research Scientist  http://www.oranda.demon.co.uk       ,_())____
  / )=  GNU Hacker          http://www.gnu.org/software/libtool  \'      `&
`(_~)_  Tech' Author        http://sources.redhat.com/autobook   =`---d__/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]