RE: Why is srcdir passed as .

2000-10-27 Thread Bernard Dautrevaux
> -Original Message- > From: Ben Woodard [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 26, 2000 11:46 PM > To: Bernard Dautrevaux > Cc: [EMAIL PROTECTED] > Subject: Re: Why is srcdir passed as . > > > > I think there is two problems here: > >

RE: Why is srcdir passed as .

2000-10-27 Thread Bernard Dautrevaux
> -Original Message- > From: Akim Demaille [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 26, 2000 6:27 PM > To: [EMAIL PROTECTED] > Cc: Lars J. Aas; Bernard Dautrevaux; 'Mo DeJong'; [EMAIL PROTECTED] > Subject: Re: Why is srcdir passed as . > >

RE: Why is srcdir passed as .

2000-10-27 Thread Bernard Dautrevaux
> -Original Message- > From: Akim Demaille [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 26, 2000 5:14 PM > To: [EMAIL PROTECTED] > Cc: Lars J. Aas; Bernard Dautrevaux; 'Mo DeJong'; [EMAIL PROTECTED] > Subject: Re: Why is srcdir passed as . > > &

Re: Why is srcdir passed as .

2000-10-26 Thread Alexandre Oliva
On Oct 26, 2000, Ben Woodard <[EMAIL PROTECTED]> wrote: > ac_configure_args="${ac_configure_args} --enable-local-tdb=${srcdir}/tdb" This is just plain wrong in case srcdir is a relative pathname. The problem isn't the `.' special-case, the problem is that this assumes ${srcdir} is absolute.

Re: Why is srcdir passed as .

2000-10-26 Thread Alexandre Oliva
On Oct 26, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: > They will want to run: > ./configure ; make install > and expect it to work, and why shouldn't they? Works for me. When doesn't it work for you? Did you read my other message in this thread? -- Alexandre Oliva Enjoy Guarana', see ht

Re: Why is srcdir passed as .

2000-10-26 Thread Ben Woodard
> On Oct 25, 2000, Ben Woodard <[EMAIL PROTECTED]> wrote: > > > I am having a problem with my configure script where when configure is > > called for the subprojects a parameter --srcdir=. is passed into them > > when I just do configure. > > srcdir is supposed to be the top-level directory of t

Re: Why is srcdir passed as .

2000-10-26 Thread Mo DeJong
On Thu, 26 Oct 2000, Ben Woodard wrote: > > I think there is two problems here: > > > > Ben seems to use $srcdir where it meant $top_srcdir :-) (If we build > > in-place, then $srcdir == $builddir in all the tree). > > > > Mo on the contrary is bothered by the fact that $srcdir is relative; jus

Re: Why is srcdir passed as .

2000-10-26 Thread Ben Woodard
> I think there is two problems here: > > Ben seems to use $srcdir where it meant $top_srcdir :-) (If we build > in-place, then $srcdir == $builddir in all the tree). > > Mo on the contrary is bothered by the fact that $srcdir is relative; just > calling "./configure -srcdir=/absolute/path/to/sr

Re: Why is srcdir passed as .

2000-10-26 Thread Akim Demaille
You're right. I'm actually referring to a PATH resolution. ~ % PATH=/tmp:$PATH thomas.shnostromo 18:25 /tmp/thomas.sh /tmp/thomas.sh param ...done

Re: Why is srcdir passed as .

2000-10-26 Thread Thomas E. Dickey
On 26 Oct 2000, Akim Demaille wrote: > > "Thomas" == Thomas E Dickey <[EMAIL PROTECTED]> writes: > > Thomas> $0 is a full pathname if that's the way the script was invoked > Thomas> (I assume that's what you are saying - if it was not invoked > Thomas> with a full pathname, it really depends

Re: Why is srcdir passed as .

2000-10-26 Thread Akim Demaille
> "Thomas" == Thomas E Dickey <[EMAIL PROTECTED]> writes: Thomas> $0 is a full pathname if that's the way the script was invoked Thomas> (I assume that's what you are saying - if it was not invoked Thomas> with a full pathname, it really depends on the shell that was Thomas> used to look up t

Re: Why is srcdir passed as .

2000-10-26 Thread Thomas E. Dickey
On 26 Oct 2000, Akim Demaille wrote: > > "Thomas" == Thomas E Dickey <[EMAIL PROTECTED]> writes: > > Thomas> Is it true (for a shell) that $0 is always a full pathname? > Thomas> (it could be a relative one, which complicates things a > Thomas> little). > > I've never met any counterexample

Re: Why is srcdir passed as .

2000-10-26 Thread Akim Demaille
> "Thomas" == Thomas E Dickey <[EMAIL PROTECTED]> writes: Thomas> Is it true (for a shell) that $0 is always a full pathname? Thomas> (it could be a relative one, which complicates things a Thomas> little). I've never met any counterexample. A brand lot scripts out there use it.

RE: Why is srcdir passed as .

2000-10-26 Thread Bernard Dautrevaux
> -Original Message- > From: Thomas E. Dickey [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 26, 2000 2:36 PM > To: Lars J. Aas > Cc: Bernard Dautrevaux; 'Mo DeJong'; [EMAIL PROTECTED] > Subject: Re: Why is srcdir passed as . > > > On Thu, 26 O

Re: Why is srcdir passed as .

2000-10-26 Thread Thomas E. Dickey
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 $srcdi

Re: Why is srcdir passed as .

2000-10-26 Thread Lars J. Aas
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

Re: Why is srcdir passed as .

2000-10-26 Thread Alexandre Oliva
On Oct 25, 2000, Ben Woodard <[EMAIL PROTECTED]> wrote: > I am having a problem with my configure script where when configure is > called for the subprojects a parameter --srcdir=. is passed into them > when I just do configure. srcdir is supposed to be the top-level directory of the project (or

RE: Why is srcdir passed as .

2000-10-26 Thread Bernard Dautrevaux
> -Original Message- > From: Mo DeJong [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 26, 2000 12:41 AM > To: [EMAIL PROTECTED] > Subject: Re: Why is srcdir passed as . > > > On Wed, 25 Oct 2000, Ben Woodard wrote: > > > I am having a problem wi

Re: Why is srcdir passed as .

2000-10-25 Thread Mo DeJong
On Wed, 25 Oct 2000, Ben Woodard wrote: > I am having a problem with my configure script where when configure is > called for the subprojects a parameter --srcdir=. is passed into them > when I just do configure. I expected that the srcdir would be ".." I > dug around in aceneral.m4 and found tha

Why is srcdir passed as .

2000-10-25 Thread Ben Woodard
I am having a problem with my configure script where when configure is called for the subprojects a parameter --srcdir=. is passed into them when I just do configure. I expected that the srcdir would be ".." I dug around in aceneral.m4 and found that it is quite deliberate. Why is it done like thi