bug#7833: automake uses two different values for DejaGNU srcdir

2011-01-13 Thread Ian Lance Taylor
Stefano Lattarini writes: > On Thursday 13 January 2011, Ian Lance wrote: >> Stefano Lattarini writes: >> >> > Are you sure about this? Why then is the attached testcase working >> > (for me at least)? >> >> I guess I'm not sure what point you are trying to make with your >> example. A relat

bug#7833: automake uses two different values for DejaGNU srcdir

2011-01-13 Thread Stefano Lattarini
On Thursday 13 January 2011, Ian Lance wrote: > Stefano Lattarini writes: > > > On Thursday 13 January 2011, Ian Lance wrote: > >> Stefano Lattarini writes: > >> > >> > Are you sure about this? Why then is the attached testcase working > >> > (for me at least)? > >> > >> I guess I'm not sure

bug#7833: automake uses two different values for DejaGNU srcdir

2011-01-13 Thread Stefano Lattarini
On Thursday 13 January 2011, Ian Lance wrote: > Stefano Lattarini writes: > > > Are you sure about this? Why then is the attached testcase working > > (for me at least)? > > I guess I'm not sure what point you are trying to make with your > example. A relative srcdir will sometimes work and so

bug#7833: automake uses two different values for DejaGNU srcdir

2011-01-13 Thread Ian Lance Taylor
Stefano Lattarini writes: > Are you sure about this? Why then is the attached testcase working > (for me at least)? I guess I'm not sure what point you are trying to make with your example. A relative srcdir will sometimes work and sometimes fail. It seemed to me an absolute srcdir should alw

bug#7833: automake uses two different values for DejaGNU srcdir

2011-01-12 Thread Ian Lance Taylor
When automake is configured to use DejaGNU, it uses two different values for srcdir. There are two different cases in lib/am/dejagnu.am: The first is in check-DEJAGNU: check-DEJAGNU: site.exp ## Life is easiest with an absolute srcdir, so do that. srcdir=`$(am__cd) $(srcdir) && pwd`; exp