autoconf
[Top][All Lists]
Advanced

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

RE: Why is srcdir passed as .


From: Bernard Dautrevaux
Subject: RE: Why is srcdir passed as .
Date: Thu, 26 Oct 2000 14:44:00 +0200

> -----Original Message-----
> From: Thomas E. Dickey [mailto:address@hidden
> Sent: Thursday, October 26, 2000 2:36 PM
> To: Lars J. Aas
> Cc: Bernard Dautrevaux; 'Mo DeJong'; address@hidden
> Subject: Re: Why is srcdir passed as .
> 
> 
> 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).

It is *not*... but it is each time the script was refered to by an absolute
path name, so Lars recipe will work fine :-)

Regards,

        Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:    +33 (0) 1 47 68 80 80
Fax:    +33 (0) 1 47 88 97 85
e-mail: address@hidden
                address@hidden
-------------------------------------------- 



reply via email to

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