autoconf
[Top][All Lists]
Advanced

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

Re: Why is srcdir passed as .


From: Thomas E. Dickey
Subject: Re: Why is srcdir passed as .
Date: Thu, 26 Oct 2000 08:35:46 -0400 (EDT)

On Thu, 26 Oct 2000, Lars J. Aas wrote:

> On Thu, Oct 26, 2000 at 10:24:05AM +0200, Bernard Dautrevaux wrote:
> : Mo on the contrary is bothered by the fact that $srcdir is relative; just
> : calling "./configure -srcdir=/absolute/path/to/srcdir" shoudl solve the
> : problem.
> 
> I assume $srcdir is found from $0 on configure invocation, so using
> /absolute/path/to/srcdir/configure should probably be just as easy...

Is it true (for a shell) that $0 is always a full pathname?  (it could
be a relative one, which complicates things a little).

-- 
T.E.Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com




reply via email to

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