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: problem with VPATH


On May 20, 1999, Ionutz Borcoman <borco@borco-ei.eng.hokudai.ac.jp> wrote:

> But the problem is that VPATH is empty, if I run the "make check", and
> of the form /dir1/dir2/.../dirN, if I run "make distcheck". 

> What is the right way to get the path to your config files so they work
> in all the cases ?

Pass srcdir=$(srcdir) in TESTS_ENVIRONMENT, and getenv("srcdir") in
your test program.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists


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